|
Hi, I’m trying to generate xmlbeans
out of liberty schema files. One of the liberty schema has the following in it. Liberty-metadata.xsd <?xml
version="1.0" encoding="UTF-8"?> <xs:schema
targetNamespace="urn:liberty:metadata:2004-12"
xmlns="urn:liberty:metadata:2004-12"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified" version="1.0"> <xs:import
namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"/> <xs:import
namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="http://www.w3.org/2001/xml.xsd"/> <xs:include
schemaLocation="liberty-idwsf-utility-v2.0.xsd"/> Liberty-idwsf-utility.xsd <?xml
version="1.0" encoding="UTF-8"?> <xs:schema
targetNamespace="urn:liberty:util:2005-11"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="urn:liberty:util:2005-11" elementFormDefault="qualified"
attributeFormDefault="unqualified" version="2.0-02"> When I try to compile I get this error – “liberty-metadata-v2.0.xsd:12:3: error: Included
schema has a target namespace "urn:liberty:util:2005-11" that does
not match the source namespace "urn:liberty:metadata:2004-12" What should my .xsdconfig file look like, so that I
can generate xmlbeans out of liberty-metadata.xsd? Thanks, Mani
|
- source and target namespace mismatch Mani Balasubramani
- RE: source and target namespace mismatch Radu Preotiuc-Pietro

