summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--versification/af.xml2
-rw-r--r--versification/bible.xml4
-rw-r--r--versification/canon.xsd34
-rw-r--r--versification/classical.xml2
-rw-r--r--versification/lds.xml2
-rw-r--r--versification/naghammadi.xml2
-rw-r--r--versification/nta.xml2
-rw-r--r--versification/otp.xml2
-rw-r--r--versification/qumran.xml2
9 files changed, 43 insertions, 9 deletions
diff --git a/versification/af.xml b/versification/af.xml
index 7cf68a0..d0a7121 100644
--- a/versification/af.xml
+++ b/versification/af.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<collection>
+<collection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="canon.xsd">
<!-- Collection name: af -->
<!-- Apostolic Fathers -->
diff --git a/versification/bible.xml b/versification/bible.xml
index 75d3e2b..e97ecf6 100644
--- a/versification/bible.xml
+++ b/versification/bible.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<collection>
+<collection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="canon.xsd">
<!-- Collection name: bible -->
<!-- Old Testament -->
<book>
@@ -63,7 +63,7 @@
</book>
<book>
<id>2Kgs</id>
- <abbr>2Ki</abbr>
+ <abbr>2Ki</abbr>
<name>II Kings</name>
</book>
<book>
diff --git a/versification/canon.xsd b/versification/canon.xsd
new file mode 100644
index 0000000..dc17157
--- /dev/null
+++ b/versification/canon.xsd
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:element name="name">
+ <xs:simpleType>
+ <xs:restriction base="xs:string"/>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="id">
+ <xs:simpleType>
+ <xs:restriction base="xs:string"/>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="collection">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="book" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="book">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="id"/>
+ <xs:element ref="abbr" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="name" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="abbr">
+ <xs:simpleType>
+ <xs:restriction base="xs:string"/>
+ </xs:simpleType>
+ </xs:element>
+</xs:schema>
diff --git a/versification/classical.xml b/versification/classical.xml
index f5cee19..0a25f8d 100644
--- a/versification/classical.xml
+++ b/versification/classical.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<collection>
+<collection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="canon.xsd">
<!-- Collection name: classical -->
diff --git a/versification/lds.xml b/versification/lds.xml
index bbea06f..2d04802 100644
--- a/versification/lds.xml
+++ b/versification/lds.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<collection>
+<collection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="canon.xsd">
<!-- Collection name: lds -->
diff --git a/versification/naghammadi.xml b/versification/naghammadi.xml
index 90ad6f9..2b52440 100644
--- a/versification/naghammadi.xml
+++ b/versification/naghammadi.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<collection>
+<collection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="canon.xsd">
<!-- Collection name: naghammadi -->
diff --git a/versification/nta.xml b/versification/nta.xml
index 2cab0b0..1ff8617 100644
--- a/versification/nta.xml
+++ b/versification/nta.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<collection>
+<collection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="canon.xsd">
<!-- Collection name: nta -->
<!-- New Testament Apocrypha -->
diff --git a/versification/otp.xml b/versification/otp.xml
index d8968ae..7cdbd63 100644
--- a/versification/otp.xml
+++ b/versification/otp.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<collection>
+<collection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="canon.xsd">
<!-- Collection name: otp -->
diff --git a/versification/qumran.xml b/versification/qumran.xml
index 475e15b..e06204a 100644
--- a/versification/qumran.xml
+++ b/versification/qumran.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<collection>
+<collection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="canon.xsd">
<!-- Collection name: qumran -->