mirror of
https://github.com/servo/servo.git
synced 2025-08-25 07:08:21 +01:00
Update web-platform-tests to revision 0d318188757a9c996e20b82db201fd04de5aa255
This commit is contained in:
parent
b2a5225831
commit
1a81b18b9f
12321 changed files with 544385 additions and 6 deletions
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<link href="terminology1htmlrules.xml" rel="its-rules"/>
|
||||
<title>EXAMPLE</title>
|
||||
</head>
|
||||
<body>
|
||||
<p id="term">
|
||||
We may define
|
||||
<a>discoursal point of view</a>
|
||||
as
|
||||
<cite id="TDPV">
|
||||
the relationship, expressed through discourse structure, between the implied author or some other addresser, and the fiction.
|
||||
</cite>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,3 @@
|
|||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
|
||||
<its:termRule selector="//h:a[1]" term="yes" termInfoRef="#TDPV"/>
|
||||
</its:rules>
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<link href="terminology2htmlrules.xml" rel="its-rules"/>
|
||||
<title>EXAMPLE</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
We may define
|
||||
<em id="keywords">discoursal point of view</em>
|
||||
as
|
||||
<dfn id="definitions">the relationship, expressed through discourse structure, between the implied author or some other addresser, and the fiction</dfn>
|
||||
.
|
||||
</p>
|
||||
<p>
|
||||
We may define
|
||||
<em id="terms">refulgence</em>
|
||||
as
|
||||
<dfn id="refdef">a radiant or resplendent quality or state</dfn>
|
||||
</p>
|
||||
<p>
|
||||
But I'm not sure how
|
||||
<em id="term">quincunx</em>
|
||||
can be defined.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
|
@ -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:termRule selector="//h:p[2]/h:em" term="yes" termInfoPointer="../h:dfn"/>
|
||||
<its:termRule selector="//h:p[3]/h:em" term="no"/>
|
||||
<its:termRule selector="//h:p[1]/h:em" term="yes" termInfoPointer="../h:dfn"/>
|
||||
</its:rules>
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Terminology test: default</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>We need a new <span its-term="yEs" its-term-info-ref="#TDPV">motherboard</span>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<link href="terminology4htmlrules.xml" rel="its-rules"/>
|
||||
<title>EXAMPLE</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
We may define
|
||||
<em id="keywords">discoursal point of view</em>
|
||||
as
|
||||
<dfn id="definitions">the relationship, expressed through discourse structure, between the implied author or some other addresser, and the fiction</dfn>
|
||||
.
|
||||
</p>
|
||||
<p>
|
||||
We may define
|
||||
<em id="terms">refulgence</em>
|
||||
as
|
||||
<dfn id="refdef">a radiant or resplendent quality or state</dfn>
|
||||
</p>
|
||||
<p>
|
||||
But I'm not sure how
|
||||
<em id="term">quincunx</em>
|
||||
can be defined.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,7 @@
|
|||
<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="termParam">keywords</its:param>
|
||||
<its:termRule selector="//h:p[2]/h:em" term="yes" termInfoPointer="../h:dfn"/>
|
||||
<its:termRule selector="//h:p[3]/h:em[@id=$termParam]" term="no"/>
|
||||
<its:termRule selector="//h:p[1]/h:em" term="yes" termInfoPointer="../h:dfn"/>
|
||||
</its:rules>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Terminology test: default</title>
|
||||
</head>
|
||||
<body its-annotators-ref="text-analysis|file:///tools.xml#T1" >
|
||||
<p>We need a new <span its-annotators-ref="terminology|http://example.com/term-tool#T2" its-term="YeS" its-term-info-ref="#TDPV" its-term-confidence="0.5">motherboard</span>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script type="application/its+xml">
|
||||
<its:rules version="2.0" xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml">
|
||||
<its:param name="termparam">term</its:param>
|
||||
<its:termRule selector="//h:p[@id=$termparam]/h:a[1]" term="yes" termInfoRef="#TDPV"/>
|
||||
</its:rules>
|
||||
</script>
|
||||
<meta charset=utf-8>
|
||||
<title>EXAMPLE</title>
|
||||
</head>
|
||||
<body>
|
||||
<p id="term">
|
||||
We may define
|
||||
<a>discoursal point of view</a>
|
||||
as
|
||||
<cite id="TDPV">
|
||||
the relationship, expressed through discourse structure, between the implied author or some other addresser, and the fiction.
|
||||
</cite>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,11 @@
|
|||
<text
|
||||
xmlns:its="http://www.w3.org/2005/11/its" >
|
||||
<its:rules version="2.0">
|
||||
<its:termRule selector="//term" term="yes" termInfoPointer="id(@def)"/>
|
||||
</its:rules>
|
||||
<p>We may define <term def="TDPV">discoursal point of view</term>
|
||||
as <gloss xml:id="TDPV">the relationship, expressed through discourse
|
||||
structure, between the implied author or some other addresser,
|
||||
and the fiction.</gloss>
|
||||
</p>
|
||||
</text>
|
|
@ -0,0 +1,9 @@
|
|||
<text>
|
||||
<its:rules version="2.0" xmlns:its="http://www.w3.org/2005/11/its">
|
||||
<its:termRule selector="//term[1]" term="yes" termInfoRef="#TDPV"/>
|
||||
</its:rules>
|
||||
<p>We may define <term>discoursal point of view</term>
|
||||
as <gloss xml:id="TDPV">the relationship, expressed through discourse
|
||||
structure, between the implied author or some other addresser,
|
||||
and the fiction.</gloss></p>
|
||||
</text>
|
|
@ -0,0 +1,10 @@
|
|||
<text>
|
||||
<its:rules version="2.0" xmlns:its="http://www.w3.org/2005/11/its">
|
||||
<its:termRule selector="//term" term="yes"
|
||||
termInfoRefPointer="@target"/>
|
||||
</its:rules>
|
||||
<p>We may define <term target="#TDPV">discoursal point of view</term>
|
||||
as <gloss xml:id="TDPV">the relationship, expressed through discourse
|
||||
structure, between the implied author or some other addresser,
|
||||
and the fiction.</gloss></p>
|
||||
</text>
|
|
@ -0,0 +1,19 @@
|
|||
<text>
|
||||
<head>
|
||||
<its:rules version="2.0" xmlns:its="http://www.w3.org/2005/11/its"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xlink:href="terminology4xmlrules.xml">
|
||||
<its:termRule selector="//p[2]/term" term="yes"
|
||||
termInfoPointer="../gloss"/>
|
||||
<its:termRule selector="//p[3]/term" term="no"/>
|
||||
</its:rules>
|
||||
<keywords><kw>terms</kw>, <kw>rare <kw>words</kw></kw></keywords>
|
||||
</head>
|
||||
<p>We may define <term>discoursal point of view</term>
|
||||
as <def>the relationship, expressed through discourse
|
||||
structure, between the implied author or some other addresser,
|
||||
and the fiction</def>.</p>
|
||||
<p>We may define <term>refulgence</term>
|
||||
as <gloss id="refdef">a radiant or resplendent quality or state.</gloss></p>
|
||||
<p>But I'm not sure how <term>quincunx</term> can be defined.</p>
|
||||
</text>
|
|
@ -0,0 +1,5 @@
|
|||
<its:rules version="2.0" xmlns:its="http://www.w3.org/2005/11/its">
|
||||
<its:termRule selector="//term" term="yes"
|
||||
termInfoPointer="../def"/>
|
||||
<its:termRule selector="//kw" term="yes"/>
|
||||
</its:rules>
|
|
@ -0,0 +1,7 @@
|
|||
<doc its:version="2.0" xmlns:its="http://www.w3.org/2005/11/its">
|
||||
<section xml:id="S001">
|
||||
<par>A <kw its:term="yes" its:termInfoRef="http://en.wikipedia.org/wiki/Motherboard">motherboard</kw>,
|
||||
also known as a <kw its:term="yes">logic <span its:term="yes">board</span></kw> on Apple Computers,
|
||||
is the primary circuit board making up a modern computer.</par>
|
||||
</section>
|
||||
</doc>
|
|
@ -0,0 +1,7 @@
|
|||
<doc its:version="2.0" xmlns:its="http://www.w3.org/2005/11/its">
|
||||
<section xml:id="S001">
|
||||
<par>A <its:span term="yes" termInfoRef="http://en.wikipedia.org/wiki/Motherboard">motherboard</its:span>,
|
||||
also known as a <its:span term="yes">logic <its:span term="yes">board</its:span></its:span> on Apple Computers,
|
||||
is the primary circuit board making up a modern computer.</par>
|
||||
</section>
|
||||
</doc>
|
|
@ -0,0 +1,17 @@
|
|||
<text>
|
||||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
|
||||
<its:param name="termInfoRefPointer">2</its:param>
|
||||
<its:termRule selector="//p[@id=$termInfoRefPointer]/term" term="yes" termInfoRefPointer="@target"/>
|
||||
</its:rules>
|
||||
<p id="1">
|
||||
This is a glossary of terms.
|
||||
</p>
|
||||
<p id="2">
|
||||
We may define
|
||||
<term target="#TDPV">discoursal point of view</term>
|
||||
as
|
||||
<gloss xml:id="TDPV">
|
||||
the relationship, expressed through discourse structure, between the implied author or some other addresser, and the fiction.
|
||||
</gloss>
|
||||
</p>
|
||||
</text>
|
|
@ -0,0 +1,14 @@
|
|||
<text>
|
||||
<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="terminology8xmlrules.xml"/>
|
||||
<p id="1">
|
||||
This is a glossary of terms.
|
||||
</p>
|
||||
<p id="2">
|
||||
We may define
|
||||
<term target="#TDPV">discoursal point of view</term>
|
||||
as
|
||||
<gloss xml:id="TDPV">
|
||||
the relationship, expressed through discourse structure, between the implied author or some other addresser, and the fiction.
|
||||
</gloss>
|
||||
</p>
|
||||
</text>
|
|
@ -0,0 +1,4 @@
|
|||
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
|
||||
<its:param name="termInfoRefPointer">2</its:param>
|
||||
<its:termRule selector="//p[@id=$termInfoRefPointer]/term" term="yes" termInfoRefPointer="@target"/>
|
||||
</its:rules>
|
|
@ -0,0 +1,6 @@
|
|||
<book its:version="2.0" xmlns:its="http://www.w3.org/2005/11/its">
|
||||
<head>Sample file</head>
|
||||
<body its:annotatorsRef="text-analysis|file:///tools.xml#T1">
|
||||
<p>And he said: you need a new <quote its:annotatorsRef="terminology|http://example.com/term-tool#T2" its:term="yes" its:termInfoRef="http://www.directron.com/motherboards1.html" its:termConfidence="0.5">motherboard</quote></p>
|
||||
</body>
|
||||
</book>
|
Loading…
Add table
Add a link
Reference in a new issue