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

Small typo in SAXParseException

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0
    • Fix Version/s: deferred
    • Component/s: clean ups, Diagnostics
    • Labels:
      None

      Description

      I ran a test and noticed a small typo in a SAXParseException.

      [error] Schema Definition Error: Error loading schema due to org.xml.sax.SAXParseException; systemId: file:/home/efinnegan/Projects/daffodil/daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section06/namespaces/edu/illinois/ncsa/daffodil/section06/namespaces/multi_C_05_nons.dfdl.xsd; lineNumber: 63; columnNumber: 47; sch-props-correct.2: A schema cannot contain two global components with the same name; this schema contains two occurrences of ',vagueElem'.
      Schema context: SchemaSet. Location in file:/home/efinnegan/Projects/daffodil/daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section06/namespaces/multi_base_05_nons.dfdl.xsd.

      The element name is "vagueElem" but the error has a comma in there - ",vagueElem".

      This can be seen by running the following CLI test:
      echo "123,222,321,123|222,111,243" | daffodil_cli parse -s daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section06/namespaces/multi_base_05_nons.dfdl.xsd --root baseSeq

      Note: the DAFFODIL_CLASSPATH environment variable must contain the path to the daffodil-test resources directory. See test case ngf-dfdl-1281:CLI_Parsing_MultifileSchema_methodCombo02 for more details.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              efinnegan Elizabeth Finnegan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Tasks