[
Lists Home |
Date Index |
Thread Index
]
- From: Chris Maden <crism@oreilly.com>
- To: xml-dev@ic.ac.uk
- Date: Thu, 29 Jul 1999 16:57:11 -0400 (EDT)
[Samuel R. Blackburn]
> It says there can be only one top level element in a document. The
> spec says in section 2.1 that a document contains one or more
> elements.
Eh?
Document
[1] document ::= prolog element Misc*
> MSXML doesn't like multiple colons in an element name. It will not
> parse the following:
>
> <I:Love:Cookies>With Milk</I:Love:Cookies>
>
> But rules 4 and 5 do not impose this restriction.
The namespaces spec (<URL:http://www.w3.org/TR/REC-xml-names/>) does.
MSXML implements XML+namespaces; there's no requirement that all XML
parsers do, but it's probably a good idea to at least follow the
syntactic restrictions, since colons in XML 1.0 names are reserved for
experimental use pending publication of the namespaces Recommendation,
which has since happened.
-Chris
--
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>
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 (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe 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)
|