W3C home > Mailing lists > Public > www-validator@w3.org > January 2002

xmlns

From: Frank Ellermann <frank.ellermann@t-online.de>
Date: Fri, 25 Jan 2002 05:23:41 +0100
Message-ID: <3C50DDCD.125A@t-online.de>
To: www-validator@w3.org
Hi, in http://www.w3.org/TR/REC-xml-names/ I found a nice way 
to change the relevant XML namespace on the fly in a document.

I tried this with attribute target= of <base> resp. align= of
<img>, i.e. I used a validated XHTML 1.0 transitional document,
modified it to be strict, and added xmlns="...transitional" to
<base> and <img> (before target= resp. align=).

The validator recognized the additional namespace (shown in the
header of the validator output), but marked these attributes as
erroneous.  In my second attempt I moved xmlns="..." up to the
<head> resp. <address>, but the validator still didn't like the
xmlns=, base=, and align= attributes.

My 3rd experiment was to enclose <base> and <img> in dummy tags
like <dummy xmlns=""><base target="_top" /></dummy>, and this
also didn't work.  Now it's clear that the validator doesn't
support XML completely, but is this really the expected result ?

                        Bye, Frank
Received on Thursday, 24 January 2002 23:23:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:00 GMT