This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Outstanding Argument!
- To: xsl-list at mulberrytech dot com
- Subject: Re: Outstanding Argument!
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Wed, 10 May 2000 16:05:09 +0100 (BST)
- References: <33DDC954510AD411B46400A0C9C732D6048EB2@exch-klip.btg.com>
- Reply-To: xsl-list at mulberrytech dot com
> Do you know specifically where
> I could find this in the W3C I looked in the XML document and
> get some cryptic information about attributes and their values
> but, cannot find where it actually says that "/" is invalid
> in that situation.
In the XML spec here:
<p>An
<nt def='NT-Nmtoken'>Nmtoken</nt> (name token) is any mixture of
name characters.
<scrap lang='ebnf'>
<head>Names and Tokens</head>
<prod id='NT-NameChar'><lhs>NameChar</lhs>
<rhs><nt def="NT-Letter">Letter</nt>
| <nt def='NT-Digit'>Digit</nt>
| '.' | '-' | '_' | ':'
| <nt def='NT-CombiningChar'>CombiningChar</nt>
| <nt def='NT-Extender'>Extender</nt></rhs>
</prod>
<prod id='NT-Name'><lhs>Name</lhs>
<rhs>(<nt def='NT-Letter'>Letter</nt> | '_' | ':')
(<nt def='NT-NameChar'>NameChar</nt>)*</rhs></prod>
<prod id='NT-Names'><lhs>Names</lhs>
<rhs><nt def='NT-Name'>Name</nt>
(<nt def='NT-S'>S</nt> <nt def='NT-Name'>Name</nt>)*</rhs></prod>
<prod id='NT-Nmtoken'><lhs>Nmtoken</lhs>
<rhs>(<nt def='NT-NameChar'>NameChar</nt>)+</rhs></prod>
<prod id='NT-Nmtokens'><lhs>Nmtokens</lhs>
<rhs><nt def='NT-Nmtoken'>Nmtoken</nt> (<nt def='NT-S'>S</nt> <nt def='NT-Nmtoken'>Nmtoken</nt>)*</rhs></prod>
</scrap>
</p>
which says that XML names start with a letter and are followed by
letters digits .-_: and some other stuff, but not /.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list