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

 
You see may hesitating a bit adding this TC to the RDFa Test Suite. I'm not sure if it is a 'good practice' to allow invalid markup to trigger triple generation. 
 
Shane, any thoughts?
 
Cheers,
Michael
 
----------------------------------------------------------
 Michael Hausenblas, MSc.
 Institute of Information Systems & Information Management
 JOANNEUM RESEARCH Forschungsgesellschaft mbH
 Steyrergasse 17, A-8010 Graz, AUSTRIA

 <office>
    phone: +43-316-876-1193 (fax:-1191)  
   e-mail: michael.hausenblas@joanneum.at
      web: http://www.joanneum.at/iis/ <https://webmail.joanneum.at/exchweb/bin/redir.asp?URL=http://www.joanneum.at/iis/> 

 <private>
   mobile: +43-660-7621761
      web: http://www.sw-app.org/ <https://webmail.joanneum.at/exchweb/bin/redir.asp?URL=http://www.sw-app.org/> 
----------------------------------------------------------


________________________________

From: public-rdf-in-xhtml-tf-request@w3.org on behalf of Manu Sporny
Sent: Wed 2008-05-14 00:45
To: RDFa mailing list
Subject: 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 Wednesday, 14 May 2008 17:04:23 UTC