Re: Accepting redundant xmlns declarations

* John Levon wrote:
>I have been led to understand that XHTML 1.0 Strict documents containing
>code like :
><p xmlns="">
>is well-formed and valid, although the ns declaration is redundant.
>Is this the case ?

No, the XHTML 1.0 DTDs do not define a xmlns attribute for element p,
the only place you may put an xmlns attribute specification is the html

>Would it be possible for xmlns tags that just give
>the current namespace to be ignored by the validator (the rest of my
>code validates fine) ?

For the reason above, no.

>This sort of output comes from docbook XML processed by xsltproc

Fix the style sheets :-)

Received on Thursday, 9 May 2002 18:20:46 UTC