OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



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

[ Lists Home | Date Index | Thread Index ]
  • From: "Borden, Jonathan" <jborden@mediaone.net>
  • To: "Samuel R. Blackburn" <sblackbu@erols.com>, <xml-dev@ic.ac.uk>
  • Date: Sun, 10 Jan 1999 13:40:30 -0500

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@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)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS