summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis1xml.xml
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis1xml.xml')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis1xml.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis1xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis1xml.xml
new file mode 100644
index 0000000000..0aa9803ac3
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis1xml.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<text>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+ <its:textAnalysisRule selector="/text/body/p/*[@id='dublin']"
+ taClassRefPointer="@classref"
+ taIdentRefPointer="@identref"/>
+ <its:textAnalysisRule selector="/text/body/p/*[@id='capital']"
+ taClassRefPointer="@classref"
+ taSourcePointer="@source"
+ taIdentPointer="@ident"/>
+ </its:rules>
+ <body>
+ <p><span classref="http://nerd.eurecom.fr/ontology#Location" id="dublin" identref="http://dbpedia.org/resource/Dublin">Dublin</span> is the <span id="capital" classref="http://nerd.eurecom.fr/ontology#City" source="Wordnet3.0" ident="301467919">capital</span> of Ireland.</p>
+ </body>
+</text>