|
Hi Thomas,
The problem lies in the fact that you are not declaring the namespace you are trying to import in your <schema> element. Try to add a namespace declaration in it and you should be fine.
-----Original Message-----
Am trying to generate source code from xml schema using the source generator org.xml.sax.SAXException:
namespace 'http://www.foo.com/xxxpayload' not declared in schema the source schema - <xsd:schema targetNamespace="http://www.foo.com/xxx" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:dt="http://www.foo.com/datatypes" xmlns="http://www.foo.com/xxx" elementFormDefault="qualified" attributeFormDefault="qualified" id="GenericMessage"> <xsd:import namespace="http://www.foo.com/Payload/xxxpayload" schemaLocation="xxxpayload.xsd"/>
Please advice
Do You Yahoo!? |
- [castor-dev] namespace XXX not declared in schema : advice ... pradeep thomas
- Re: [castor-dev] namespace XXX not declared in schema ... Arnaud Blandin
- Re: [castor-dev] namespace XXX not declared in sch... pradeep thomas
