- From: Ivan Herman <ivan@w3.org>
- Date: Sun, 24 May 2009 13:07:08 +0200
- To: Shane McCarron <shane@aptest.com>
- CC: "public-rdf-in-xhtml-tf.w3.org" <public-rdf-in-xhtml-tf@w3.org>
- Message-ID: <4A192A5C.3030202@w3.org>
Shane, I am sorry, I did not really follow the earlier discussions... But is this really o.k.? More exactly, is this properly implementable? distiller fails on the test. And there are issues there: - if I use the XML parser because I stick to XHTML, then I do not see why what you write is fine because XML is case sensitive. Ie, XMLNS cannot be considered the same as xmlns, can it? Note that if xmlns is required for all thee namespaces (ie, using TEST and TeSt) then things are fine as you write (and distiller works accordingly) B.t.w., the xml parser I use fails on the input file, b.t.w., because it will report an 'unbound prefix' error on the XMLNS:TEST attribute. Rightfully so! - The HTML5 parsers turns everything into lower case, which is sort of fine because at least HTML4 was case insensitive so, I presume, is HTML5. Using the HTML5 parser's page that I just got from Philip Taylor: http://tinyurl.com/ryah76 all the three namespace declarations will be merged into one. Ie, RDFa implementations will really have a problem in implementing this because they will be forced to avoid using standard tools... And that is bad... There may be something I miss here. Again, I did not follow the corresponding discussions... Ivan Shane McCarron wrote: > Based upon some recent discussions, I propose the following additional > test case: > > <html xmlns="http://www.w3.org/1999/xhtml" > xmlns:target="http://www.example.org#" > xmlns:test="http://www.example.org/lower#" > XMLNS:TEST="http://www.example.org/upper#" > XmLnS:TeSt="http://www.example.org/mixed#"> > <head> > <title>Test 0123</title> > </head> > <body> > <div about="[target:sub]"> > <p rel="test:one" resource="[target:lower]">lower case</p> > <p rel="TEST:two" resource="[target:UPPER]">UPPER CASE</p> > <p rel="TeSt:three" resource="[target:MiXeD]">Mixed Case</p> > </div> > </body> > </html> > > > With the following SPARQL: > > ASK WHERE { > <http://www.example.org#sub> <http://www.example.org/lower#one> > <http://www.example.org#lower> . > <http://www.example.org#sub> <http://www.example.org/upper#two> > <http://www.example.org#UPPER> . > <http://www.example.org#sub> <http://www.example.org/mixed:three> > <http://www.example.org#MiXeD> . > } > -- Ivan Herman, W3C Semantic Web Activity Lead Home: http://www.w3.org/People/Ivan/ mobile: +31-641044153 PGP Key: http://www.ivan-herman.net/pgpkey.html FOAF: http://www.ivan-herman.net/foaf.rdf
Received on Sunday, 24 May 2009 11:07:28 UTC