summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/relaxng/.memdump4
-rw-r--r--test/relaxng/list.rng23
-rw-r--r--test/relaxng/list_0.xml1
-rw-r--r--test/relaxng/list_1.xml1
-rwxr-xr-xtest/schemas/bug152470_1.xsd2
5 files changed, 28 insertions, 3 deletions
diff --git a/test/relaxng/.memdump b/test/relaxng/.memdump
index 9849352..840a248 100644
--- a/test/relaxng/.memdump
+++ b/test/relaxng/.memdump
@@ -1,4 +1,4 @@
- 01:31:31 PM
+ 03:32:41 PM
- MEMORY ALLOCATED : 0, MAX was 36632
+ MEMORY ALLOCATED : 0, MAX was 28962
BLOCK NUMBER SIZE TYPE
diff --git a/test/relaxng/list.rng b/test/relaxng/list.rng
new file mode 100644
index 0000000..57de17c
--- /dev/null
+++ b/test/relaxng/list.rng
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<grammar
+ xmlns="http://relaxng.org/ns/structure/1.0"
+ xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
+ datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+
+<define name="pattern1">
+ <data type="string">
+ <param name="pattern">-?([0-9]+(\.[0-9]*)?|\.[0-9]+)</param>
+ </data>
+</define>
+
+<start>
+ <element name="elem1">
+ <attribute name="attr1">
+ <list>
+ <ref name="pattern1"/>
+ </list>
+ </attribute>
+ </element>
+</start>
+
+</grammar>
diff --git a/test/relaxng/list_0.xml b/test/relaxng/list_0.xml
new file mode 100644
index 0000000..a6b4d60
--- /dev/null
+++ b/test/relaxng/list_0.xml
@@ -0,0 +1 @@
+<elem1 attr1="0"/>
diff --git a/test/relaxng/list_1.xml b/test/relaxng/list_1.xml
new file mode 100644
index 0000000..a8907cc
--- /dev/null
+++ b/test/relaxng/list_1.xml
@@ -0,0 +1 @@
+<elem1 attr1="a"/>
diff --git a/test/schemas/bug152470_1.xsd b/test/schemas/bug152470_1.xsd
index 877a655..7fc9747 100755
--- a/test/schemas/bug152470_1.xsd
+++ b/test/schemas/bug152470_1.xsd
@@ -13,7 +13,7 @@
<complexType name="Identifier">
<choice>
- <element name="keyIdentifier" type="roap:KeyIdentifier"/>
+ <element name="keyIdentifier" type="roap:X509SPKIHash"/> <!-- was: type="roap:KeyIdentifier" -->
</choice>
</complexType>