-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 6
-
Component/s: xml
-
1.4
-
generic
-
generic
-
Verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-2157143 | 7 | Joe Wang | P4 | Closed | Fixed | b84 |
Although this is quite unintuitive, Javadocs are quite clear in that
XMLStreamReader.hasName() should only return true for START_ELEMENT and
END_ELEMENT. For ENTITY_REFERENCE, thereby, it should return false: this even
though there is a name that can be accessed (but only via getLocalName(), NOT
via getName()!)
XMLStreamReader.hasName() should only return true for START_ELEMENT and
END_ELEMENT. For ENTITY_REFERENCE, thereby, it should return false: this even
though there is a name that can be accessed (but only via getLocalName(), NOT
via getName()!)
- backported by
-
JDK-2157143 sjsxp issue 45: XMLStreamReader.hasName() should return false for ENTITY_REFERENCE
-
- Closed
-