EBNF again...
Frank Boumphrey
bckman at ix.netcom.com
Sun May 10 03:31:46 BST 1998
Adam,
I'm not quite sure I followed the gist of your original question, but
the following are legitimate characters in XML
Sect 2.2
Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] |
[#x10000-#x10FFFF]
and as you can see the ASCII equivelents of 9,10,13,and 32(i.e. White
space) are all called legitimate characters.
On the other hand if you look at name char, and check out the letter,
the digit, the CombiningChar and the extender productions you will see that
they do not include whitespace.
[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar |
Extender
Whether you can include white space or not depends on the notation.
On the other hand the literal string " abc " is ASC(32) +ASC(97) +ASC(98)
+ASC(99) + ASC(32)
Does this answer your question?
Frank
-----Original Message-----
From: Adam M. Donahue <adam at cyber-guru.com>
To: xml-dev at ic.ac.uk <xml-dev at ic.ac.uk>
Date: Saturday, May 09, 1998 4:59 PM
Subject: EBNF again...
>So no one out there knows the answer to my question?
>
>Adam
>
>mailto:adam at cyber-guru.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/
>To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
>(un)subscribe 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)
>
>
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/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe 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