Simon Sprott created XERCESJ-1612:
-------------------------------------
Summary: unhandled null pointer exception parsing XSD 1.1
Key: XERCESJ-1612
URL: https://issues.apache.org/jira/browse/XERCESJ-1612
Project: Xerces2-J
Issue Type: Bug
Components: XML Schema 1.1 Structures
Affects Versions: 2.11.0
Environment: schema 1.1 beta - running it cross compiled for .net (but
pretty sure the bugs the same in a java only enviroment).
Reporter: Simon Sprott
load the sample file
http://www.xfront.com/xml-schema-1-1/xml-schema-1-1.zip?v=15
xml-schema-1-1\examples\error\BookStore.xsd
using the 1.1 validating parser
XMLSchema11Factory factory = new XMLSchema11Factory();
factory.setErrorHandler(errorHandler);
factory.setResourceResolver(xercesResolver);
Schema schema = factory.newSchema(new Source[] { new
StreamSource(new InputStreamAdapter(stream), uri.AbsoluteUri) });
javax.xml.validation.Validator validator =
schema.newValidator();
The codes not complete, but I suspect if you load this file into your xsd 1.1
test harness it will break the same way.
The issue is in
org.apache.xerces.impl.xs.traversers.override.DOMOverrideImpl.cloneOverridenSchema()
The issue is also apparent when loading
xml-schema-1-1\examples\override\meeting\conference-calendar.xsd
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]