Cab you please raise a new Jira issue and attach the XML schema to it ?
Thanks Werner Jeffrey (Jun Li) wrote:
Hi, I was trying to compile WS-BPEL schema (namespace: http://docs.oasis-open.org/wsbpel/2.0/process/abstract location: http://docs.oasis-open.org/wsbpel/2.0/OS/process/abstract/ws-bpel_abstract_common_base.xsd) into Java objects. This xsd is supposed to be a validate schema. And I also tried it with XML Spy and it worked. However, an error happens: Error: could not find the built in parent type for: QNames java.lang.NullPointerException at org.exolab.castor.xml.schema.reader.SimpleTypeDefinition.createSimpleType(SimpleTypeDefinition.java:141) at org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller.getSimpleType(SimpleTypeUnmarshaller.java:161) at org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.endElement(SchemaUnmarshaller.java:638) at org.exolab.castor.xml.schema.reader.Sax2ComponentReader.endElement(Sax2ComponentReader.java:200) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:604) at org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:540) at org.exolab.castor.builder.SourceGeneratorMain.main(SourceGeneratorMain.java:296) I am using Windows XP sp 2, Java 1.5 update 12, castor-1.1.2.1-codegen.jar and castor-1.1.2.1-xml.jar Jeffery. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
--------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

