| Summary: | Problem with default namespace declaration on ContentHandlerRecord | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Matt MacIvor <matt.macivor> | ||||
| 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 XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 185154 [details]
Proposed Fix
Attached patch checked in to SVN Reviewed by Blaise Doughan The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
In the namespaceDeclarations method on ContentHandlerRecord, when writing the default namespace declaration, the attribute method is called with 'xmlns' as the local name. This triggers the record to call startPrefixMapping('xmlns', uri) on the nested content handler. This is incorrect. For the default namespace startPrefixMapping("", uri) should be called. This is causing a problem with marshal validation.