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

Borden, Jonathan jborden at mediaone.net
Sun Jan 10 18:44:03 GMT 1999

This fragment appears to be a valid, well-formed HTML document but not a
valid nor well formed XML document.

HTML, which has an SGML DTD, allows both the HTML and BODY tags to be
optional. Under XML optional tags are not provided for.

Hence, the normalized HTML document derived from the stream is:

<HTML><BODY><H1>Text</H1> More Text <H2>Less Text</H2></BODY></HTML>

which is also well formed XML.

Jonathan Borden

... Consider the following snippet:
> <H1>Text</H1> More Text <H2>Less Text</H2>
> Is this valid XML? " More Text " is orphaned.

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