Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Motivations for restricting the "all" group

From: "Pete Cordell" <petexmldev@---------.--->
To: "Dag Hovland" <dag.hovland@---.-->, <xmlschema-dev@--.--->
Date: 5/28/2009 10:34:00 AM
I wasn't on the committee that developed XSD 1.0 (or XSD 1.1), but from 
other discussions on various e-mail lists I get the impression that they 
were concerned about the implementability of various features using finite 
state machines, especially without counters within states etc.  I think an 
xs:all with unrestricted cardinalities for members gets particularly hungry 
for states when implemented this way, hence the restrictions.

I think the feeling now is that there are other, non-state machine ways to 
implement validation of constructs such as xs:all with unrestricted 
cardinality and so the restrictions are relaxed.

HTH,

Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using XML C++
data binding to convert XSD schemas to C++ classes.
Visit http://www.xmldatabinding.net for more info
----- Original Message ----- 
From: "Dag Hovland" <dag.hovland@u...>
To: <xmlschema-dev@w...>
Sent: Thursday, May 28, 2009 7:53 AM
Subject: Motivations for restricting the "all" group


>I have been trying to do some research into regular
> expressions and the "all" group used in XML Schema, as
> mentioned in
>
> http://www.w3.org/TR/2001/REC-xmlschema-0-20010502/
>
> It is clear that "all" is in some sense restricted, since it can only
> combine elements, and must appear at top level. My question is, what was
> the original inspiration for "all", what is the "unrestricted" form of
> "all", and why was it originally restricted, in the design of XML Schema?
>
> Some academic authors claim that "all" is a restricted form of
> "interleaving", a known operator in regular language theory, for which
> the membership problem is NP-complete. But this is not clear to me, as
> interleaving means that the words are shuffled in a way that does not
> seem to make sense for natural languages. I believe that the "&" from
> SGML is a more natural extensions, but I cannot find any reference to
> the original motivation, or to the reasons for limiting "all".
>
> Thank you for any help,
>
> Dag Hovland
> 





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