xmlns

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 UTC