#39 Roma PDF documentation glitch

ROMA
closed-works-for-me
5
2008-09-03
2008-07-03
No

The stylesheets producing PDF documentation seem to have a glitch producing spurious namespace declarations for example snippets. It appears only <egXML> elements inside list <item> elements are affected.

For example, following example snippet:

<egXML xmlns="http://www.tei-c.org/ns/Examples">
<test>example1</test>
</egXML>

<table>
<row>
<cell>
<egXML xmlns="http://www.tei-c.org/ns/Examples"><test>example2</test></egXML>
</cell>
</row>
</table>

<list>
<item>
<egXML xmlns="http://www.tei-c.org/ns/Examples"><test>example3</test></egXML>
</item>
</list>

produces following PDF output:
<test>example1</test>
<test>example2</test>
<test
xmlns:ns95="http://www.tei-c.org/ns/1.0">example3</test>
<test>example</test>

The spurious xmlns:ns95 namespace declaration does no harm, but is confusing in a documentation context.

I'll try to attach an example ODD.

Discussion

  • Lou Burnard

    Lou Burnard - 2008-08-17
    • milestone: --> ROMA
     
  • Lou Burnard

    Lou Burnard - 2008-09-03
    • assigned_to: nobody --> rahtz
     
  • Sebastian Rahtz

    Sebastian Rahtz - 2008-09-03

    Logged In: YES
    user_id=95949
    Originator: NO

    Can you tell me exactly the sequence of transformations you are doing to get PDF? but
    I do think I see what you mean, when I run odd2lite on the sample file. So I will
    work to fix that

     
  • Sebastian Rahtz

    Sebastian Rahtz - 2008-09-03

    Logged In: YES
    user_id=95949
    Originator: NO

    I believe that this is an artefact of some versions libxslt. I can see the problem using the libxslt installed under MacOSX, but not on Debian. When I switch to the Saxon XSL processor, I do not see the
    issue. I believe that it is beyond my control.

     
  • Sebastian Rahtz

    Sebastian Rahtz - 2008-09-03
    • status: open --> closed-works-for-me