W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > September 2008

Re: Best practice for DTD validation of RDFa xmlns attributes

From: dorian taylor <dorian.taylor.lists@gmail.com>
Date: Sun, 14 Sep 2008 12:02:28 -0700
Message-ID: <fcd5649a0809141202l25b77395o8177913a45d2ec84@mail.gmail.com>
To: "Shane McCarron" <shane@aptest.com>
Cc: public-rdf-in-xhtml-tf@w3.org

Shane,

On Sun, Sep 14, 2008 at 5:29 AM, Shane McCarron <shane@aptest.com> wrote:
> I think i am confused Dorian.  The use of xmlns:foo attributes is perfectly
> valid XML.  The W3C validation service will not complain about such use.
>  Some other validators, based upon SGML DTD technology, might complain but
> they would be in error.

You're right - mea culpa. I had forgotten that xmlns attributes are
exempt from explicit mention in XML DTD processing (it's been a
while). Furthermore I had been using Tidy to validate my XHTML in
local tests, and was under the mistaken impression that it actually
used the real supplied DTD.

Thanks for straightening me out!
Received on Sunday, 14 September 2008 19:03:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 14 September 2008 19:03:08 GMT