[
https://issues.apache.org/jira/browse/XERCESJ-1350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657094#action_12657094
]
Michael Glavassevich commented on XERCESJ-1350:
-----------------------------------------------
A stack trace showing the NPE:
java.lang.NullPointerException
at
org.apache.xerces.impl.xs.XSWildcardDecl.toString(XSWildcardDecl.java:203)
at
org.apache.xerces.impl.xs.XMLSchemaValidator.expectedStr(XMLSchemaValidator.java:3486)
at
org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1944)
at
org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:782)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:283)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1653)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)
at
org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:864)
at
org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:787)
at
org.apache.xerces.jaxp.validation.StreamValidatorHelper.validate(StreamValidatorHelper.java:181)
at
org.apache.xerces.jaxp.validation.ValidatorImpl.validate(ValidatorImpl.java:129)
at javax.xml.validation.Validator.validate(Unknown Source)
> null pointer exception when notQName attribute list contains more than 1
> QName in xs:any
> ----------------------------------------------------------------------------------------
>
> Key: XERCESJ-1350
> URL: https://issues.apache.org/jira/browse/XERCESJ-1350
> Project: Xerces2-J
> Issue Type: Bug
> Components: XML Schema 1.1 Structures
> Affects Versions: 2.9.1
> Reporter: John Chan
> Assignee: Michael Glavassevich
> Attachments: ii10.xml, ii10.xsd
>
>
> When there is more than 1 QName in the notQName attribute in xs:any, a null
> pointer exception occurs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]