W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2004

Re: determine root element in the xml from schema

From: Mik Lernout <mik@futurestreet.org>
Date: Tue, 09 Mar 2004 17:09:39 +0100
Message-ID: <404DEC43.8010904@futurestreet.org>
To: xmlschema-dev@w3.org

Well I guess that shuts me up :-)

The interface you made for XSV seems very intuitive, taking in account 
the remarks in this thread. Other validators I have worked with, Xerces, 
Sun Multi-Schema XML Validator, XMLSpy, ..., they all do not care/know? 
about this additional level of XMLSchema. On the other hand, nobody 
seems to care or even seems to be affected, so I should just let it go. :-)

I am currently implementing yet another schema validator based on 
JaxMeXS,  and I will try to implement an API that reflects what we have 
been talking about, incorporating the ideas from the CLI of XSV...

Thanks to everybody for their efforts in making me understand this!

Mik

Henry S. Thompson wrote:

>Mik Lernout <mik@futurestreet.org> writes:
>
><snip/>
>
>  
>
>> If this would be the case it would seem for example
>>logically to be able to mark, when validating, the root-element you
>>wish to validate against like in: validator.validate(po.xsd,
>>'purchaseOrder'). Why isn't this the case?
>>    
>>
>
>XSV does give you precisely this functionality, and I believe some
>other validators do also.  The REC provides for this, by specifying
>that validation may be started with an instance _and_ an element
>declaration.
>
>ht
>  
>
Received on Tuesday, 9 March 2004 11:11:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:40:23 UTC