|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Partial validation of a schema (wish for Schema 1.1)
From: Antoli, Leo <Leo.Antoli@Misys.com>
Date: Thu, 2 Nov 2006 10:59:56 -0000 Message-ID: <8ADC468FAD0DD811ABE500065BFE3CDA0568FCDB@pat.slough.midas-kapiti.com> To: xmlschema-dev@w3.org 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 AntoliReceived on Thursday, 2 November 2006 11:01:01 GMT |
Subscribe in XML format
|






