XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
[xml-dev] XML Grammar [EBNF]


Hello.

I was browsing at  http://www.w3.org/TR/REC-xml/ Extensible Markup Language
(XML) 1.0 (Fourth Edition)  and I noticed the production rule; "[1]   
document    ::=    prolog element Misc*" the document states that  

"Matching the document production implies that:
1.It contains one or more elements."

Well, I can't determinate this by looking at the above production. Only
after, digging deeper into the non-terminal symbol element does the above
statement becomes evident but not by just looking at the production given by
rule [1]. Why not be precise and say something like "By following the
production rule for non-terminal element a matching document must contain
one or more elements".

Any comments on this anyone?

Thanks,

-- 
View this message in context: http://www.nabble.com/XML-Grammar--EBNF--tp15562522p15562522.html
Sent from the Xml.org Dev mailing list archive at Nabble.com.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS