add schemas and catalog

Change-Id: I271e13d4b6db999f6d56c2f923a1d7c493fee172
diff --git a/KorAP_schemas/ids.xheader.elt b/KorAP_schemas/ids.xheader.elt
new file mode 100644
index 0000000..cb66da4
--- /dev/null
+++ b/KorAP_schemas/ids.xheader.elt
@@ -0,0 +1,480 @@
+
+<!--  IDSXCES-Header                                          -->
+<!--                                                          -->
+<!--  $Id: ids.xheader.elt 41 2007-09-14 09:55:13Z kupietz $ 
+                                                              -->
+<!-- based on:                                                -->
+<!--                                                          -->
+<!--                      THE CES HEADER                      -->
+<!--                                                          -->
+<!--        This is the entity ces.header used in the         -->
+<!--            Corpus Encoding Standard DTDs.                -->
+<!--                                                          -->
+<!--          It is referred to in those DTDs as              -->
+<!--         PUBLIC "-//CES//ENTITIES Header//EN"             -->
+<!--                                                          -->
+<!--  
+                                                              -->
+<!ENTITY % a.header '%a.global;'                                 >
+
+<!ENTITY % a.declarable '
+           default            (y | n)          "n"'               >
+
+<!ELEMENT idsHeader          (fileDesc, encodingDesc?,
+                             profileDesc?, revisionDesc?)       >
+<!ATTLIST idsHeader             %a.header;
+          type               CDATA               "text"
+          pattern              CDATA               "text"
+          creator            CDATA               #IMPLIED
+          status             (new | update)      "new"
+          date.created       CDATA               #IMPLIED
+          date.updated       CDATA               #IMPLIED
+          version            CDATA               #REQUIRED      
+          TEIform            CDATA               'teiHeader'    >
+
+<!--          File Description                                -->
+
+<!ELEMENT fileDesc        (titleStmt, editionStmt?,
+                             extent?, publicationStmt,
+                             sourceDesc+ )                      >
+<!ATTLIST fileDesc           %a.header;                         >
+
+<!--          Title statement                                 -->
+
+<!ELEMENT h.title         ( #PCDATA )                        >
+<!ATTLIST h.title           %a.header;                          
+	  type              (main | sub | abbr) "main"
+	  level             (m | a)             #IMPLIED         >
+
+
+
+<!-- Motivation : Innerhalb von biblFull wird eine Titelangabe 
+		  durch titleStmt benoetigt. Diese entspricht aber
+		  keiner der bisherigen drei Kategorien.
+		  Daher Hinzunahme von x.title analog der
+		  CES-Vorgabe h.title.
+-->
+
+<!ELEMENT titleStmt       ((korpusSigle , c.title , respStmt*) |
+                              (dokumentSigle , d.title , respStmt* ) |
+                              (textSigle , t.title ,  respStmt* ) |
+                              (x.title ,  respStmt* )) >
+<!ATTLIST titleStmt          %a.header;                         >
+
+<!ELEMENT korpusSigle         ( #PCDATA )                        >
+<!ATTLIST korpusSigle           %a.header;                          >
+
+<!ELEMENT c.title         ( #PCDATA )                        >
+<!ATTLIST c.title           %a.header;                          >
+
+<!ELEMENT dokumentSigle         ( #PCDATA )                        >
+<!ATTLIST dokumentSigle           %a.header;                          >
+
+<!ELEMENT d.title         ( #PCDATA )                        >
+<!ATTLIST d.title           %a.header;                          >
+
+<!ELEMENT textSigle         ( #PCDATA )                        >
+<!ATTLIST textSigle           %a.header;                          >
+
+<!-- Motivation: Einrichtung des Attributs assemblage nach Modifikation
+		 der Quellennachweise von al-Wadi (06.05.03) --> 
+
+<!ELEMENT t.title         ( #PCDATA )                        >
+<!ATTLIST t.title           %a.header;                           
+	  assemblage      (external | regular | non-automatic) #IMPLIED >
+
+<!-- Motivation : x.title analog der CES-Vorgabe h.title. -->
+
+<!ELEMENT x.title         ( #PCDATA )                        >
+<!ATTLIST x.title           %a.header;                          >
+
+<!ELEMENT respStmt        ((respType, respName), (respType
+                             | respName)*)                      >
+<!ATTLIST respStmt           %a.header;                         >
+
+<!ELEMENT respType        (#PCDATA)                          >
+<!ATTLIST respType           %a.header;                         >
+
+<!ELEMENT respName        (#PCDATA)                          >
+<!ATTLIST respName           %a.header;                         >
+
+
+<!--          Edition Statement                               -->
+
+<!ELEMENT editionStmt     (#PCDATA)                          >
+<!ATTLIST editionStmt        %a.header;
+          version            CDATA                #IMPLIED      >
+
+<!--          Extent statement                                -->
+
+<!ELEMENT extent          (wordCount, byteCount, extNote* )  >
+<!ATTLIST extent             %a.header;                         >
+
+<!ELEMENT wordCount       (#PCDATA )                         >
+<!ATTLIST wordCount          %a.header;                         >
+
+<!ELEMENT byteCount       (#PCDATA )                         >
+<!ATTLIST byteCount          %a.header;
+          units              (bytes | kb| mb | gb)     "kb"            >
+
+<!ELEMENT extNote         (#PCDATA )                         >
+<!ATTLIST extNote            %a.header;                         >
+
+
+<!--          Publication statement                           -->
+
+<!ELEMENT publicationStmt
+                          (distributor, pubAddress,
+                             telephone*, fax*, 
+                             eAddress*, idno*,
+                             availability, pubDate )            >
+<!ATTLIST publicationStmt    %a.header;                         >
+
+<!ELEMENT distributor     (#PCDATA )                         >
+<!ATTLIST distributor        %a.header;                         >
+
+
+<!ELEMENT pubAddress      (#PCDATA )                         >
+<!ATTLIST pubAddress         %a.header;                         >
+
+<!ELEMENT telephone       (#PCDATA )                         >
+<!ATTLIST telephone          %a.header;                         >
+
+<!ELEMENT fax             (#PCDATA )                         >
+<!ATTLIST fax                %a.header;                         >
+
+
+<!ELEMENT eAddress        (#PCDATA )                         >
+<!ATTLIST eAddress           %a.header;
+          type               CDATA               "email"          >
+
+<!ELEMENT idno            (#PCDATA )                         >
+<!ATTLIST idno               %a.header;
+          type               CDATA               "ISBN"           >
+
+<!ELEMENT availability    (#PCDATA )                         >
+<!ATTLIST availability       %a.header;
+          region             CDATA               "world"
+          status             (free | unknown | restricted)
+                                               "unknown"          >
+<!ELEMENT pubDate         (#PCDATA )                         >
+<!ATTLIST pubDate            %a.header;
+          type               (year | month | day)    #IMPLIED       >
+
+
+
+<!--          Source description                              -->
+
+<!ELEMENT sourceDesc      ((biblFull | biblStruct)+,reference*)         >
+<!ATTLIST sourceDesc         %a.header;
+                             %a.declarable;                     >
+
+<!-- Motivation: Anpassung des Attributs 'assemblage' an Modifikation
+		 der Quellennachweise von al-Wadi (06.05.03), 
+		 Analoge Einrichtung des Attributs 'existence' und
+		 Uebernahme des Attributs 'origin' -->
+
+<!ELEMENT reference      (#PCDATA)         >
+<!ATTLIST reference     %a.header;  
+	  type		  (complete | super | short | former) #IMPLIED
+	  assemblage      (external | regular | non-automatic) #IMPLIED
+	  existence       (no | yes) #IMPLIED
+          origin          (BOTfile | notBOTfile) #IMPLIED      >
+
+
+<!--   Bibliographic citation for non-electronic source       -->
+
+<!ELEMENT h.bibl            (#PCDATA )                       >
+<!ATTLIST h.bibl               %a.header;                       >
+
+<!ELEMENT biblStruct      (analytic?, monogr+)               >
+<!ATTLIST biblStruct         %a.header;
+                             %a.declarable;                     >
+
+<!ELEMENT analytic          (h.title+,
+                             (h.author | editor)*,
+                             (biblScope | biblNote)*,           
+                             (edition, respStmt?)*, 
+                             imprint+, idno*,
+                             (biblNote | biblScope)* )          >
+
+<!ATTLIST analytic             %a.header;                         >
+
+<!-- editor: hinzu 26.07 -->
+<!ELEMENT monogr          (h.title+,
+                             (h.author | editor)*,
+                             (biblScope | biblNote)*,           
+                             (edition, respStmt?)*, 
+                             imprint+, idno*,
+                             (biblNote | biblScope)* )          >
+
+<!ATTLIST monogr             %a.header;                         >
+
+<!ELEMENT h.author        (#PCDATA)                          >
+<!ATTLIST h.author           %a.header;                         >
+
+<!ELEMENT editor        (#PCDATA)                          >
+<!ATTLIST editor           %a.header;                         >
+
+<!ELEMENT edition         (further,kind,appearance)          >
+<!ATTLIST edition            %a.header;                         >
+
+<!ELEMENT further         (#PCDATA)          >
+<!ATTLIST further            %a.header;                         >
+
+<!ELEMENT kind         (#PCDATA)          >
+<!ATTLIST kind            %a.header;                         >
+
+<!ELEMENT appearance         (#PCDATA)          >
+<!ATTLIST appearance            %a.header;                         >
+
+<!ELEMENT imprint         (pubPlace | publisher | pubDate)*  >
+<!ATTLIST imprint            %a.header;                         >
+
+<!ELEMENT pubPlace        (#PCDATA)                          >
+<!ATTLIST pubPlace           %a.header;                         >
+
+<!ELEMENT publisher       (#PCDATA)                          >
+<!ATTLIST publisher          %a.header;
+          type               (place | org | person)  #IMPLIED       >
+
+
+<!ELEMENT biblScope       (#PCDATA)                          >
+<!ATTLIST biblScope          %a.header;
+          type               (subsume | pp | vol | issue | issueplace |
+			      suppl | suppltitle | volume-title)  #IMPLIED >
+
+<!ELEMENT biblNote        (#PCDATA)                          >
+<!ATTLIST biblNote           %a.header;                         >
+
+
+<!--    Bibliographical info for source in electronic form    -->
+
+<!ELEMENT biblFull        (titleStmt, editionStmt?,
+                             extent?, publicationStmt,
+                             sourceDesc* )                      >
+<!ATTLIST biblFull           %a.header;                         >
+
+
+<!--        Encoding description                              -->
+<!ELEMENT encodingDesc    (projectDesc?,samplingDecl*,
+                             editorialDecl*, tagsDecl?,
+                             refsDecl*, classDecl?)             >
+<!ATTLIST encodingDesc       %a.header;                         >
+
+<!ELEMENT projectDesc     (#PCDATA)                          >
+<!ATTLIST projectDesc        %a.header;
+                             %a.declarable;                     >
+
+<!ELEMENT samplingDecl    (#PCDATA)                          >
+<!ATTLIST samplingDecl       %a.header;
+                             %a.declarable;                     >
+
+<!--          Editorial declaration                           -->
+<!ELEMENT editorialDecl   (pagination | correction | quotation
+                             | hyphenation | segmentation |
+                             transduction | normalization |
+                             conformance)+                      >
+<!ATTLIST editorialDecl      %a.header;
+                             %a.declarable;                     >
+
+<!ELEMENT pagination    (#PCDATA)                         >
+<!ATTLIST pagination      %a.header;
+          type             (yes|no) #IMPLIED                   >                  
+                     
+
+<!ELEMENT correction      (#PCDATA)                          >
+<!ATTLIST correction         %a.header;
+                             %a.declarable;
+          status             (high | medium | low | unknown)
+                                                 "unknown"
+          method             (silent | tags)     "silent"         >
+
+<!ELEMENT quotation       (#PCDATA)                          >
+<!ATTLIST quotation          %a.header;
+                             %a.declarable;
+          marks              (none | some | all) "all"
+          form               (data | rend | std | 
+                              nonstd | unknown)  "unknown"        >
+
+%ids.hyphenation;
+
+<!ELEMENT segmentation    (#PCDATA)                          >
+<!ATTLIST segmentation       %a.header;
+                             %a.declarable;                     >
+
+<!ELEMENT transduction    (#PCDATA)                          >
+<!ATTLIST transduction       %a.header;
+                             %a.declarable;                     >
+
+<!ELEMENT normalization   (#PCDATA)                          >
+<!ATTLIST normalization      %a.header;
+                             %a.declarable;
+          source             CDATA               #IMPLIED
+          method             (silent | tags)     "silent"         >
+
+<!ELEMENT conformance     (#PCDATA)                          >
+<!ATTLIST conformance        %a.header;
+          level              (0 | 1 | 2 | 3)     "1"              >
+
+
+<!--          Tag declaration                                 -->
+
+<!ELEMENT tagsDecl        (tagUsage+)                        >
+<!ATTLIST tagsDecl           %a.header;                         
+
+>
+
+<!ELEMENT tagUsage        (#PCDATA)                          >
+<!ATTLIST tagUsage           %a.header;
+          gi                 NMTOKEN                #REQUIRED
+          occurs             NMTOKEN              #IMPLIED       
+          wsd                CDATA               #IMPLIED       >
+
+<!--          References declaration                          -->
+
+<!ELEMENT refsDecl        (%ids.state;)                      >
+<!ATTLIST refsDecl           %a.header;
+          doctype            NMTOKEN                #IMPLIED       >
+
+<!--          Classify texts declaration                      -->
+
+<!ELEMENT classDecl        (taxonomy+)                       >
+<!ATTLIST classDecl           %a.header;                        >
+
+<!ELEMENT taxonomy        (category+ | 
+                             ((h.bibl | biblStruct),category*)) >
+<!ATTLIST taxonomy           %a.header;                         >
+
+<!ELEMENT category        (catDesc, category*)               >
+<!ATTLIST category            
+           id                 ID                  #REQUIRED
+           n                  CDATA               #IMPLIED
+           lang               IDREF               #IMPLIED      >
+
+<!ELEMENT catDesc         (#PCDATA)                          >
+<!ATTLIST catDesc            %a.header;                         >
+
+<!--        Profile description                               -->
+
+<!ELEMENT profileDesc     (creation?, langUsage?, wsdUsage?,
+                             textClass?, translations?,
+                             annotations?, %ids.textDesc; )     >
+<!ATTLIST profileDesc        %a.header;                         >
+
+<!--          Creation element                                -->
+
+<!ELEMENT creation        (creatDate,creatRef?,creatRefShort?)                         >
+<!ATTLIST creation           %a.header;                                                 >
+ 
+
+<!ELEMENT creatDate        (#PCDATA)			                                >
+<!ATTLIST creatDate          %a.header;                                                 >
+
+<!ELEMENT creatRef       (#PCDATA)			                                >
+<!ATTLIST creatRef           %a.header;                                                 >
+
+<!ELEMENT creatRefShort        (#PCDATA)			                                >
+<!ATTLIST creatRefShort           %a.header;                                                 >
+
+<!ELEMENT langUsage       (language+ )                       >
+<!ATTLIST langUsage          %a.header;                         >
+
+
+
+<!ELEMENT language        (#PCDATA)                          >
+<!ATTLIST language            
+          id                 ID                  #IMPLIED
+	  usage              CDATA               #IMPLIED     >
+
+<!ELEMENT wsdUsage        (writingSystem+)                   >
+<!ATTLIST wsdUsage           %a.header;                         >
+
+<!ELEMENT writingSystem   (#PCDATA)                          >
+<!ATTLIST writingSystem      
+          id                 ID                  #IMPLIED
+          lang               CDATA               #IMPLIED
+          wsd                ENTITY              #IMPLIED
+          n                  CDATA               #IMPLIED       >
+
+<!--          Text Class                                      -->
+
+<!ELEMENT textClass       ((catRef | h.keywords)*)           >
+<!ATTLIST textClass          %a.header;
+                             %a.declarable;                     >
+
+<!ELEMENT catRef            EMPTY                              >
+<!ATTLIST catRef             %a.header;
+          target             IDREFS              #REQUIRED      
+          scheme             CDATA               #IMPLIED       >
+
+<!ELEMENT h.keywords      (keyTerm+)                         >
+<!ATTLIST h.keywords         %a.header;                         >
+
+<!ELEMENT keyTerm         (#PCDATA)                          >
+<!ATTLIST keyTerm            %a.header;
+	  type		   CDATA                  #IMPLIED  >
+
+
+<!--          Translations                                    -->
+
+<!ELEMENT translations    (translation, translator?)+        >
+<!ATTLIST translations       %a.header;                         >
+
+<!ELEMENT translation     (#PCDATA)                          >
+<!ATTLIST translation        
+          id                 ID                  #IMPLIED
+          lang               CDATA               #REQUIRED
+          wsd                CDATA               #REQUIRED
+          n                  CDATA               #IMPLIED
+          trans.loc          CDATA               #IMPLIED       >
+
+<!ELEMENT translator      (#PCDATA)                          >
+<!ATTLIST translator         %a.header;                         >
+
+<!--          Annotations                                     -->
+
+<!ELEMENT annotations     (annotation+)                      >
+<!ATTLIST annotations        %a.header;                         >
+
+<!ELEMENT annotation      (#PCDATA)                          >
+<!ATTLIST annotation         %a.header; 
+          type               CDATA               #IMPLIED             
+          ann.loc            CDATA               #IMPLIED     
+          trans.loc          CDATA               #IMPLIED       >
+
+<!--         TextDesc	                                     -->
+
+<!ELEMENT textDesc       ((textType?,textTypeRef?),(textTypeArt?,textDomain?,column?))                       >
+<!ATTLIST textDesc          %a.header;                         >
+
+<!ELEMENT textType       (#PCDATA)                       >
+<!ATTLIST textType          %a.header;                         >
+
+<!ELEMENT textTypeRef       (#PCDATA)                       >
+<!ATTLIST textTypeRef          %a.header;                         >
+
+<!ELEMENT textTypeArt       (#PCDATA)                       >
+<!ATTLIST textTypeArt          %a.header;                         >
+
+<!ELEMENT textDomain       (#PCDATA)                       >
+<!ATTLIST textDomain          %a.header;                         >
+
+<!ELEMENT column       (#PCDATA)                       >
+<!ATTLIST column          %a.header;                         >
+
+<!--       Revision description                               -->
+
+<!ELEMENT revisionDesc    (change+)                          >
+<!ATTLIST revisionDesc       %a.header;                         >
+
+<!ELEMENT change          (changeDate, respName, h.item+)    >
+<!ATTLIST change             %a.header;                         >
+
+<!ELEMENT changeDate      (#PCDATA)                          >
+<!ATTLIST changeDate         %a.header;
+          value               CDATA              #IMPLIED       >
+
+<!ELEMENT h.item          (#PCDATA)                          >
+<!ATTLIST h.item             %a.header;                         >
+