W3C home > Mailing lists > Public > www-validator@w3.org > April 2007

Re: xmlns attributes...

From: Shane McCarron <shane@aptest.com>
Date: Mon, 30 Apr 2007 11:13:38 -0500
Message-ID: <463615B2.4040502@aptest.com>
To: olivier Thereaux <ot@w3.org>
CC: www-validator Community <www-validator@w3.org>

olivier Thereaux wrote:
>> This is not really complete - I think I need to understand if there 
>> are contexts where this option should NOT be enabled.  Currently, the 
>> patch just enables it all the time.
> I modified your patch a little, enabling the filtering of xmlns: 
> attributes only in XML mode (see [2]) but other than that it looks good.
> Note that it does not make the validator entirely namespace-friendly, 
> notably, it does NOT solve the question of validating documents with 
> elements from a foreign namespace. Such a change would involve 
> ignoring  all elements declaring to be from a namespace unknown to the 
> document type, and their children.
Well - currently if you are using XHTML M12N and define a markup 
language that incorporates multiple namespaces, this just works.  In 
otherwords, the xmlns attributes are declared and therefore known, and 
the elements from those additional namespaces are incorporated in their 
qualified forms into the content model.  Its magic.
>> I look forward to comments on this potential change to the validator.
> The patch is in CVS now [3], will be in next public beta of the 
> validator.

Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com
Received on Monday, 30 April 2007 16:13:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:01 UTC