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

Unexpected separatorSuppressionPolicy error when one schema includes another

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • s12
    • None
    • Front End
    • None
    • Win 7, 0.9

      One schema (MessageHeaders) imports another (B); both import DefaultProperties. On parsing, a separatorSuppressionPolicy error is thrown.

      The CLI says:
      2013-04-30 14:50:03:639 edu.illinois.ncsa.daffodil.compiler.ProcessorFactory Error [Schema Definition Error: separatorSuppressionPolicy='never' not a
      llowed in combination with occursCountKind='Parsed'.() Schema context: element.MessageHeadersArray. Location in file:/C:/Users/jgarriss/Documents/DFDL
      _Schemas_Email/02_Message_Headers/MessageHeaders.xsd.]

      The JAPI says:
      2013-04-30 14:54:46:875 edu.illinois.ncsa.daffodil.compiler.Compiler Error [Schema Definition Error: Error loading schema(org.xml.sax.SAXParseException; lineNumber: 40; columnNumber: 6; cvc-complex-type.3.2.2: Attribute 'separatorSuppressionPolicy' is not allowed to appear in element 'dfdl:format'.) Schema context: file:/C:/Users/jgarriss/Documents/DFDL_Schemas_Email/02_Message_Headers/DefaultProperties.xsd. Location in file:/C:/Users/jgarriss/Documents/DFDL_Schemas_Email/02_Message_Headers/MessageHeaders.xsd]

      This is error is unexpected b/c none of the files use the separatorSuppressionPolicy property. I can't tell what the real is or how to fix it.

              slawrence Steve Lawrence
              james.garriss James Garriss
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: