Re: Problems with Oracle XML Schema processor?

If I change http://www.w3.org/1999/XMLSchema to http://www.w3.org/2000/10/XMLSchema
in both report.xml and report.xsd.
I get the following error:

<Line 19, Column 35>: XSD-2026: (Error) Invalid attribute ''content'' in element
''complexType''
<Line 31, Column 36>: XSD-2026: (Error) Invalid attribute ''content'' in element
''complexType''
<Line 37, Column 38>: XSD-2026: (Error) Invalid attribute ''base'' in element
''simpleType''
<Line 37, Column 38>: XSD-2014: (Error) Invalid method of derivation ''pattern''
<Line 37, Column 38>: XSD-2014: (Error) Invalid method of derivation ''missing
derivation''
java.lang.NullPointerException
        at oracle.xml.parser.schema.XSDGroup.buildPathTable(XSDGroup.java:318)
        at oracle.xml.parser.schema.XSDElement.buildPathTable(XSDElement.java:538)
        at oracle.xml.parser.schema.XSDGroup.buildPathTable(XSDGroup.java:304)
        at oracle.xml.parser.schema.XSDElement.buildPathTable(XSDElement.java:538)
        at
oracle.xml.parser.schema.XMLSchemaNode.buildSchemaPathTable(XMLSchemaNode.java:96)
        at
oracle.xml.parser.schema.XSDBuilder.buildSchemaPathTable(XSDBuilder.java:269)
        at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:226)
        at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:206)
        at XSDSetSchema.main(XSDSetSchema.java:26)

So it seems like the oracle guys didn't change their test programs to conform to the
new schema.
Which is fine (as long as they changed their validator...). I can change them on my
own.
But why do I get a null pointer exception?
Am I or is Oracle doing something wrong here?

Karin

Received on Tuesday, 7 November 2000 13:01:03 UTC