Re: Updated RDFa-in-text/html tests

Jeni Tennison wrote:
>
> Oh, and there are two test cases where rdfQuery's response is classed 
> as a failure when I think it matches the expected triple. These are 
> "Empty xmlns value" and "Empty xmlns value overriding non-empty". In 
> both cases, the expected result is '<> <{BASE}#test> "Test".' and I 
> think that's what rdfQuery generates (with {BASE} replaced by the base 
> URI of the test case).
FWIW - RDFa requires the use of XML Namespaces 1.0, not 1.1.  As a 
result, I think that both of these tests are wrong.  As Philip points 
out, in XML Namespaces 1.0 an empty xmlns value is illegal, so such a 
value MUST be ignored by an RDFa processor.  My implementation does not 
correctly do that, but I am updating it right now.


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

Received on Thursday, 4 June 2009 20:58:42 UTC