(3) Using any sort of lexicalRepresentation in a datatype causes the following exception to be thrown during parsing:
 
java.lang.NullPointerException
 at java.util.Hashtable.put(Hashtable.java:381)
 at org.apache.xerces.validators.schema.XSchemaValidator.traverseDatatypeDecl(XSchemaValidator.java:2241)
 at org.apache.xerces.validators.schema.XSchemaValidator.traverseSchema(XSchemaValidator.java:1729)
 at org.apache.xerces.validators.schema.XSchemaValidator.loadSchema(XSchemaValidator.java:1701)
 at org.apache.xerces.framework.XMLParser.scanAttValue(XMLParser.java:1931)
 at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1800)
 at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:991)
 at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
 at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1129)
 
Again, can you post a file that causes this to happen?
 
See attachments.  "test.xsd" is the schema, "test2.xml" is the document that conforms to the schema.
 
markl
 

Attachment: test.xsd
Description: Binary data

<?xml version="1.0" encoding="UTF-8"?>

<foo xmlns="test.xsd">
    <xyzzy>99123</xyzzy>
</foo>

Reply via email to