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,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<link href="domain1htmlrules.xml" rel="its-rules"/>
<meta name="keywords" content="automotive"/>
<title>Domain HTML</title>
</head>
<body>
<p>The new car from XYZ - buy it now!</p>
</body>
</html>

View file

@ -0,0 +1,5 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:domainRule selector="/h:html/h:body"
domainPointer="/h:html/h:head/h:meta[@name='keywords']/@content"/>
</its:rules>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<link href="domain2htmlrules.xml" rel="its-rules"/>
<meta name="keywords" content="automotive"/>
<title>Domain HTML</title>
</head>
<body>
<p>The new car from XYZ - buy it now!</p>
</body>
</html>

View file

@ -0,0 +1,6 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:domainRule selector="/h:html/h:body"
domainPointer="/h:html/h:head/h:meta[@name='keywords']/@content"
domainMapping="automotive auto, medical medicine, 'criminal law' law, 'property law' law"/>
</its:rules>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<link href="domain3htmlrules.xml" rel="its-rules"/>
<meta name="keywords" content="sports law"/>
<title>Sports law</title>
</head>
<body>
<p>
Sports law is an umbrella term used to describe the legal issues at work in the world of both amateur and professional sports.
</p>
<p>
Sports law overlaps substantially with labor law, contract law, competition or antitrust law, and tort law.
</p>
</body>
</html>

View file

@ -0,0 +1,4 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:param name="domainParam">keywords</its:param>
<its:domainRule selector="/h:html/h:body" domainPointer="/h:html/h:head/h:meta[@name=$domainParam]/@content" domainMapping="'sports law' law, 'labor law' law, 'contract law' law, 'competition law' law,'tort law' law"/>
</its:rules>

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<meta name="keywords" content="SPORTS LAW, Judicial Matters"/>
<meta property="mykeywords" content="Sport, Law"/>
<script type="application/its+xml">
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:param name="domainParam">keywords</its:param>
<its:domainRule selector="/h:html/h:body" domainPointer="/h:html/h:head/h:meta[@property='mykeywords' or @name=$domainParam]/@content" domainMapping="'sports law' LAW, 'labor law' LAW, 'contract law' LAW, 'competition law' LAW,'tort law' LAW"/>
</its:rules>
</script>
<title>Sports law</title>
</head>
<body>
<p>Some text about sport and law.</p>
</body>
</html>

View file

@ -0,0 +1,13 @@
<doc>
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:domainRule selector="/doc/body"
domainPointer="/doc/head/meta[@name='DC.subject']/@content"
/>
</its:rules>
<meta name="DC.subject" content="automotive"/>
</head>
<body>
<p>The new car from XYZ - buy it now!</p>
</body>
</doc>

View file

@ -0,0 +1,14 @@
<doc>
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:domainRule selector="/doc/body"
domainPointer="/doc/head/meta[@name='DC.subject']/@content"
domainMapping="automotive auto, 'criminal law' law, 'property law' law"
/>
</its:rules>
<meta name="DC.subject" content="automotive"/>
</head>
<body>
<p>The new car from XYZ - buy it now!</p>
</body>
</doc>

View file

@ -0,0 +1,10 @@
<text>
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="domain4xmlrules.xml"/>
<meta name="DC.subject" content="sports law"/>
</head>
<body>
<p>Sports law is an umbrella term used to describe the legal issues at work in the world of both amateur and professional sports.</p>
<p>Sports law overlaps substantially with labor law, contract law, competition or antitrust law, and tort law.</p>
</body>
</text>

View file

@ -0,0 +1,6 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:domainRule selector="/text/body"
domainPointer="/text/head/meta[@name='DC.subject']/@content"
domainMapping="'sports law' law, 'labor law' law, 'contract law' law, 'competition law' law,'tort law' law"
/>
</its:rules>

View file

@ -0,0 +1,17 @@
<text>
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:type="simple" xlink:href="domain5xmlrules.xml"/>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:domainRule selector="/text/body/span" domainPointer="/text/head/meta[@name='DC.type']/@content" domainMapping="'sports law' amateur"/>
</its:rules>
<meta name="DC.subject" content="sports law"/>
<meta name="DC.type" content="sports law"/>
</head>
<body>
<p>
Sports law is an umbrella term used to describe the legal issues at work in the world of both amateur and professional sports.
Sports law overlaps substantially with labor law, contract law, competition or antitrust law, and tort law.
</p>
<span id="amateursports">Unlike intercollegiate sports, international amateur sports are run by a variety of organizations. </span>
</body>
</text>

View file

@ -0,0 +1,6 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:domainRule selector="/text/body"
domainPointer="/text/head/meta[@name='DC.subject']/@content"
domainMapping="'sports law' law,'labor law' law,'contract law' law,'competition law' law,'tort law' law"
/>
</its:rules>

View file

@ -0,0 +1,19 @@
<text>
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:param name="domainParam">DC.type</its:param>
<its:domainRule selector="/text/body/p" domainPointer="/text/head/meta[@name=$domainParam]/@content" domainMapping="'Poetry literature' poetry"/>
</its:rules>
<meta name="DC.type" content="Poetry literature"/>
</head>
<body>
<p>
<span>
A poem is a composition written in verse (although verse has also been used for epic and dramatic fiction).
</span>
<span>
Poems make use of the aesthetic qualities of language to suggest differential meanings and to evoke emotive responses. Poems rely heavily on imagery and metaphor; they may have a rhythmic structure based on patterns of stresses (metric feet) or on patterns of different-length syllables (as in classical prosody); and they may or may not utilize rhyme.
</span>
</p>
</body>
</text>

View file

@ -0,0 +1,16 @@
<text>
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="domain7xmlrules.xml"/>
<meta name="DC.type" content="Poetry literature"/>
</head>
<body>
<p>
<span>
A poem is a composition written in verse (although verse has also been used for epic and dramatic fiction).
</span>
<span>
Poems make use of the aesthetic qualities of language to suggest differential meanings and to evoke emotive responses. Poems rely heavily on imagery and metaphor; they may have a rhythmic structure based on patterns of stresses (metric feet) or on patterns of different-length syllables (as in classical prosody); and they may or may not utilize rhyme.
</span>
</p>
</body>
</text>

View file

@ -0,0 +1,4 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:param name="domainParam">DC.type</its:param>
<its:domainRule selector="/text/body/p" domainPointer="/text/head/meta[@name=$domainParam]/@content" domainMapping="'Poetry literature' poetry"/>
</its:rules>