Skip to content

Strict docx containing textbox confuses JAXB RI #655

@plutext

Description

@plutext

In strict docx, a purl txbx contains a txbxContent element in a special namesapce, which then contains purl content

<wp:txbx mlns:wp="http://purl.oclc.org/ooxml/drawingml/wordprocessingDrawing"
<wne:txbxContent xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" <-----------------

Somehow a purl p:

                      <w:p w14:paraId="1782AF3A" w14:textId="10F3D4EB" w:rsidR="00D636D6" w:rsidRPr="00D636D6" w:rsidRDefault="00D636D6" w:rsidP="00D636D6">

is becoming

        <p xmlns="http://schemas.openxmlformats.org/wordprocessingml/2006/main" rsidP="00D636D6" rsidR="00D636D6" rsidRDefault="00D636D6" rsidRPr="00D636D6" w14:paraId="1782AF3A" w14:textId="10F3D4EB">

ie attributes are losing their namespace!

That is purl/foo/purl transformed to w/w/w results in attributes incorrectly ending up in default namespace.

This is not an XSLT issue, since it works properly when using MOXy.

It is a problem with the Eclipse Implementation of JAXB (formerly JAXB RI), tested v4.0.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions