W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2008

Re: UPA example

From: Boris Kolpackov <boris@codesynthesis.com>
Date: Wed, 25 Jun 2008 09:59:15 +0200
To: xmlschema-dev@w3.org
Message-ID: <20080625075915.GB12421@karelia>

Hi,

Thanks to everyone for your insights.

Radu Preotiuc-Pietro <radup@bea.com> writes:

> Maybe it's also interesting to mention that, while in XML Schema 1.1 the
> Schema becomes valid, the instance
> 
> <apple/>
> <apple/>
> <apple/>
> 
> won't be valid still (based on my understanding, the third <apple/>
> element will map to the element particle and the validator will still be
> waiting for an element to map to the wildcard).

Yes, I also think it won't be valid unless the parser in 1.1 is expected
to do backtracking. I am also wondering if the authors of this change to
the spec considered how hard it will be to explain something like this
to a user.

Boris

-- 
Boris Kolpackov, Code Synthesis Tools   http://codesynthesis.com/~boris/blog
Open source XML data binding for C++:   http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde
Received on Wednesday, 25 June 2008 08:25:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:05 GMT