#520 tei:eg to xhtml:pre broken in 6.26

closed-rejected
5
2013-01-29
2013-01-29
No

Under 6.26, the content of the eg loses its newlines before it is passed to the pre.
This was (and still is) not the case with transforms level 11409 in SVN.
Attached, test TEI source with the two outputs.

Discussion

  • Dominique Meeùs

    6.26 output

     
  • Sebastian Rahtz

    Sebastian Rahtz - 2013-01-29

    hmm. a side effect of the implementation of the whitespace handling rules
    (http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ST.html#STGAxs), so
    adding xml:space="preserve" will fix the <eg>

    you don't want to hear this, I suspect. I am sort of reluctant to special case <eg>. I will
    take advice.

     
  • Dominique Meeùs

    Wow! Glad to see that my very old neurons still learn so much new stuff every day.
    Adding xml:space="preserve" to eg indeed solves the problem under 6.26. I feel that, semantically, eg should be xml-space-preserve by default, but if this is difficult, I don’t mind adding the attribute in my code. I do not have so much old eg and it is easy to search for and correct.

     
  • Sebastian Rahtz

    Sebastian Rahtz - 2013-01-29
    • status: open --> closed-rejected
     
  • Sebastian Rahtz

    Sebastian Rahtz - 2013-01-29

    the opinion of others on the TEI council suggests I have no reason to give <eg> special treatment, so I'll leave as is for the moment.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks