Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Partial validation of a schema (wish for Schema 1.1)

From: "Antoli, Leo" <Leo.Antoli@-----.--->
To: xmlschema-dev@--.---
Date: 11/2/2006 11:00:00 AM
Hi,

I suppose this is more a wish for Schema 1.1 than a question.

 

I sometimes need to validate an XML instance against a Schema but I don't
have all the information to create a full valid XML instance, i.e. I may
miss some required elements.

In this case I would like to know that the XML instance is valid against the
Schema apart from some required elements which I don't have.

 

One solution could be allowing a new type of processing such as partial
apart from lax, strict and none.

 

Any thoughts about how can I get partial validation at the moment? The only
idea I have so far is to duplicate the Schema elements and types and make
all children optional. But this is not really what I want; I'd like to use
the same types and elements.

 

 

Thanks.

 

Regards,
Leo Antoli 

 



transparent
Print
Mail
Like It
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