W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > May 2008

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

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Tue, 13 May 2008 18:45:48 -0400
Message-ID: <482A1A1C.6090300@digitalbazaar.com>
To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 13 May 2008 22:46:22 GMT