From 9cd02dc1053893f09fbf856d591248a8e4953ebe Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Mon, 2 Jul 2012 16:10:25 +0200 Subject: Validate bible against zefania xml schema --- Makefile | 1 + zef2005.xsd | 691 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 692 insertions(+) create mode 100644 zef2005.xsd diff --git a/Makefile b/Makefile index fcdfe3f..0040276 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,7 @@ chapters/%.xml: chapters/% convert.sed convert.xsl elberfelder2006.xml: $(CHAPTERS_XML) ./concat.sh > $@ + xmllint --noout --schema zef2005.xsd $@ %.zip: %.xml zip $@ $< diff --git a/zef2005.xsd b/zef2005.xsd new file mode 100644 index 0000000..5760c22 --- /dev/null +++ b/zef2005.xsd @@ -0,0 +1,691 @@ + + + + + Das Wurzelelement einer Zefania XML Bibel + The root element of a zefania xml bible modul + 3.0.0.9.1 + + + + + + + + + + + Der Name der Bibel z.B. Luther 1984 + + + This attribute holds the name of the bible text e.x. King James + + + + + + + Status des XML Moduls - "v" = Modul ist valid gegen das Schema; "w" = Modul xml ist wellformed aber nicht valid gegen Schema + + + Status of the xml modul - "v" = modul is valid according the schema; "w"= modul is wellformed xml, but not valid against the zef-schema + + + + + + + Version der Bible Markup Language z.B. "2.0.1.16" + + + Version string of the used Zefania XML-Bible e.x. "2.0.1.16" + + + + + + + Bearbeitungsstand des Moduls falls es verbessert wurde. + + + Revisions number if the modul itself was improved. + + + + + + Typ des Modulinhaltes + Typ of the modul content + + + + + + + Markiert die Grenzen eines Bibelbuches + - Surrounds a single bible book + + + + + + + + + Eine Nummer die das Buch eindeutig identifiziert z.B. "40" entspricht + + + - A number which is unambiguous for a certain bible book + + + + + + Der Buchname lang z.B. "Genesis" + + - This attribut should hold the book name in long form e.x. "Genesis" + + + + + + Der Buchname kurz z.B. "Gen" + + - This attribute holds the book book name in short form e.x. "Gen" + + + + + + + + + Clientsoftware kann APPINFO-Elemente anlegen, um eigene Einstellungen zum Modul zu speichern. + + + + + + + + + + Die appid der Clientsoftware. Hilfreich wenn ein Modul in verschiedenen Clients verwendet wird. + + + + + + + + Markiert die Grenzen eines Bibelkapitels + - Surrounds a single bible chapter + + + + + + + + + + + + + + + + Markiert die Grenzen eines Bibelverses + - Surrounds a single bible vers + + + + + + + + + + + + + Die Versnummer + The verses number + + + + + Die Versnummer kompakt + The verses number short form + + + + + + In einer Versangabe wie Gen 2, 5-7 setzt man e="7" + + Set e="7" if you have a reference like Gen 2,5-7 + + + + + + Set to true if the vers was proof read + + + + + + + Markiert die Grenzen eines Vorwortes + - Surrounds a prolog text + + + + + + + + + + + + + + + + Markiert eine Überschrift + - Surrounds a single caption + + + + + + + + + + + + Die Versnummer vor der die Caption steht + vers number to which the caption belongs to + + + + + Anzahl der Verse, die die CAPTION umfasst + count verses which the caption includes + + + + + header level enumeration x-h1 bis x-h6 + + + + + + + Markiert eine Anmerkung + Surrounds a single reamark + + + + + + + + + + + + + + + + + Markiert eine eingebaute Notiz + Surrounds a inbuild note + + + + + + + + + + + + + + + + + + Verweis auf eine externe Resource + reference to an external resource + + + + + + + Markiert Querverweise + Surrounds a inbuild cross reference + + + + + + + + + + + + Markiert grammatische Informationen + + Surrounds a word or a phrase and holds grammatical information in its attributs for the surrounded text + + + + + + + + + + + + Strongnummer + Strong number + + + + + Robinsons Morphological Analysis Codes + + + + + + + css-formatierungen. + + + + + + + + + + Depreciated + Do not use, use instead attribute fs + + + + + + + + + Depreciated + Do not use, use instead STYLE with attribute fs + + + + + + + + + + + + + + + + + + vergl:http://dublincore.org/documents/dces/ + + + + + + Titel des Moduls + + + + + Der Hersteller des Moduls + + Im Falle mehrerer Personen / Organisationen ist jede weitere in einem zusätzlichen Meta-Element aufzuführen. + + + + + + Eine Beschreibung des Inhaltes + + + + + + Die Vertriebsorganisation des ModulsVerleger, Herausgeber, Universität etc + + + + + + + Notationen zum Thema des Dokuments, mehrere getrennt durch "," + + + + + + + Name von weiteren beteiligten Personen/Institutionen/Gruppen + + + Zusätzliche Person(en) und Organisation(en) zu jenen, die im Element CREATOR genannt wurden, die einen bedeutsamen intelektuellen Beitrag zur Ressource geleistet haben, deren Beitrag aber sekundär im Verhältnis zu denen im Element CREATOR zu betrachten ist. + + + Im Falle mehrerer Personen / Organisationen ist jede weitere in einem zusätzlichen Meta-Element aufzuführen. + + + + + + Das Datum Format:YYYY-MM-DD + + + + + + Datentechnisches Format des Moduls + + + + + Kennung, die das Modul eindeutig identifiziert + + + + + + Werk, gedruckt oder elektronisch, aus dem das vorliegende Dokument stammt + + + + + + Sprache des Inhalts des Moduls + + Sprache(n) des intellektuellen Inhalts der Ressource. Falls möglich sollte der 3-stellige Sprachcode für "geschriebene Sprachen" aus ISO 639 verwendet werden.http://www.w3.org/WAI/ER/IG/ert/iso639.htm + + + + + + + + Vorgesehen für den Inhalt dieses Elements ist ein Link (URL oder andere passende URI falls zutreffend) zu einem Urhebervermerk, ein "Rights-Management"-Vermerk über die rechtlichen Bedingungen oder ggf. zu einem Server, der solche Informationen dynamisch erzeugt. + + + + + + + + + + Titel der Mediendatei + + + + + audio/video/pictures + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Höherstellung + + + + + Tieferstellung + + + + + + + + + Modul ist valid gegen Schema + Modul is valid again the schema + + + + + Modul ist wellformed + Modul is wellformed xml + + + + + + + + + + + + + + + + Neue Zeile (new line) + + + + + Neuer Absatz (new paragraph) + + + + + + + + + christliche Bibel + christian bible text + + + + + Korantext + text is a quran + + + + + Das Buch Mormom + Mormon bible + + + + + nicht bekannte Zuordnung + type is not assignable + + + + + Kult allgemein + text is from a cult like Jehovah's Witnesses + + + + + + + Aufzählung für Überschriftenlevel + Enumeration of header levels + + + + + + + + + + + + + Aufzählung für Style werte + Enumeration of style values + + + + + + + + + + + + + + + + + + + + + + + Aufzählung für NOTES Attribute werte + Enumeration of NOTES attribute values + + + + + Depreciated + Do not use + + + + + Depreciated + Do not use + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + deprecated + do not use for new modules + + + + + + + deprecated + do not use for new modules + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit