[
https://issues.apache.org/jira/browse/XERCESC-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Scott Cantor closed XERCESC-2129.
---------------------------------
> Wrong error message on invalid schema
> -------------------------------------
>
> Key: XERCESC-2129
> URL: https://issues.apache.org/jira/browse/XERCESC-2129
> Project: Xerces-C++
> Issue Type: Bug
> Components: SAX/SAX2, Validating Parser (XML Schema)
> Affects Versions: 3.2.0
> Reporter: Michael Behrisch
> Priority: Major
>
> In our project we are using SAX2 parsing. We recently upgraded to Xerces-C
> 3.2.0 and now we get misleading error messages when the schema is unknown. A
> file with the following content
> <routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/blub_file.xsd"/>
> used to generate the message
> Error: unable to open file 'http://sumo.dlr.de/xsd/blub_file.xsd'
> In file 'input_routes.rou.xml'
> At line/column 1/0.
> Now it says:
> Error: whitespace expected
> In file 'input_routes.rou.xml'
> At line/column 2/50.
> The strange thing is that it fails only on Linux (ubuntu 16.04) and it used
> to work with version 3.1.3
> I did the build for Xerces-C 3.2.0 manually using the standard configure,
> make, sudo make install process
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]