[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: UPA and schema handling


Re:  UPA and schema handling
Bob Foster wrote:

> Joe English wrote:
>
>> But even SGML doesn't require conforming systems to report
>> this condition; [4.267] says an ambiguous content model is not
>> a "reportable markup error".
>>
>> (That's probably because nobody knew *how* to detect this condition
>> until 1992 when Anne Bruegemann-Klein figured it out, but still...)
>
>
> Lots of people knew how to detect it, but they all did it differently. 
> Bruegemann-Klein's great contribution was to provide a rigorous 
> definition for the condition. (She then went on to show that if a 
> grammar was deterministic by her definition, a DFA could be built for 
> it in linear time. That was pretty nice, too.)
>
I don't want to downplay that contribution, but the essential idea goes 
back to Gerard Berry and Ravi Sethi's 1984 paper (although XML did not 
exist at that point). Some people mention Glushkov, somewhere in the 
60s. Some call the automata "position automata". Brueggemann-Klein 
applied this idea to SGML and XML content models, but these are just 
regular expressions.

If you look into the construction, you find first,last and follow sets, 
which are also pretty common when dealing with context-free grammars. 
What is nice that if people do it correctly, than they do it in somehow 
the same way : )

cheers,
Burak

http://lamp.epfl.ch/~buraq


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.