Bug 1384132 - [GSS](6.4.z) Double namespaces in JAXB generated XML when using Jboss provided JAXB (jaxb-impl-2.2.5.redhat-9)
Summary: [GSS](6.4.z) Double namespaces in JAXB generated XML when using Jboss provide...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: jbossas
Version: 6.4.2
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Petr Jurak
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-12 15:38 UTC by Lei Yu
Modified: 2020-03-11 15:18 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-20 16:23:33 UTC
Type: Bug


Attachments (Terms of Use)

Description Lei Yu 2016-10-12 15:38:38 UTC
Description of problem:

The generated xml using the JAXB shipped with JBoss 6.4.x has double namespace for response: <Response:Response, i.e

<MetaData xmlns=...>
    ...
    <Response:Response xmlns:Response=...>
       ...
    </Response:Response>
</MetaData>

Version-Release number of selected component (if applicable):

jaxb-impl-2.2.5.redhat-9

How reproducible:

Always, for both windows and Linux.


Actual results:

<MetaData xmlns=...>
    ...
    <Response:Response xmlns:Response=...>
       ...
    </Response:Response>
</MetaData>

Expected results:

<MetaData xmlns=...>
    ...
    <Response xmlns:Response=...>
       ...
    </Response>
</MetaData>

Additional info:

Can the JAXB version in EAP 6.4.x be upgraded to 2.2.11?

Comment 3 Chris Dolphy 2016-10-26 16:19:34 UTC
Although the output is awkward, it's not invalid.  If something parsing this has issues, then it's an invalid XML parser.

Comment 11 Brad Maxwell 2017-02-20 16:23:33 UTC
Closing as not a bug, if we get a reproducer we can reopen/revisit


Note You need to log in before you can comment on or make changes to this bug.