Re: Reviewing Last Call RDFa

Johannes Koch wrote:
>
> Shane McCarron schrieb:
>>
>> However, the w3c validator ignores xmlns attribute declarations - 
>> thereby avoiding the issue.
>
> It is debatable whether this is a feature or a bug :-| Other XML 
> validating software does not.
Understood.  It is a feature.  I know 'cause I implemented it.
>
>>  It is ALSO possible to declare the additional ATTLIST values in your 
>> internal subset, should you actually care.
>
> Yes. If this is the way to go it should be described in one of the 
> documents (primer?).
It is described in an XHTML M12N document - since this is really an 
XHTML issue.  However, it is definitely NOT the way to go.  Its a pain 
in the butt and not really worth doing.  It is an error for an XML 
validator to throw an error when seeing an @xmlns declaration.  The 
problem is that the DTD technology in use (nsgmls and descendants) are 
SGML tools that have been hacked to death to make them swallow XML.  At 
least, that's my opinion.

-- 
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com

Received on Saturday, 12 April 2008 14:14:47 UTC