[ANN] WFC 38 is out (and a question)

James Tauber jtauber at jtauber.com
Sun Jan 10 17:05:31 GMT 1999


-----Original Message-----
From: Samuel R. Blackburn <sblackbu at erols.com>

>While doing this work, I came across a situation that I don't believe is
>covered in the specification. Consider the following snippet:
>
><H1>Text</H1> More Text <H2>Less Text</H2>
>
>Is this valid XML? " More Text " is orphaned.

For a start, I'm not sure you mean "valid". Remember that validity requires
a DTD.

So assuming you really mean "is this well-formed XML" the answer is no.

Production [1] makes it clear that there must be a single root, or document
element.

James
--
James Tauber / jtauber at jtauber.com / www.jtauber.com
Associate Researcher, Electronic Commerce Network
Curtin University of Technology, Perth, Western Australia

Maintainer of : www.xmlinfo.com,  www.xmlsoftware.com and www.schema.net




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