DCLP / dclpxsltbox

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

Layout: @columns attribute not saved #337

Closed Edelweiss closed 6 years ago

Edelweiss commented 6 years ago

entered the value 2 (both as the numeral ‘2’ and as the word ’two') in the ‘columns' field and then tried to save the file, it threw up the following error message:

Error updating file: element "layoutDesc" incomplete; expected element "ab", "layout", "p" or "summary". This file was NOT SAVED.

Edelweiss commented 6 years ago

xpath for columns:

/TEI/teiHeader/fileDesc/sourceDesc/msDesc/physDesc/objectDesc/layoutDesc/layout/@columns

example:

<layoutDesc>
<layoutDesc columns="2">
</layoutDesc>
Edelweiss commented 6 years ago

in development branch an in master branch

https://github.com/DCLP/sosol/commit/4999466cc9dafd84ac6f5c20905f844f831053a6 https://github.com/DCLP/sosol/commit/185810b4592bd057de1353420784ba39086df221