DCLP / dclpxsltbox

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

clean up '<g type="ekthesis"/>' in XML #300

Open paregorios opened 7 years ago

paregorios commented 7 years ago

A number of XML files have unexpected encoding like:

<lb n="3"/><g type="ekthesis"/>

This is, to my understanding, wrong. What we want (per the long discussion archived on issue #93) is xml like:

<lb n="3" rend="outdent"/>

Unless there's something I'm not understanding ( @rla2118 @jcowey @HolgerEssler ? ), the XML files with the <g type="ekthesis"/> need to be converted.

paregorios commented 7 years ago

This is a blocker for #295

jcowey commented 7 years ago

Yes the files in which <g type="ekthesis"/> appear should please be changed so that they then contain <g type="outdent"/>

paregorios commented 7 years ago

@jcowey I think you mean <lb type="outdent"/>, yes?

jcowey commented 7 years ago

Yes, of course, I did. Sorry, slapped in a comment without thinking too much. :).

paregorios commented 7 years ago

This is more complicated than I realized. There are cases where users have entered <g type="ekthesis"/> somewhere other than at the beginning of the line and sometimes with intervening whitespace. For example:

The classes of such use (and there are probably more) need to be defined, and decisions taken about how to deal with each of them.

As we are about out of time before final release, I am punting this task to the post-release milestone.