List Info

Thread: XML doc validation against multiple XSD's




XML doc validation against multiple XSD's
user name
2007-04-02 03:17:17

Hi All,

           ;

           ; I am getting the following errors while validating the xml against the XSD

           ;            ; “Unable to lookup type ID:http://www.w3.org/2001/XMLSchema”

           ; and  ;XSD is as follows

 &nbsp; &nbsp; &nbsp; &nbsp;   ;  &nbsp; &nbsp; &nbsp; &nbsp;   ; <?xml version=&quot;1.0"; encoding=&quot;UTF-8&quot;?>

 &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ;    &lt;xs:schema targetNamespace=";urn:ietf:paramsml:ns:pidf"

 &nbsp; &nbsp; &nbsp;   &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp;  xmlns:tns="urn:ietf:paramsml:ns:pidf"

 &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp;  xmlnss="http://www.w3.org/2001/XMLSchema&quot;

 &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp;  elementFormDefault="qualified&quot;

 &nbsp; &nbsp; &nbsp;   &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp;  attributeFormDefault="unqualified";>

 

 &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp;  <!-- This import brings in the XML language attribute xml:lang-->

 &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp;  <xs:import namespace="http://www.w3.org/XML/1998/namespace"

 &nbsp; &nbsp;   &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp;  schemaLocation="http://www.w3.org/2001/xml.xsd"/&gt; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;  

 &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ;  ----------------------------

 &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ;  --------------------------------

 &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   

Thanks & Regards,

Sai Reddy

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )