Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1255 Invalid ulink element generated in wordml 2003

output: Roundtrip
open
Steve Ball
XSL (1066)
5
2012-09-27
2012-09-27
No

roundtrip generates invalid wordml 2003, xml contains:

<w:hlink w:dest="http://www.fil.ion.ucl.ac.uk/~spm/">
<w:r>
<w:rPr>
<w:rStyle w:val="Hyperlink"/>
</w:rPr>
<w:t>
<ulink url="http://www.fil.ion.ucl.ac.uk/~spm/">http://www.fil.ion.ucl.ac.uk/~spm/</ulink>
</w:t>
</w:r>
</w:hlink>

Which makes Office 2010 fail to open those file. See attach input docbook and generated wordml document.

Discussion

  • input docbook

     
    Attachments
  • generated wordml

     
    Attachments
    • assigned_to: nobody --> balls
     
  • Correct output should be:

    <w:hlink w:dest="http://www.fil.ion.ucl.ac.uk/~spm/">
    <w:r>
    <w:rPr>
    <w:rStyle w:val="Hyperlink"/>
    </w:rPr>
    <w:r>
    <w:t>
    http://www.fil.ion.ucl.ac.uk/~spm/
    </w:t>
    </w:r>
    </w:r>
    </w:hlink>