summaryrefslogtreecommitdiffstats
path: root/libxml2/result/xmlid
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2016-11-17 21:10:17 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2016-11-17 21:10:17 (GMT)
commit8096d34300076a1aa9cb517de49fb920a051939f (patch)
tree5f2b1b7c41f89fedc31af973d6a747ca674cfd24 /libxml2/result/xmlid
parentfc7f7edd0b8011cb71573b15462ef83068d9e54b (diff)
parent574585fa78070b0cc6b5ad22543e21a3502a122b (diff)
downloadblt-8096d34300076a1aa9cb517de49fb920a051939f.zip
blt-8096d34300076a1aa9cb517de49fb920a051939f.tar.gz
blt-8096d34300076a1aa9cb517de49fb920a051939f.tar.bz2
Merge commit '574585fa78070b0cc6b5ad22543e21a3502a122b' as 'libxml2'
Diffstat (limited to 'libxml2/result/xmlid')
-rw-r--r--libxml2/result/xmlid/id_err1.xml2
-rw-r--r--libxml2/result/xmlid/id_err1.xml.err3
-rw-r--r--libxml2/result/xmlid/id_err2.xml6
-rw-r--r--libxml2/result/xmlid/id_err2.xml.err3
-rw-r--r--libxml2/result/xmlid/id_tst1.xml6
-rw-r--r--libxml2/result/xmlid/id_tst1.xml.err0
-rw-r--r--libxml2/result/xmlid/id_tst2.xml6
-rw-r--r--libxml2/result/xmlid/id_tst2.xml.err3
-rw-r--r--libxml2/result/xmlid/id_tst3.xml6
-rw-r--r--libxml2/result/xmlid/id_tst3.xml.err6
-rw-r--r--libxml2/result/xmlid/id_tst4.xml6
-rw-r--r--libxml2/result/xmlid/id_tst4.xml.err3
12 files changed, 50 insertions, 0 deletions
diff --git a/libxml2/result/xmlid/id_err1.xml b/libxml2/result/xmlid/id_err1.xml
new file mode 100644
index 0000000..2e47afd
--- /dev/null
+++ b/libxml2/result/xmlid/id_err1.xml
@@ -0,0 +1,2 @@
+Object is a Node Set :
+Set contains 0 nodes:
diff --git a/libxml2/result/xmlid/id_err1.xml.err b/libxml2/result/xmlid/id_err1.xml.err
new file mode 100644
index 0000000..9efeb47
--- /dev/null
+++ b/libxml2/result/xmlid/id_err1.xml.err
@@ -0,0 +1,3 @@
+./test/xmlid/id_err1.xml:1: validity error : xml:id : attribute value 0bar is not an NCName
+<foo xml:id="0bar"/>
+ ^
diff --git a/libxml2/result/xmlid/id_err2.xml b/libxml2/result/xmlid/id_err2.xml
new file mode 100644
index 0000000..33ee896
--- /dev/null
+++ b/libxml2/result/xmlid/id_err2.xml
@@ -0,0 +1,6 @@
+Object is a Node Set :
+Set contains 1 nodes:
+1 ELEMENT foo
+ ATTRIBUTE id
+ TEXT
+ content=bar
diff --git a/libxml2/result/xmlid/id_err2.xml.err b/libxml2/result/xmlid/id_err2.xml.err
new file mode 100644
index 0000000..9e974d4
--- /dev/null
+++ b/libxml2/result/xmlid/id_err2.xml.err
@@ -0,0 +1,3 @@
+./test/xmlid/id_err2.xml:3: validity error : xml:id : attribute type should be ID
+<!ATTLIST foo xml:id CDATA #IMPLIED>
+ ^
diff --git a/libxml2/result/xmlid/id_tst1.xml b/libxml2/result/xmlid/id_tst1.xml
new file mode 100644
index 0000000..33ee896
--- /dev/null
+++ b/libxml2/result/xmlid/id_tst1.xml
@@ -0,0 +1,6 @@
+Object is a Node Set :
+Set contains 1 nodes:
+1 ELEMENT foo
+ ATTRIBUTE id
+ TEXT
+ content=bar
diff --git a/libxml2/result/xmlid/id_tst1.xml.err b/libxml2/result/xmlid/id_tst1.xml.err
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/libxml2/result/xmlid/id_tst1.xml.err
diff --git a/libxml2/result/xmlid/id_tst2.xml b/libxml2/result/xmlid/id_tst2.xml
new file mode 100644
index 0000000..856a320
--- /dev/null
+++ b/libxml2/result/xmlid/id_tst2.xml
@@ -0,0 +1,6 @@
+Object is a Node Set :
+Set contains 1 nodes:
+1 ELEMENT n:foo
+ ATTRIBUTE id
+ TEXT
+ content=bar
diff --git a/libxml2/result/xmlid/id_tst2.xml.err b/libxml2/result/xmlid/id_tst2.xml.err
new file mode 100644
index 0000000..390d48d
--- /dev/null
+++ b/libxml2/result/xmlid/id_tst2.xml.err
@@ -0,0 +1,3 @@
+./test/xmlid/id_tst2.xml:1: namespace error : Namespace prefix n on foo is not defined
+<n:foo xml:id="bar"/>
+ ^
diff --git a/libxml2/result/xmlid/id_tst3.xml b/libxml2/result/xmlid/id_tst3.xml
new file mode 100644
index 0000000..6d8865c
--- /dev/null
+++ b/libxml2/result/xmlid/id_tst3.xml
@@ -0,0 +1,6 @@
+Object is a Node Set :
+Set contains 1 nodes:
+1 ELEMENT f:o:o
+ ATTRIBUTE id
+ TEXT
+ content=bar
diff --git a/libxml2/result/xmlid/id_tst3.xml.err b/libxml2/result/xmlid/id_tst3.xml.err
new file mode 100644
index 0000000..7aa3e1c
--- /dev/null
+++ b/libxml2/result/xmlid/id_tst3.xml.err
@@ -0,0 +1,6 @@
+./test/xmlid/id_tst3.xml:1: namespace error : Failed to parse QName 'f:o:'
+<f:o:o xml:id="bar"/>
+ ^
+./test/xmlid/id_tst3.xml:1: namespace error : Namespace prefix f on o:o is not defined
+<f:o:o xml:id="bar"/>
+ ^
diff --git a/libxml2/result/xmlid/id_tst4.xml b/libxml2/result/xmlid/id_tst4.xml
new file mode 100644
index 0000000..33ee896
--- /dev/null
+++ b/libxml2/result/xmlid/id_tst4.xml
@@ -0,0 +1,6 @@
+Object is a Node Set :
+Set contains 1 nodes:
+1 ELEMENT foo
+ ATTRIBUTE id
+ TEXT
+ content=bar
diff --git a/libxml2/result/xmlid/id_tst4.xml.err b/libxml2/result/xmlid/id_tst4.xml.err
new file mode 100644
index 0000000..36c78c8
--- /dev/null
+++ b/libxml2/result/xmlid/id_tst4.xml.err
@@ -0,0 +1,3 @@
+./test/xmlid/id_tst4.xml:3: element err: validity error : ID bar already defined
+<err xml:id="bar"/>
+ ^