Syntax Questions

Samuel R. Blackburn sblackbu at erols.com
Thu Jul 29 22:40:25 BST 1999


I just published the latest version of my freeware parser (for NT)
and came across a couple of interesting differences between my
parser and MSXML. What I'm wondering is which is correct?

First Problem

MSXML (v5.00.2314.1000) will not parse the following:

<Sammy>Loves Laura</Sammy>
<Sammy>Loves Laura</Sammy>

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.

Last Problem

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.

What gives?

TIA,

Sam
http://ourworld.compuserve.com/homepages/sam_blackburn/wfc.htm




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 (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