Hi, I was wondering how a [test case][1] was handled in the DOM. (One issue is that it is sent as text/html and not application/xhtml+xml so it might change the results.) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/ dc/elements/1.1/"> <body> This photo was taken by <span class="author" about="photo1.jpg" property="dc:creator">Mark Birbeck</span>. </body> </html> For example with Camino Version 2007050909 (1.5Int)(Firefox engine), we get DOCTYPE: html HTML xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns="http:// www.w3.org/1999/xhtml" HEAD BODY #text: This photo was taken by SPAN property="dc:creator" about="photo1.jpg" class="author" #text: Mark Birbeck #text: . And with Safari Version 2.0.4 (419.3), we get HTML xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/ dc/elements/1.1/" BODY #text: This photo was taken by SPAN class="author" about="photo1.jpg" property="dc:creator" #text: Mark Birbeck #text: . #text: In both cases, we can't identify that there is RDFa in the document. The doctype being dropped. Though a very interesting thing, if I add version="xhtml-rdfa" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" version="xhtml-rdfa"> <body> This photo was taken by <span class="author" about="photo1.jpg" property="dc:creator">Mark Birbeck</span>. </body> </html> The DOM is in Camino for example. DOCTYPE: html HTML version="xhtml-rdfa" xmlns:dc="http://purl.org/dc/elements/ 1.1/" xmlns="http://www.w3.org/1999/xhtml" HEAD BODY #text: This photo was taken by SPAN property="dc:creator" about="photo1.jpg" class="author" #text: Mark Birbeck #text: . It is also in Safari. [1]: http://www.w3.org/2006/07/SWD/RDFa/testsuite/testcases/000002 -- Karl Dubost - http://www.w3.org/People/karl/ W3C Conformance Manager, QA Activity Lead QA Weblog - http://www.w3.org/QA/ *** Be Strict To Be Cool ***Received on Tuesday, 9 October 2007 07:28:45 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:15 GMT