EAD 2002: Finding Aid Delivery using Native XML Technologies

next | up | prev

A Note on XML Validators

rxp -V stenn.v2002.xml
Warning: Content model for dsc does not allow element note here
 in unnamed entity at line 109 char 15 of
 file:///data/web/bus/EAD/2002/stenn.v2002.xml
xmllint --valid stenn.v2002.xml
stenn.v2002.xml:159: element dsc: validity error : 
Element dsc content does not follow the DTD, expecting 
((head? , (address | chronlist | list | note | table | blockquote | p)*) , 
((thead? , ((c , thead?)+ | (c01 , thead?)+)) | dsc*)), got 
(head c note c c c c c )
      </dsc>
            ^
java -jar msv/msv.jar xml/dtds/ead.dtd xml/stenn.v2002.xml
start parsing a grammar.
validating xml/stenn.v2002.xml
Error at line:109, column:16 of
file:///Volumes/data/xml/stenn.v2002.xml
  tag name "note" is not allowed. Possible tag names are: 
  <c>,<thead>

the document is NOT valid.