Update web-platform-tests to revision 0d318188757a9c996e20b82db201fd04de5aa255

This commit is contained in:
James Graham 2015-03-27 09:15:38 +00:00
parent b2a5225831
commit 1a81b18b9f
12321 changed files with 544385 additions and 6 deletions

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html prefix="dc: http://purl.org/dc/elements/1.1/">
<head>
<meta charset=utf-8>
<title>Test 0015</title>
<link rel="dc:source" href="urn:isbn:0140449132" />
<meta property="dc:creator" content="Fyodor Dostoevsky" />
</head>
<body>
<p></p>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html prefix="dc: http://purl.org/dc/elements/1.1/">
<head>
<meta charset=utf-8>
<title>Test 0021</title>
</head>
<body>
<div>
<span class="attribution-line">this photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</span>
</div>
</body>
</html>

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html prefix="dc: http://purl.org/dc/elements/1.1/">
<head>
<meta charset=utf-8>
<title>Test 0023</title>
</head>
<body>
<div id="photo1">
This photo was taken by
<span property="dc:creator">Mark Birbeck</span>
</div>
</body>
</html>

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html prefix="cc: http://creativecommons.org/ns#">
<head>
<meta charset=utf-8>
<title>Test 0030</title>
</head>
<body>
<p>This document is licensed under a
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
Creative Commons License
</a>.
</p>
</body>
</html>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html prefix="foaf: http://xmlns.com/foaf/0.1/">
<head>
<meta charset=utf-8>
<title>Test 0050</title>
</head>
<body>
<div typeof="foaf:Person">
<p property="foaf:name">John Doe</p>
</div>
</body>
</html>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html prefix="foaf: http://xmlns.com/foaf/0.1/">
<head>
<meta charset=utf-8>
<title>Test 0052</title>
</head>
<body>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
John Doe
</p>
</body>
</html>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html prefix="foaf: http://xmlns.com/foaf/0.1/">
<head>
<meta charset=utf-8>
<title>Test 0053</title>
</head>
<body>
<p typeof="foaf:Person" resource="http://www.example.org/#me">
<span property="foaf:name">John Doe</span>
</p>
</body>
</html>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html prefix="foaf: http://xmlns.com/foaf/0.1/">
<head typeof="foaf:Document">
<meta charset=utf-8>
<title>Test 0066</title>
</head>
<body>
<p>This is test #66.</p>
</body>
</html>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html prefix="foaf: http://xmlns.com/foaf/0.1/">
<head>
<title property="foaf:topic">Test 0067</title>
</head>
<body>
<p>This is test #67.</p>
</body>
</html>

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html prefix="cc: http://creativecommons.org/ns#">
<head>
<meta charset=utf-8>
<title>Test 0071</title>
</head>
<body>
<p>This page is under a Creative Commons
<a rel="cc:license"
href="http://creativecommons.org/licenses/by-nd/3.0/">
Attribution-No Derivatives 3.0 license</a>.
</p>
</body>
</html>

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html prefix="dc: http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/"/>
<meta charset=utf-8>
<title>Test 0074</title>
</head>
<body>
<p>
This article was written by
<a rel="dc:creator" href="jane">Jane</a>.
</p>
</body>
</html>

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html prefix="dc: http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/"/>
<meta charset=utf-8>
<title>Test 0075</title>
</head>
<body>
<p>
This page is under a Creative Commons
<a rel="license" href="http://creativecommons.org/licenses/by-nd/3.0/">Attribution-No Derivatives 3.0 license</a>.
</p>
</body>
</html>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html prefix="foaf: http://xmlns.com/foaf/0.1/">
<head>
<meta charset=utf-8>
<title>Test 0089</title>
</head>
<body>
<div>
<img src="http://example.org/example.png" typeof="foaf:Image" alt="example image" />
</div>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html prefix="ex: http://www.example.com/">
<head>
<meta charset=utf-8>
<title>Test 0115</title>
</head>
<body>
<p>Description: XML entities in the RDFa content</p>
<p>
<span property="ex:entity1">&gt;</span>
<span property="ex:entity2">Ben &amp; Co.</span>
<span property="ex:entity3">&#x40;</span>
<span property="ex:entity4">&#64;</span>
</p>
</body>
</html>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html prefix="dc: http://purl.org/dc/elements/1.1/">
<head>
<base href="http://www.example.org/tc117.xhtml#fragment"/>
<title property="dc:title">Test 0117</title>
</head>
<body>
<p>
<span property="dc:contributor">Mark Birbeck</span>
added this triple test.
</p>
</body>
</html>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test</title>
<link rel="LICENSE" href="http://example.org/test.css" />
</head>
<body>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Blank-node as Predicate Test</title>
</head>
<body>
<p>Blank Nodes are not allowed to be predicate identifiers in RDF:</p>
<p property="_:invalid">Test</p>
</body>
</html>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test</title>
</head>
<body>
<p xmlns:xmlzzz="http://example.org/" property="xmlzzz:test">Test</p>
</body>
</html>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html typeof="foaf:Document">
<head>
<title property="dc:title">Test 0214</title>
</head>
<body>
<p>This document has a title.</p>
</body>
</html>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0235</title>
</head>
<body>
<p>
The <span property="dc:title">rdfagraph</span> should not generate triples when
looking only at the processor graph.
</p>
</body>
</html>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0238</title>
</head>
<body property="undefined_term">
Undefined Term
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0239</title>
</head>
<body property="rdf:value"
resource="[undefined:curie]">
Undefined Prefix
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0240</title>
</head>
<body prefix="rdfatest: http://rdfa.info/vocabs/rdfa-test#" vocab="http://rdfa.info/vocabs/rdfa-test#">
Using the property <code property="subProp" resource="rdfatest:subProp">subProp</code>
should cause a triple with <code>baseProp</code> to be added.
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0241</title>
</head>
<body prefix="rdfatest: http://rdfa.info/vocabs/rdfa-test#" vocab="http://rdfa.info/vocabs/rdfa-test#">
Using the property <code property="eqProp" resource="rdfatest:eqProp">eqProp</code>
should cause a triple with <code>baseProp</code> to be added.
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0242</title>
</head>
<body prefix="rdfatest: http://rdfa.info/vocabs/rdfa-test#" vocab="http://rdfa.info/vocabs/rdfa-test#">
Using the property <code property="baseProp" resource="rdfatest:eqProp">eqProp</code>
should cause a triple with <code>eqProp</code> to be added.
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html prefix="ex: http://example.org/terms#">
<head>
<meta charset=utf-8>
<title>Test 0255</title>
<base href="http://example.org/"/>
</head>
<body lang="en">
<p property="ex:prop" lang="">Just a plain literal.</p>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0259</title>
</head>
<body>
<div>
Vocabulary Prefixes
<span property="grddl:">GRDDL</span>
<span property="ma:">MA</span>
<span property="owl:">OWL</span>
<span property="rdf:">RDF</span>
<span property="rdfa:">RDFa</span>
<span property="rdfs:">RDFS</span>
<span property="rif:">RIF</span>
<span property="skos:">SKOS</span>
<span property="skosxl:">SKOS-XL</span>
<span property="wdr:">WDR</span>
<span property="void:">VOID</span>
<span property="wdrs:">WDRS</span>
<span property="xhv:">XHV</span>
<span property="xml:">XML</span>
<span property="xsd:">XSD</span>
</div>
<div>
Widely Used prefixes
<span property="cc:">CC</span>
<span property="ctag:">CTAG</span>
<span property="dc:">DC</span>
<span property="dcterms:">DCTERMS</span>
<span property="foaf:">FOAF</span>
<span property="gr:">GR</span>
<span property="ical:">ICAL</span>
<span property="og:">OG</span>
<span property="rev:">REV</span>
<span property="sioc:">SIOC</span>
<span property="v:">V</span>
<span property="vcard:">VCARD</span>
<span property="schema:">Schema</span>
</div>
<div>
Vocabulary Terms
<span property="describedby">DescribedBy</span>
<span property="license">License</span>
<span property="role">Role</span>
</div>
</body></html>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html property="rdfs:seeAlso" resource="http://www.example.org">
<head >
<meta charset=utf-8>
<title>Test 0263</title>
</head>
<body>
<p> </p>
</body>
</html>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head property="rdfs:seeAlso" resource="http://www.example.org">
<meta charset=utf-8>
<title>Test 0264</title>
</head>
<body>
<p> </p>
</body>
</html>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0272</title>
</head>
<body>
<time property="rdf:value" datetime="2012-03-18">18 March 2012</time>
</body>
</html>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0273</title>
</head>
<body>
<time property="rdf:value" datetime="00:00:00">midnight</time>
</body>
</html>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0274</title>
</head>
<body>
<time property="rdf:value" datetime="2012-03-18T00:00:00Z">18 March 2012 at midnight</time>
</body>
</html>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0275</title>
</head>
<body>
<time property="rdf:value">2012-03-18</time>
</body>
</html>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0275</title>
</head>
<body>
<time property="rdf:value">00:00:00</time>
</body>
</html>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0277</title>
</head>
<body>
<time property="rdf:value">2012-03-18T00:00:00Z</time>
</body>
</html>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0281</title>
</head>
<body>
<time property="rdf:value" datetime="2012">Two Thousand Twelve</time>
</body>
</html>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0282</title>
</head>
<body>
<time property="rdf:value" datetime="2012-03">March, Two Thousand Twelve</time>
</body>
</html>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0283</title>
</head>
<body>
<time property="rdf:value"> 2012-03-18</time>
</body>
</html>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0287</title>
</head>
<body>
<time property="rdf:value" datetime="2012-03-18T00:00:00-08:00">18 March 2012 at midnight in San Francisco</time>
</body>
</html>

