<!-- *********************************************************************  -->
<!-- TEI.extensions.dtd file for the TEI, where the TEI is to be generated  -->
<!-- by the TEI Pizza Chef at http://www.tei-c.org/pizza.html			    -->
<!-- *********************************************************************  -->
<!-- The TEI Pizza Chef settings:						                    -->
<!-- Generated by selecting: - Mixed base tagset: Prose and Verse           -->
<!--  Toppings: linking, figures, analysis, transcr, textcrit, names/dates, -->
<!--  corpora.                                                               -->
<!--  No entity set chosen as there is a complete entity set given in the 	-->
<!--  extension files.								                        -->
<!--  Modification files selected: norron.extensions.ent and 			    -->
<!--  norron.extensions.dtd							                        -->
<!--  Generate full DTD pressed 					                        -->
<!-- ********************************************************************* 	-->
<!-- Made for the research group: 						                    -->
<!-- Editing medieval manuscripts 					                       	-->
<!-- Centre for Advanced Studies					                       	-->
<!-- Norway, 2000, 2001. 						                           	-->
<!-- Further changed and updated for the Menota project, see 	        	-->		
<!-- http://www.hit.uib.no/menota/, by Tone Merete Bruvik, The HIT Centre,  -->
<!-- see http://www.hit.uib.no/							                    -->
<!-- Norway, 2001, 2002, 2003. 						                        -->
<!-- *********************************************************************	-->
<!-- When changing extension files, please observe:				            -->
<!--  Has to be in SGML syntax. 						                    -->
<!--  Character with hex value greater than 7F is not allowed anywhere in  	-->
<!-- the extension files due to restrictions in the Pizza Chef.   		    -->
<!--  Comments can not contain series of hyphens.				            -->
<!-- *********************************************************************	-->
<!-- Changes done by Espen Smith Ore are marked with ESO			        --> 
<!-- Changes done by Tone Merete Bruvik are marked with TMB			        -->
<!-- Changes done by Odd Einar Haugen are marked with OEH			        -->
<!-- Changes done by Karl G. Johansson are marked with KGJ			        -->
<!-- *********************************************************************	-->
<!-- February 6, 2004, TMB: facs, dipl and norm added to the content model  -->
<!-- of supplied. Removed add, del and foreign as the only                  -->
<!-- changes were changes of the type of the attribute lang and hand,       -->
<!-- which are now defined as default in TEI.                               -->

<!-- May 14, 2003, OEH: Renamed elements orig, expForm and reg to		    -->
<!-- facs, dipl and norm respectively. Made a few changes in the content 	-->
<!-- model of these elements, as specified below. Finally, made a few		-->
<!-- changes to the attribute list of the elements add, del and foreign,	-->
<!-- also specified below							                        -->

<!-- May 23, 2002, TMB: msHeader added, this element was forgotten		    -->
<!-- when the elements from MASTER was included.	 			            -->

