Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1842

Property scoping bug - spurious SDE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: deferred
    • Component/s: Front End
    • Labels:
      None

      Description

      Element references and the elements they reference cannot have the same properties expressed directly on them.

      However, they should be able to override the properties that are inherited from the default properties surrounding the global element decl.

      But this error message, from the overlap check, is clearly saying it is looking at a SchemaDocument:format annotation, and complaining about overlap with it.

      This is not correct. The overlap check should not be considering the default format of any schema when determining the overlap.

      TODO: create a public test case that reproduces this error. Right now it came up in an FOUO schema that is not publicly available.

      edu.illinois.ncsa.daffodil.tdml.TDMLException: Schema Definition Error: Overlapping properties: lengthUnits overlaps between element reference link16:Link16 and {color:#d04437}_+SchemaDocument::format.+_{color} Overlap is not allowed.
      Schema context: ms:Link16 Location line 70 column 5 in file:/home/mbeckerle/FOUO/fouo-schemas/nato-stanag-5516/bin/scala-2.11/test-classes/nato/xsd/link16ed6-daffodil-compliant.xsd
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mbeckerle.dfdl Mike Beckerle
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Tasks