summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis7xml.xml
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis7xml.xml')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis7xml.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis7xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis7xml.xml
new file mode 100644
index 0000000000..f69754392f
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis7xml.xml
@@ -0,0 +1,14 @@
+<?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']"
+ taSourcePointer="@source"
+ taIdentPointer="@ident"/>
+ </its:rules>
+ <body>
+ <p><span classref="http://nerd.eurecom.fr/ontology#Location" identref="http://dbpedia.org/resource/Dublin" id="dublin">Dublin</span> is the <span source="Wordnet3.0" ident="301467919" id="capital">capital</span> of Ireland.</p>
+ </body>
+</text>