OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   [SML] Preliminary EBNF v0.2

[ Lists Home | Date Index | Thread Index ]
  • From: "Don Park" <donpark@docuverse.com>
  • To: <xml-dev@ic.ac.uk>
  • Date: Sun, 28 Nov 1999 03:59:55 -0800

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@docuverse.com
Docuverse   -   http://www.docuverse.com


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@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@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

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

Copyright 2001 XML.org. This site is hosted by OASIS