<!-- May 2, 2002, TMB: Added encoding from MASTER (see 				        -->
<!-- http://www.hcu.ox.ac.uk/TEI/Master/Reference/), expform changed 		-->
<!-- to expForm.   								                            -->

<!-- March 26, 2002, TMB: Characters which have not yet been defined are	-->
<!-- set to 003F (which is the character ?)					                -->

<!-- March 22, 2002, TMB: Note can not be an element in phrase, have to		-->
<!-- change orig and reg after all.						                    -->

<!-- March 15, 2002, TMB: Added 'note' to the element class phrase, the		-->
<!-- elements orig and reg need not be changed here. Referring to the		-->
<!-- parameter entities, instead of expanded elements.	    			    -->

<!-- March 13, 2002, TMB: Some errors in the Pizza Chef generator have now	-->
<!-- been removed, so that the elements orgName, rdg and lem do not have 	-->
<!-- to be redefined here. The entity table is updated  so that entities 	-->
<!-- which already are available in Unicode are using these values, 		-->
<!-- entities which are not, have all been set to the value FFFD.		    -->

<!-- May 21, 2001, TMB: Modified and added new elements				        --> 
<!-- Details about the changes are given in connection to declaration.		-->

<!-- *********************************************************************	-->

<!-- *********************************************************************	-->
<!-- NEW ELEMENTS WHICH ARE ADDED IN THIS EXTENSION TO TEI			        -->
<!-- *********************************************************************	-->

<!-- =====================================================================	-->
<!-- New ELEMENT dipl (originally entitled expform)				            -->
<!-- =====================================================================	-->

<!-- April 24, 2001, ESO: element expform added to the dtd			        -->
<!-- May 21, 2001, TMB: note and supplied added to the content model of expform	-->
<!-- May 2, 2002 TMB: changed from expform to expForm				        -->
<!-- May 14, 2003 OEH: changed name of element expForm to dipl			    -->
<!-- Also changed the content model for this element:				        -->
<!-- 	parameter entity phrase used instead of previous content model		-->
<!--	to ensure conformity between the facs, dipl and norm elements		-->
    
<!ELEMENT dipl %om.RR;  (%phrase; | note | %m.fragmentary;)* >

<!ATTLIST dipl 
	%a.global;	
	function CDATA #IMPLIED
	part (Y | N | I | M | F) "N"
	type CDATA #IMPLIED
        reg CDATA #IMPLIED
        resp CDATA #IMPLIED>

<!-- =====================================================================	-->
<!-- New ELEMENT facs (originally entitled orig)				-->
<!-- =====================================================================	-->

<!-- May 14, 2003 OEH: element orig renamed to facs				-->
<!-- 	parameter entity phrase used instead of previous content model		-->
<!--	to ensure conformity between the facs, dipl and norm elements		-->
<!-- March 22, 2002 TMB: note added to the content model of orig		-->

<!ELEMENT facs %om.RR;  (%phrase; | note | %m.fragmentary;)* > 
<!ATTLIST facs  
      %a.global;
      function CDATA #IMPLIED
      part (Y | N | I | M | F) "N"
      type CDATA #IMPLIED
      reg CDATA #IMPLIED
      resp CDATA #IMPLIED>

<!-- =====================================================================	-->
<!-- New ELEMENT norm (originally entitled reg)					-->
<!-- =====================================================================	-->

<!-- May 14, 2003 OEH: element reg renamed to norm				-->
<!-- 	parameter entity phrase used instead of previous content model		-->
<!--	to ensure conformity between the facs, dipl and norm elements		-->
<!-- March 22, 2002 TMB: note added to the content model of reg			-->

<!ELEMENT norm %om.RR;  (%phrase; | note | %m.fragmentary;)* > 
<!ATTLIST norm  
      %a.global;
      function CDATA #IMPLIED
      part (Y | N | I | M | F) "N"
      type CDATA #IMPLIED
      reg CDATA #IMPLIED
      resp CDATA #IMPLIED>	

<!-- *********************************************************************	-->
<!-- ELEMENTS WHICH ARE CHANGED IN THIS EXTENSION TO TEI		 	-->
<!-- *********************************************************************	-->

<!-- =====================================================================	-->
<!-- Changes to ELEMENT w							-->
<!-- =====================================================================	-->

<!-- February 6, 2004, TMB: added attribute reg. The attribute is used in some examples, but is questionable. -->
<!-- May 14, 2003 OEH: new elements facs, dipl and norm (previous orig, expForm and reg) added to content model -->
<!-- 	additional elements hi, sic and foreign added to content model -->
<!-- March 15, 2002 TMB: lacunaEnd, lacunaStart, witEnd and witStart added to the content model of w -->
<!-- June 8, 2001, OEH and KGJ: add, del, unclear and supplied added to the content model of w  -->
<!-- April 24, 2001, ESO: orig, reg and expform added to the content model of w  -->
<!-- April 24, 2001, ESO: (recursive) w-element removed from the content model  -->

<!ELEMENT w %om.RR; (#PCDATA | seg | m | c | facs | dipl | norm | add 
					| del | unclear | supplied | foreign | hi | sic | %m.fragmentary;| %m.Incl;)*> 

<!-- May 21, 2001, TMB: pos attribute added  -->
<!ATTLIST w  
      %a.global;
      %a.seg;
      lemma CDATA #IMPLIED
      pos CDATA #IMPLIED
	  reg CDATA #IMPLIED>


<!-- =====================================================================	-->
<!-- Changes to ELEMENT supplied						-->
<!-- =====================================================================	-->

<!-- February 6, 2004 TMB: facs, dipl and norm added to the content model of supplied  -->
<!-- March 15, 2002, TMB: lacunaEnd, lacunaStart, witEnd and witStart added to the content model of supplied  -->
<!-- April 24, 2001, ESO: type-attribute added  -->

<!ELEMENT supplied %om.RO;  (#PCDATA | facs | dipl | norm | %m.phrase; | %m.inter; | %m.Incl; | %m.fragmentary;)* > 
<!ATTLIST supplied  
      %a.global;
      reason CDATA #IMPLIED
      resp CDATA %INHERITED;
      hand IDREF %INHERITED;
      agent CDATA #IMPLIED
      source CDATA #IMPLIED
      type CDATA #IMPLIED>

<!-- =====================================================================	-->
<!-- Changes to ELEMENT tagUsage						-->
<!-- =====================================================================	-->

<!-- March 15, 2002, TMB: lacunaEnd, lacunaStart, witEnd and witStart added to the content model of tagUsage  -->
<!-- April 24, 2001, ESO: added type-, reason-, resp- and source-attributes  -->
<!ELEMENT tagUsage %om.RO; (#PCDATA | %m.phrase; | %m.inter; | %m.Incl; | %m.fragmentary;)* > 
<!ATTLIST tagUsage 
	%a.global;
	gi NMTOKEN #REQUIRED
	occurs NMTOKEN #IMPLIED
	ident NMTOKEN #IMPLIED
	render IDREF #IMPLIED
	type CDATA #IMPLIED
	reason CDATA #IMPLIED
	resp CDATA #IMPLIED
	source CDATA #IMPLIED >

<!-- =====================================================================	-->
<!-- Changes to ELEMENT keywords						-->
<!-- =====================================================================	-->

<!-- April 24, 2001, ESO: content model modified  -->
<!-- #PCDATA was added, and by that changed it into mixed context -->
<!ELEMENT keywords %om.RO; (#PCDATA | term | list)* >
<!ATTLIST keywords  
      %a.global;
      scheme IDREF #IMPLIED>

<!-- *********************************************************************	-->
<!-- MASTER DTD ADDITIONS							-->
<!-- *********************************************************************	-->

<!-- manual tweaks for P4 compatibility:
     %mm -> %om.RR 
     content models for dimensions
     attrib values need to be quoted -->

   <!-- * TEI extensions for manuscript description *-->
        
<!-- TEI Elements changed in MASTER -->
<!ELEMENT author %om.RR; %phrase.seq;>
<!ATTLIST author %a.global; %a.names; attested (yes|no|unk) "unk" accepted (a|y|n|u) "a" >
<!ELEMENT birth %om.RR; (#PCDATA|date|placeName|ptr|ref|note)* >
<!ATTLIST birth %a.global; date CDATA #IMPLIED %a.datable; >
<!ELEMENT form %om.RR; (p+) >
<!ATTLIST form %a.global; >
<!ELEMENT name %om.RR; %phrase.seq;>
<!ATTLIST name %a.global; type (person|female|place|org|other) "person" role CDATA #IMPLIED reg CDATA #IMPLIED key IDREF #IMPLIED >

<!ELEMENT occupation %om.RR; (#PCDATA|date|placeName|ptr|ref|note)* >
<!ATTLIST occupation %a.global; %a.datable; >

<!ELEMENT person %om.RR; (p+ | (persName*, birth?, death?, (occupation|residence|bibl)* ))>
<!ATTLIST person %a.global; role CDATA #IMPLIED sex (m|f|u) "m" age CDATA #IMPLIED >

<!ELEMENT residence %om.RR; (#PCDATA|date|placeName|ptr|ref|note)* >
<!ATTLIST residence %a.global; %a.datable; >
<!ELEMENT sourceDesc %om.RR;  (p | bibl | biblFull | biblStruct | listBibl | scriptStmt | msDescription |recordingStmt)+                >
<!ATTLIST sourceDesc     %a.global; %a.declarable;   >


<!-- New elements in MASTER -->

<!ELEMENT dimensions %om.RR; (#PCDATA|height|width|depth)*>
<!ATTLIST dimensions %a.global; %a.measured; type CDATA #IMPLIED >
<!ELEMENT height %om.RR; (#PCDATA) >
<!ATTLIST height %a.global; %a.measured; >
<!ELEMENT depth %om.RR; (#PCDATA) >
<!ATTLIST depth %a.global; %a.measured; >
<!ELEMENT width %om.RR; (#PCDATA) >
<!ATTLIST width %a.global; %a.measured; >
<!ELEMENT locus %om.RR; (#PCDATA) >
<!ATTLIST locus %a.global; from CDATA #IMPLIED to CDATA #IMPLIED targets IDREFS #IMPLIED >
<!ELEMENT origDate %om.RR; (#PCDATA)>
<!ATTLIST origDate %a.global; %a.datable; >
<!ELEMENT origPlace %om.RR; (#PCDATA)>
<!ATTLIST origPlace %a.global; reg CDATA #IMPLIED >
<!ELEMENT material %om.RR; %phrase.seq;>
<!ATTLIST material %a.global; >
<!ELEMENT heraldry %om.RR; %phrase.seq;>
<!ATTLIST heraldry %a.global; >
<!ELEMENT catchwords %om.RR; %phrase.seq;>
<!ATTLIST catchwords %a.global; >
<!ELEMENT signatures %om.RR; %phrase.seq;>
<!ATTLIST signatures %a.global; >
<!ELEMENT secFol %om.RR; %phrase.seq;>
<!ATTLIST secFol %a.global; >

<!ELEMENT death %om.RR; (#PCDATA|date|placeName|ptr|ref|note)* >
<!ATTLIST death %a.global; date CDATA #IMPLIED %a.datable; >

<!ELEMENT msDescription %om.RR; (msIdentifier, msHeading?, msContents?, physDesc?, history?, additional?, msPart* )>
<!ATTLIST msDescription %a.global; type CDATA #IMPLIED status (uni|compo|frag|def|unknown) "uni">

<!ELEMENT msHeading %om.RR; (#PCDATA|author|respStmt|title| origPlace|origDate|textLang|note)*>
<!ATTLIST msHeading %a.global; >

<!ELEMENT msIdentifier %om.RR; (country?, region?, settlement, institution?, repository, collection?, idno, altName* )>
<!ATTLIST msIdentifier %a.global; >
<!ELEMENT institution %om.RR; (#PCDATA) >
<!ATTLIST institution %a.global; %a.names; >
<!ELEMENT repository %om.RR; (#PCDATA) >
<!ATTLIST repository %a.global; %a.names; >
<!ELEMENT collection %om.RR; (#PCDATA) >
<!ATTLIST collection %a.global; >
<!ELEMENT altName %om.RR; (#PCDATA) >
<!ATTLIST altName %a.global; type CDATA #IMPLIED >

<!ELEMENT textLang %om.RR; %phrase.seq;>
<!ATTLIST textLang %a.global; langKey IDREF #IMPLIED otherLangs IDREFS #IMPLIED >

<!ELEMENT msContents %om.RR; (p+| (overview?, msItem+)) >
<!ATTLIST msContents %a.global; class IDREFS #IMPLIED defective (yes|no|unk) "no" >
<!ELEMENT msItem %om.RR; (locus?, ( author | respStmt | title |rubric | summary |incipit | explicit | colophon | textLang | q | decoNote |bibl | listBibl | note | msItem )* )>
<!ATTLIST msItem %a.global; class IDREFS #IMPLIED defective (yes|no|unk) "no" >
<!ELEMENT summary %om.RR; %phrase.seq; >
<!ATTLIST summary %a.global; >
<!ELEMENT rubric %om.RR; %phrase.seq; >
<!ATTLIST rubric %a.global; type CDATA #IMPLIED >
<!ELEMENT incipit %om.RR; %phrase.seq; >
<!ATTLIST incipit %a.global; type CDATA #IMPLIED defective (yes|no|unk) "no" >
<!ELEMENT explicit %om.RR; %phrase.seq; >
<!ATTLIST explicit %a.global; type CDATA #IMPLIED defective (yes|no|unk) "no">
<!ELEMENT colophon %om.RR; %phrase.seq; >
<!ATTLIST colophon %a.global; >

<!ELEMENT physDesc %om.RR; (p+ | (form?, support?, extent?, collation?, layout?, msWriting?, musicNotation?, decoration?, bindingDesc?, foliation*, additions?, condition?))>
<!ATTLIST physDesc %a.global; >
 <!-- extent is defined elsewhere -->
<!ELEMENT support %om.RR; (p+ | (overview?,watermarks?)) >
<!ATTLIST support %a.global; >
<!ELEMENT overview %om.RR; (p+) >
<!ATTLIST overview %a.global; >
<!ELEMENT watermarks %om.RR; (p+) >
<!ATTLIST watermarks %a.global; >
<!ELEMENT collation %om.RR; (p+)>
<!ATTLIST collation %a.global; >
<!ELEMENT layout %om.RR; (p+) >
<!ATTLIST layout %a.global; columns CDATA '1' ruledLines CDATA #IMPLIED writtenLines CDATA #IMPLIED >
<!ELEMENT msWriting %om.RR; ((handDesc|p)+) >
<!ATTLIST msWriting %a.global; hands CDATA #IMPLIED >
<!ELEMENT handDesc %om.RR; (p+) >
<!ATTLIST handDesc %a.global; scribe CDATA #IMPLIED script CDATA #IMPLIED medium CDATA #IMPLIED scope (sole|major|minor) #IMPLIED >
<!ELEMENT musicNotation %om.RR; (p+) >
<!ATTLIST musicNotation %a.global; >
<!ELEMENT decoration %om.RR; (p+|decoNote+) >
<!ATTLIST decoration %a.global; >
<!ELEMENT decoNote %om.RR; (p+) >
<!ATTLIST decoNote %a.global; type CDATA #IMPLIED subtype CDATA #IMPLIED size CDATA #IMPLIED technique CDATA #IMPLIED quality CDATA #IMPLIED figurative (yes|no|na) 'na' illustrative (y|n|u) 'u' >
<!ELEMENT bindingDesc %om.RR; ((p|decoNote)+ | binding+)>
<!ATTLIST bindingDesc %a.global; >
<!ELEMENT binding %om.RR; ((decoNote|p)+)>
<!ATTLIST binding %a.global; %a.datable; contemporary (yes|no|unk) "unk" >
<!ELEMENT foliation %om.RR; (p+)>
<!ATTLIST foliation %a.global; >
<!ELEMENT additions %om.RR; (p+) >
<!ATTLIST additions %a.global; >
<!ELEMENT condition %om.RR; (p+)>
<!ATTLIST condition %a.global; >

<!ELEMENT history %om.RR; (p+ | (origin?,provenance*,acquisition?)) >
<!ATTLIST history %a.global; >
<!ELEMENT origin %om.RR; (p+) >
<!ATTLIST origin %a.global; %a.datable; >
<!ELEMENT provenance %om.RR; (p+) >
<!ATTLIST provenance %a.global; %a.datable; >
<!ELEMENT acquisition %om.RR; (p+) >
<!ATTLIST acquisition %a.global; %a.datable; >

<!ELEMENT additional %om.RR; (adminInfo?, surrogates?, accMat?, listBibl?)>
<!ATTLIST additional %a.global; >

<!ELEMENT adminInfo %om.RR; (p+ | (recordHist?, availability?, custodialHist?, remarks?)) >
<!ATTLIST adminInfo %a.global; >
<!ELEMENT recordHist %om.RR; (source, change*) >
<!ATTLIST recordHist %a.global; >
<!ELEMENT source %om.RR; (p+) >
<!ATTLIST source %a.global; >
<!-- the change element is defined elsewhere -->
<!ELEMENT custodialHist %om.RR; (p+ | custEvent+) >
<!ATTLIST custodialHist %a.global; >
<!ELEMENT custEvent %om.RR; (p+)>
<!ATTLIST custEvent %a.global; %a.datable; type CDATA #IMPLIED >
<!ELEMENT remarks %om.RR; (p+)>
<!ATTLIST remarks %a.global; >

<!ELEMENT surrogates %om.RR; (p+)>
<!ATTLIST surrogates %a.global; >

<!ELEMENT accMat %om.RR; (p+)>
<!ATTLIST accMat %a.global; type CDATA #IMPLIED>

<!ELEMENT msPart %om.RR; (idno?, msContents?, physDesc?, history?, additional?, msPart*)>
<!ATTLIST msPart %a.global; >
   <!-- * end of scrap  TEI extensions for manuscript description msDesc.dtd  *-->
