[SML] Preliminary EBNF v0.2

Don Park donpark at docuverse.com
Sun Nov 28 11:57:36 GMT 1999

Here is a second cut of SML EBNF, designed to provoke
more active comment from pro-attribute folks as well
as those who want just English tag names.

Major changes are:
1. No attributes
2. No whitespace after name.
3. 'wild' name character set.
4. No '>' in CharData.
5. 'quot' removed and 'gt' added.
6. Numerical character reference is now in hex.
7. S rule is removed.

The NameChar is basically anything except '<', '>', '&',
and whitespace characters.

Note that changes in this version are not necessarily
what SML will end up as.  I am just trying to get more
feedback from folks because when people tend to speak
out more when they dislike something than when they
like something.


data ::= (element | CharData | CharCode)*
element ::= StartTag data EndTag | EmptyTag
StartTag ::= '<' Name '>'
EndTag ::= '</' Name '>'
EmptyTag ::= '<' Name '/>'
Name ::= NameChar+
NameChar ::= [^<>&] - (#x20 | #x9 | #xD | #xA)
CharData ::= [^<>&]*
CharCode ::= '&' ('#x' [0-9A-F]+ | 'lt' | 'gt' | 'amp') ';'


Don Park    -   mailto:donpark at docuverse.com
Docuverse   -   http://www.docuverse.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

More information about the Xml-dev mailing list