← Prev in month ← Prev in thread

[xml-dev] XML Grammar [EBNF]

From
netbeans.javame.user <>
To
Date
2008-02-19T19:56:28Z
ID
<>
Thread
[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.
← Prev in month ← Prev in thread