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

RE: non-deterministic simpleContent restriction definition

From: Michael Kay <mike@saxonica.com>
Date: Tue, 25 Nov 2008 10:31:39 -0000
To: "'Tobias Koenig'" <tobias.koenig@trolltech.com>, <xmlschema-dev@w3.org>
Message-ID: <6F1A8761668941D7AA7961F5391E688F@Sealion>


This is a known bug with an agreed fix:

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5906

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: xmlschema-dev-request@w3.org 
> [mailto:xmlschema-dev-request@w3.org] On Behalf Of Tobias Koenig
> Sent: 25 November 2008 10:06
> To: xmlschema-dev@w3.org
> Subject: non-deterministic simpleContent restriction definition
> 
> 
> Hej,
> 
> to validate the occurrence of xml tags for schema input the 
> most elegant way is to use a DFA according to the regular 
> expression given in the XML Representation Summary in the 
> schema spec for every component.
> 
> That works fine in schema 1.0, however with schema 1.1 and 
> the introduction of assert, the regular expression of the 
> simpleContent restriction isn't deterministic any more. If 
> you encounter an 'assert' tag, you don't know whether it is 
> the one in the group of facets or the one at the end.
> 
> Any chance to get back a deterministic regexp here again for 
> the final version?
> 
> Ciao,
> Tobias
> 
Received on Tuesday, 25 November 2008 10:32:17 GMT

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