DCLP / dclpxsltbox

Sandbox for development, testing, and review of XSLT for DCLP
http://dclp.github.io/dclpxsltbox/
1 stars 5 forks source link

Date functions not working in DCLP #338

Open jcowey opened 6 years ago

jcowey commented 6 years ago

The choice of "first half (?)" and anything else with "(?)" results in error. The rest seems to work.

Edelweiss commented 6 years ago

Dates like »Anfang (?) I« cannot be saved because the following markup is not compliant with DCLP’s version of the EpiDoc schema, which is 8.23:

<origDate notBefore="0001" notAfter="0025">
    Anfang (?) I
    <precision n="1" match="../@notBefore" degree="0.1"/>
    <precision n="2" match="../@notAfter" degree="0.3"/>
</origDate>

The attribute @degree is not allowed here. It’s ok, though, with HGV’s EpiDoc version, which is 8.13.