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 "Scott Cantor (Jira)" <xe...@xml.apache.org> on 2019/12/30 16:22:00 UTC
[jira] [Resolved] (XERCESC-2129) Wrong error message on invalid
schema
[ https://issues.apache.org/jira/browse/XERCESC-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Cantor resolved XERCESC-2129.
-----------------------------------
Resolution: Cannot Reproduce
I ran a test on Linux with 3.2.2 and the error message was as expected.
> 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org