Print

Print


Is there anything wrong with this markup?

<msIdentifier>
  <institution>Kungl. biblioteket</institution>
  <msName>Codex Gigas</msName>
  <idno>A 148</idno>
</msIdentifier>

Trying to validate, I get:

C:\WINDOWS\system32\cmd.exe /c xmllint --catalogs --valid --noout
gigas-desc.xml
gigas-desc.xml:20: element msIdentifier: validity error : Element
msIdentifier content does not foll
ow the DTD, expecting (((placeName? , bloc? , country? , region? , district?
, settlement? , offset?
 , geogFeat? , institution? , repository , collection? , idno?) | msName) ,
(altIdentifier | msName)
*), got (institution msName idno )
</msIdentifier>

The only thing I get working is

<msIdentifier>
   <msName>Codex Gigas</msName>
</msIdentifier>

The schema is generated with Roma: 
[New]
Create customization from template TEI for manuscript Description
   (clicking 'Submit')
[Schema]
   (clicking 'Submit')

/Patrik Nyman