[
Lists Home |
Date Index |
Thread Index
]
- From: "James Tauber" <jtauber@jtauber.com>
- To: <xml-dev@ic.ac.uk>
- Date: Mon, 11 Jan 1999 01:07:36 +0800
-----Original Message-----
From: Samuel R. Blackburn <sblackbu@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@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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
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)
|