(1) Using ORDER="all" in an archetype causes the following exception to be thrown during parsing:
 
Unknown ContentSpecNode.NODE_XXX value
 at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1273)
 at org.apache.xerces.validators.schema.XSchemaValidator.checkContent(XSchemaValidator.java:1109)
 at org.apache.xerces.validators.schema.XSchemaValidator.endElement(XSchemaValidator.java:532)
 at org.apache.xerces.framework.XMLParser.callEndElement(XMLParser.java:1858)
 at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1245)
 at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
 at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1129)
 
Can you post a file that causes this to happen.
 
See attachments.  "test3.xsd" is the schema, "test3.xml" is the document that conforms to the schema.
 
markl
 
 

Attachment: test3.xsd
Description: Binary data

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

<foo xmlns="test3.xsd">
    <bar>
        <mumble>abc</mumble>
        <xyzzy>123456</xyzzy>
    </bar>
</foo>

Reply via email to