- From: Stanley Guan <stanley.guan@oracle.com>
- Date: Mon, 21 Apr 2003 11:00:15 -0700
- To: <xmlschema-dev@w3.org>
Errors: java.lang.ClassCastException: org.apache.xerces.impl.xs.XSComplexTypeDecl at org.apache.xerces.impl.xs.traversers.XSDSimpleTypeTraverser.findDTValidator( Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDSimpleTypeTraverser.traverseSimpleTy peDecl(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDSimpleTypeTraverser.traverseGlobal(U nknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.getGlobalDecl(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseNamedElemen t(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseGlobal(Unkn own Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.traverseSchemas(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source) at org.apache.xerces.parsers.DOMASBuilderImpl.parseASURI(Unknown Source) at dom.ASBuilder.main(Unknown Source) ===================================================================== <?xml version="1.0"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:element name="root" type="fooType"/> <xsd:complexType name="myType"> <xsd:simpleContent> <xsd:extension base="xsd:integer"/> </xsd:simpleContent> </xsd:complexType> <xsd:simpleType name="fooType"> <xsd:union memberTypes="myType"/> </xsd:simpleType> </xsd:schema> <?xml version="1.0"?> <root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="tlsx153.xsd"> 123</root>
Received on Monday, 21 April 2003 14:07:01 UTC