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

Test Case #94: @src sets new subject - @instanceof test

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Wed, 27 Feb 2008 20:46:12 -0500
Message-ID: <47C61264.5080305@digitalbazaar.com>
To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>

Purpose:

Ensures that @src sets a new subject. This test focuses on @instanceof.

====================== Test Case 94 =============================

---------------------Test Case 94 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:foaf="http://xmlns.com/foaf/0.1/">
   <head profile="http://www.w3.org/1999/xhtml/vocab">
      <title>Test 0094</title>
   </head>
   <body>
      <img src="http://example.org/example.png"
           instanceof="foaf:Image" />
   </body>
</html>
----------------------------------------------------------------

---------------------Test Case 94 SPARQL -----------------------
ASK WHERE {
<http://example.org/example.png>
   <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
      <http://xmlns.com/foaf/0.1/Image> .
}
-----------------------------------------------------------------

-- 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, 28 February 2008 01:46:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 28 February 2008 01:46:26 GMT