[
https://issues.apache.org/jira/browse/XERCESJ-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13643931#comment-13643931
]
Mukul Gandhi commented on XERCESJ-1612:
---------------------------------------
I don't get error as you've reported on our latest SVN branch, and things
appear fine. That is, in a pure Java environment there's no issue with the
examples you've cited.
You've written, that your environment is "cross compiled for .net". Perhaps
that is the issue at your end. But I imagine, a .net client should be able to
call our implementation.
It seems this report might not be accepted as a bug. Please consider
resolutions for this as not a problem or invalid.
Thanks
> 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]