- From: Manu Sporny <msporny@digitalbazaar.com>
- Date: Wed, 23 Jan 2008 16:20:36 -0500
- To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>
Purpose: Tests to ensure that all reserved XHTML @rev words are supported by the underlying parser implementation. These are the reserved words that are supported: alternate appendix bookmark chapter contents copyright glossary help icon index meta next p3pv1 prev role section subsection start license up ====================== Test Case 77 ============================= ---------------------Test Case 77 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"> <head> <title>Test 0077</title> </head> <body> <p> <span about="http://example.org/alternate" rev="alternate" href="0077.xhtml">alternate</span> <span about="http://example.org/appendix" rev="appendix" href="0077.xhtml">appendix</span> <span about="http://example.org/bookmark" rev="bookmark" href="0077.xhtml">bookmark</span> <span about="http://example.org/chapter" rev="chapter" href="0077.xhtml">chapter</span> <span about="http://example.org/contents" rev="contents" href="0077.xhtml">contents</span> <span about="http://example.org/copyright" rev="copyright" href="0077.xhtml">copyright</span> <span about="http://example.org/glossary" rev="glossary" href="0077.xhtml">glossary</span> <span about="http://example.org/help" rev="help" href="0077.xhtml">help</span> <span about="http://example.org/icon" rev="icon" href="0077.xhtml">icon</span> <span about="http://example.org/index" rev="index" href="0077.xhtml">index</span> <span about="http://example.org/meta" rev="meta" href="0077.xhtml">meta</span> <span about="http://example.org/next" rev="next" href="0077.xhtml">next</span> <span about="http://example.org/p3pv1" rev="p3pv1" href="0077.xhtml">p3pv1</span> <span about="http://example.org/prev" rev="prev" href="0077.xhtml">prev</span> <span about="http://example.org/role" rev="role" href="0077.xhtml">role</span> <span about="http://example.org/section" rev="section" href="0077.xhtml">section</span> <span about="http://example.org/subsection" rev="subsection" href="0077.xhtml">subsection</span> <span about="http://example.org/start" rev="start" href="0077.xhtml">start</span> <span about="http://example.org/license" rev="license" href="0077.xhtml">license</span> <span about="http://example.org/up" rev="up" href="0077.xhtml">up</span> </p> </body> </html> ---------------------------------------------------------------- ---------------------Test Case 77 SPARQL ----------------------- ASK WHERE { <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#alternate> <http://example.org/alternate> . <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#appendix> <http://example.org/appendix> . <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#bookmark> <http://example.org/bookmark> . <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#chapter> <http://example.org/chapter> . <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#contents> <http://example.org/contents> . <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#copyright> <http://example.org/copyright> . <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#glossary> <http://example.org/glossary> . <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#help> <http://example.org/help> . <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#icon> <http://example.org/icon> . <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#index> <http://example.org/index> . <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#meta> <http://example.org/meta> . <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#next> <http://example.org/next> . <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#p3pv1> <http://example.org/p3pv1> . <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#prev> <http://example.org/prev> . <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#role> <http://example.org/role> . <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#section> <http://example.org/section> . <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#subsection> <http://example.org/subsection> . <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#start> <http://example.org/start> . <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#license> <http://example.org/license> . <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml> <http://www.w3.org/1999/xhtml/vocab#up> <http://example.org/up> . } ----------------------------------------------------------------- -- manu PS: Bash scripts to generate the HTML and SPARQL for this test: HTML: for i in alternate appendix bookmark chapter contents copyright glossary help icon index meta next p3pv1 prev role section subsection start license up; do echo " <span about=\"http://example.org/$i\" rev=\"$i\""; echo " href=\"0077.xhtml\">$i</span>"; done SPARQL: for i in alternate appendix bookmark chapter contents copyright glossary help icon index meta next p3pv1 prev role section subsection start license up; do echo "<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0077.xhtml>"; echo " <http://www.w3.org/1999/xhtml/vocab#$i>"; echo " <http://example.org/$i> ."; done -- 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, 23 January 2008 21:20:50 UTC