| Summary: | ObejctFacory with XMLElementDecl that has an empty namespace causes invalid marshal | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Denise Smith <denise.mahar> | ||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 209561 [details]
trunk proposed patch
Fix checked in to 2.3 and trunk. The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
If the ObjectFactory has a declaration like below with an empty namespace then in the output XML after a marshal the XML contains xmlns:ns0="" and that should not be there. @XmlElementDecl(namespace = "", name = "doc") public JAXBElement<Object> createDoc(Object value) { return new JAXBElement<Object>(_Doc_QNAME, Object.class, null, value); }