W3C home > Mailing lists > Public > www-validator@w3.org > March 2005

Re: Validating with XML

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Mon, 28 Mar 2005 20:49:40 +0300 (EEST)
To: www-validator@w3.org
Message-ID: <Pine.GSO.4.58.0503282047390.14491@korppi.cs.tut.fi>

On Mon, 28 Mar 2005, Russell Mayes wrote:

> I have tried to validate pages that include xml in both HTML and XHTML.
> Both return invalid due to <xml></xml> tags.

That's natural, because no published specification for (X)HTML contains an
<xml> element. What's worse, your intended use of <xml> would probably
mean the insertion of arbitrary XML content. That's against the principle
of validity. But if you can specify the exact syntax you intend to use for
the XML content, you could write a DTD that reflects it.

Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Monday, 28 March 2005 17:50:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:44 UTC