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



This email and any attachment(s) thereto, are intended for the use of the addressee(s) named herein and may contain legally privileged and or confidential information under applicable law. If you are not the intended recipient of this e-mail, you are hereby notified any dissemination, distribution or copying of this email, and any attachment(s) thereto, is strictly prohibited. If you have received this communication in error, please notify the sender at 415-281-2200 or via return e-mail at [EMAIL PROTECTED] and permanently delete the original copy and any copy of any e-mail, and any printout thereof. Thank you for your cooperation.


Reply via email to