- From: Manu Sporny <msporny@digitalbazaar.com>
- Date: Wed, 17 Sep 2008 17:26:46 -0400
- To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>
Purpose:
Test to ensure that an element with a @property attribute and no child
nodes generates an empty plain literal. This test exists to clarify step
#9 of the RDFa Syntax processing rules.
====================== Test Case 114 =============================
---------------------Test Case 114 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 0114</title>
</head>
<body>
<span about="#a" property="dc:title"></span>
<span about="#b" property="dc:title" />
</body>
</html>
------------------------------------------------------------------
---------------------Test Case 114 SPARQL -----------------------
ASK WHERE {
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0114.xhtml#a>
<http://purl.org/dc/elements/1.1/title>
"" .
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0114.xhtml#b>
<http://purl.org/dc/elements/1.1/title>
"" .
}
-----------------------------------------------------------------
-- manu
--
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: Bitmunk 3.0 Website Launches
http://blog.digitalbazaar.com/2008/07/03/bitmunk-3-website-launches
Received on Wednesday, 17 September 2008 21:27:28 UTC