Inaccuracy in Extensible Markup Language (XML) 1.1 (Second Edition)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Inaccuracy in Extensible Markup Language (XML) 1.1 (Second Edition)

Vitaliy Sugrobov
Hi. I read document located at http://www.w3.org/TR/xml11/ and noticed error in numbering of rules given in EBNF.
Here we have 
[32]   SDDecl   ::=   S 'standalone' Eq (("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no') '"'))[VC: Standalone Document Declaration]
and then we expect next rule to be numbered [33], but we get [39] instead:
Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Inaccuracy in Extensible Markup Language (XML) 1.1 (Second Edition)

Michael Glavassevich-3

You've haven't found an error. [33] through [38] existed but were removed a long time ago. See the rationale here: http://www.w3.org/XML/xml-19980210-errata#E73

After removing them, I would assume the original numbering was maintained to avoid confusion and to allow numerical references from other documents to continue pointing to the productions they intended.

Michael Glavassevich
XML Technologies and WAS Development
IBM Toronto Lab
E-mail: [hidden email]

E-mail: [hidden email]

Vitaliy Sugrobov <[hidden email]> wrote on 02/05/2012 08:04:53 PM:

> Hi. I read document located at http://www.w3.org/TR/xml11/ and
> noticed error in numbering of rules given in EBNF.

> Here we have
>
> [32]  

>
> SDDecl

>
>    ::=  

>
> S 'standalone' Eq (("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no') '"'))

>
> [VC: Standalone Document Declaration]

>
> and then we expect next rule to be numbered [33], but we get [39] instead:

>
> [39]  

>
> element

>
>    ::=  

>
> EmptyElemTag

>
> | STag content ETag

>
> [WFC: Element Type Match]

>
> [VC: Element Valid]

Loading...