Test Case #109: xml:base should be ignored in XHTML+RDFa 1.0

Purpose:

Tests to make sure that xml:base is ignored in XHTML+RDFa 1.0. This test
file is invalid XHTML.

====================== Test Case 109 =============================

---------------------Test Case 109 XHTML--------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
                      "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:dc="http://purl.org/dc/elements/1.1/"
      xml:base="http://example.org/invalid/">
   <head>
      <title>Test Case 0109</title>
   </head>
   <body>
      <div xml:base="http://example.org/invalid/">
         <p about="">
            This is
            <span property="dc:title">Test Case 0109</span>.
         </p>
      </div>
   </body>
</html>
-----------------------------------------------------------------

---------------------Test Case 109 SPARQL -----------------------
ASK WHERE {
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0109.xhtml>
   <http://purl.org/dc/elements/1.1/title>
      "Test Case 0109" .
}
----------------------------------------------------------------

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: Dynamic Spectrum Auctions and Digital Marketplaces
http://blog.digitalbazaar.com/2008/04/24/dynamic-spectrum-auctions/

Received on Tuesday, 13 May 2008 22:46:21 UTC