W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2000

Re: Problems with Oracle XML Schema processor?

From: Karin Hogstedt <karin@research.att.com>
Date: Tue, 07 Nov 2000 12:00:58 +0500
Message-ID: <3A07A8AA.21C7846A@research.att.com>
To: xmlschema-dev@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:18 GMT