CCSDForge / HAL

Documents and Information for HAL platform
28 stars 10 forks source link

error with validation of TEI with tei.xsd #5

Closed monperrus closed 8 years ago

monperrus commented 8 years ago

Hi, I try to validate the TEI xml from HAL with tei.xsd pushed by @capelli but there are two errors:

tei4.xml:19: element profileDesc: Schemas validity error : Element '{http://www.tei-c.org/ns/1.0}profileDesc': This element is not expected.
tei4.xml:213: element org: Schemas validity error : Element '{http://www.tei-c.org/ns/1.0}org', attribute 'status': The attribute 'status' is not allowed.

When I manually remove the <profileDesc> node in <teiHeader> and the 'status' attribute from the <org> it validates.

Is there an error in the XSD or in the output of HAL?

monperrus commented 8 years ago

Latest XSd is https://api.archives-ouvertes.fr/documents/aofr.xsd, thanks @lfarhi