[
https://issues.apache.org/jira/browse/DAFFODIL-1234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Beckerle updated DAFFODIL-1234:
---------------------------------------
Labels: beginner easyfix (was: )
> Small typo in SAXParseException
> -------------------------------
>
> Key: DAFFODIL-1234
> URL: https://issues.apache.org/jira/browse/DAFFODIL-1234
> Project: Daffodil
> Issue Type: Improvement
> Components: Clean Ups, Diagnostics
> Affects Versions: 1.0.0
> Reporter: Elizabeth Fahl
> Priority: Minor
> Labels: beginner, easyfix
>
> I ran a test and noticed a small typo in a SAXParseException.
> {quote}
> [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 {color:red}',vagueElem'.{color}
> 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.
> {quote}
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)