You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Michael Behrisch (JIRA)" <xe...@xml.apache.org> on 2018/01/11 13:05:00 UTC
[jira] [Created] (XERCESC-2129) Wrong error message on invalid
schema
Michael Behrisch created XERCESC-2129:
-----------------------------------------
Summary: 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
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
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org