-
Bug
-
Resolution: Fixed
-
P3
-
6
-
h1184
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2160128 | 7 | Joe Wang | P3 | Closed | Fixed | m06 |
JDK-2160126 | 6-pool | Joe Wang | P3 | Closed | Won't Fix | |
JDK-2160127 | OpenJDK6 | Joe Wang | P3 | Closed | Fixed | b19 |
It looks like the repairing writer does not consider the fact that attributes
newer use default namespace (ie. if attribute has no prefix, it is not in any
namespace, independent of there is a default namespace binding or not), and
instead of assumes default namespace does apply to attributes.
A demonstration of this can be found from StaxTest (available from
http://stax.codehaus.org), test TestRepairingWriter#testAttributes.
(I can try to come up with a shorter snippet too, but this should be easy enough
to reproduce)
newer use default namespace (ie. if attribute has no prefix, it is not in any
namespace, independent of there is a default namespace binding or not), and
instead of assumes default namespace does apply to attributes.
A demonstration of this can be found from StaxTest (available from
http://stax.codehaus.org), test TestRepairingWriter#testAttributes.
(I can try to come up with a shorter snippet too, but this should be easy enough
to reproduce)
- backported by
-
JDK-2160126 sjsxp issue 49: Repairing XMLStreamWriter tries to use default namespace for attributes
-
- Closed
-
-
JDK-2160127 sjsxp issue 49: Repairing XMLStreamWriter tries to use default namespace for attributes
-
- Closed
-
-
JDK-2160128 sjsxp issue 49: Repairing XMLStreamWriter tries to use default namespace for attributes
-
- Closed
-