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

Test Case #75: @href with relative URL using XHTML BASE in HEAD

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Wed, 09 Jan 2008 14:45:03 -0500
Message-ID: <4785243F.6070303@digitalbazaar.com>
To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>

Purpose:

Tests to ensure that relative URLs are resolved correctly in
@href when XHTML BASE is set in HEAD.

====================== Test Case 75 =============================

---------------------Test Case 75 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/">
   <head>
      <base href="http://www.example.org/"></base>
      <title>Test 0075</title>
   </head>
   <body>
      This article was written by
      <a rel="dc:creator" href="jane">
         Jane
      </span>.
   </body>
</html>
----------------------------------------------------------------

---------------------Test Case 75 SPARQL -----------------------
ASK WHERE {
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0075.xhtml>
   <http://purl.org/dc/elements/1.1/creator>
      <http://www.example.org/jane> .
}
-----------------------------------------------------------------

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: Intro to the Semantic Web in 6 minutes (video)
http://blog.digitalbazaar.com/2007/12/26/semantic-web-intro
Received on Wednesday, 9 January 2008 19:45:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 January 2008 19:45:13 GMT