View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0296</title>
</head>
<body>
<div vocab="http://xmlns.com/foaf/0.1/" resource="http://example.com/gregg/#me" typeof="Person">
<a property="homepage" href="http://example.com/gregg/"><span property="name">Gregg</span></a>
Knows
<ul>
<li property="knows" resource="http://example.com/niklas/#me" typeof="Person">
<a property="homepage" href="http://example.com/niklas/"><span property="name">Niklas</span></a>
</li>
<li property="knows" resource="http://example.com/stéphane/#me" typeof="Person">
<a property="homepage" href="http://example.com/stéphane/"><span property="name">Stéphane</span></a>
</li>
<li property="knows" resource="http://example.com/ivan/#me" typeof="Person">
<a property="homepage" href="http://example.com/ivan/"><span property="name">Ivan</span></a>
</li>
<li property="knows" resource="http://example.com/manu/#me" typeof="Person">
<a property="homepage" href="http://example.com/manu/"><span property="name">Manu</span></a>
</li>
</ul>
</div>
</body>
</html>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0301: Typed Property</title>
</head>
<body>
<p vocab="http://www.milowski.com/V/" property="bit" typeof="thing">
<span property="name">Fizzbit</span>
</p>
</body>
</html>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0302: various types of tokens in @typeof</title>
</head>
<body>
<div vocab="http://schema.org/" resource="http://openspring.net/scor#me" typeof="Person foaf:Person http://purl.org/dc/terms/Agent">
<a property="homepage" href="http://openspring.net/"><span property="name">Stéphane Corlosquet</span></a>
</div>
</body>
</html>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0305</title>
</head>
<body>
<div id="heading1" role="heading">
<p>Some contents that are a header</p>
</div>
</body>
</html>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0306</title>
<base href="http://www.example.com/tests/0306"/>
</head>
<body>
<div id="heading1" role="heading">
<p>Some contents that are a header</p>
</div>
</body>
</html>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0307</title>
</head>
<body>
<div role="heading">
<p>Some contents that are a header</p>
</div>
</body>
</html>

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0311</title>
</head>
<body>
<div>
<span class="attribution-line">this photo was taken by
<span property="">Stéphane Corlosquet</span>
</span>
</div>
</body>
</html>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0312</title>
</head>
<body>
<p vocab="http://schema.org/" typeof="Person">
The homepage of <a href="http://example.org/" property="homepage" rel="nofollow">Some Body</a>.
</p>
</body>
</html>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0313</title>
</head>
<body prefix="rdfa: http://www.example.org/" resource="http://www.example.com">
<p property="rdfa:erronouslyRedefinedProperty">Foo</p>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<base href="http://example.com/"/>
<meta charset=utf-8>
<title>Test 0319</title>
</head>
<body prefix="pr: relative/iri#" xmlns:xpr="relative/uri#">
<p property="pr:prop xpr:prop">value</p>
</body>
</html>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0321</title>
</head>
<body vocab="http://schema.org/">
<div typeof="Person">
<link property="rdfa:copy" resource="_:a"/>
</div>
<p resource="_:a" typeof="rdfa:Pattern">Name: <span property="name">Amanda</span></p>
</body>
</html>

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0322</title>
</head>
<body vocab="http://schema.org/">
<div typeof="Person">
<p>My name is <span property="name">Gregg</span></p>
<link property="rdfa:copy" resource="_:surname"/>
</div>
<p resource="_:surname" typeof="rdfa:Pattern">My name is <span property="name">Kellogg</span></p>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0323</title>
</head>
<body>
<div typeof="schema:Person">
<link property="rdfa:copy" resource="_:a"/>
</div>
<div typeof="foaf:Person">
<link property="rdfa:copy" resource="_:a"/>
</div>
<p resource="_:a" typeof="rdfa:Pattern">Name: <span property="schema:name foaf:name">Amanda</span></p>
</body>
</html>

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Test 0324</title>
</head>
<body>
<div typeof="schema:Person">
<link property="rdfa:copy" resource="_:a"/>
<link property="rdfa:copy" resource="_:b"/>
</div>
<p resource="_:a" typeof="rdfa:Pattern">Name: <span property="schema:name">Amanda</span></p>
<p resource="_:b" typeof="rdfa:Pattern"><span property="schema:band">Jazz Band</span></p>
</body>
</html>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<base href="http://example.org/"/>
<meta charset=utf-8>
<title>Test 0325</title>
</head>
<body vocab="http://schema.org/">
<div resource="#foo" typeof=""><link property="rdfa:copy" resource="_:a"/></div>
<div resource="#bar" typeof=""><link property="rdfa:copy" resource="_:a"/></div>
<div resource="_:a" typeof="rdfa:Pattern">
<div property="schema:refers-to" typeof="">
<span property="schema:name">Amanda</span>
</div>
</div>
</body>
</html>

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<base href="http://example.com/"/>
<meta charset=utf-8>
<title>Test 0326</title>
</head>
<body vocab="http://schema.org/">
<div resource="#referencing" typeof="Person">
<link property="rdfa:copy" resource="#referenced"/>
</div>
<p resource="#referenced" typeof="rdfa:Pattern">Name: <span property="name">Bella</span></p>
<p resource="#unreferenced" typeof="rdfa:Pattern">Name: <span property="name">Lola</span></p>
</body>
</html>

View file

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<base href="http://example.com/"/>
<meta charset=utf-8>
<title>Test 0327</title>
</head>
<body>
<div typeof="schema:Person">
<link property="rdfa:copy" resource="_:a"/>
<link property="rdfa:copy" resource="_:b"/>
</div>
<p resource="_:a" typeof="rdfa:Pattern">Name: <span property="schema:name">Amanda</span></p>
<div resource="_:b" typeof="rdfa:Pattern">
<div property="schema:band" typeof=" schema:MusicGroup">
<link property="rdfa:copy" resource="_:c"/>
</div>
</div>
<div resource="_:c" typeof="rdfa:Pattern">
<p>Band: <span property="schema:name">Jazz Band</span></p>
<p>Size: <span property="schema:size">12</span> players</p>
</div>
</body>
</html>