Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


SV: SV: SV: strict validation of any ##other namespace

From: Bryan Rasmussen <brs@----.-->
To: 'Kasimier Buchcik' <K.Buchcik@---------.-->
Date: 10/10/2005 12:02:00 PM



Hi

>> The question then is what LibXML2's response is if the instance document
>> does not have a namespace matching the schema targetNamespace. One could
>> create a schema, programmatically, with a targetNamespace not in the
>> instance document and import the other namespaces in. 

>I assume you are referring to your example here, where we have a strict
>element-wildcard, which hits an element information item in a namespace
>not currently imported.


No, I was thinking that there would be a schema


<?xml version="1.0" encoding="UTF-8"?>
<schema  
xmlns="http://www.w3.org/2001/XMLSchema"
 elementFormDefault="qualified" attributeFormDefault="unqualified">
<import namespace="http://test.com" schemaLocation="schema1.xsd"/>
<import namespace="http://test.org" schemaLocation="schema2.xsd"/>

</schema>

and there would not be anything in the empty namespace. 

Would libxml2 support this? I've found that .Net and XSV support it, but
msxml does not, and as I understand it XMLSPY won't either.  

Cheers
Bryan Rasmussen

From K.Buchcik@4... Mon Oct 10 08:22:51 2005
Received: from ma


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent