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

Test Case #73: @about with relative URL using XHTML @xml:base

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Wed, 02 Jan 2008 21:41:07 -0500
Message-ID: <477C4B43.2090600@digitalbazaar.com>
To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>

Purpose:

Tests to ensure that relative URLs are resolved correctly when used in
@about when using xml:base.

====================== Test Case 73 =============================

---------------------Test Case 73 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>
      <title>Test 0073</title>
   </head>
   <body xml:base="http://www.example.org/#">
      <p about="faq">
         Learn more by reading the example.org
         <span property="dc:title">Example FAQ</span>.
      </p>
   </body>
</html>
----------------------------------------------------------------

---------------------Test Case 73 SPARQL -----------------------
ASK WHERE {
<http://www.example.org/#faq>
   <http://purl.org/dc/elements/1.1/title>
      "Example FAQ" .
}
-----------------------------------------------------------------

-- 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 Thursday, 3 January 2008 02:41:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:20 GMT