Details
-
Bug
-
Resolution: Fixed
-
P4
-
6
-
1.4
-
generic
-
generic
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2157145 | 7 | Joe Wang | P4 | Closed | Fixed | m05 |
JDK-2182530 | 6u18 | Joe Wang | P4 | Resolved | Fixed | b02 |
Description
As a comment in XMLReaderImpl#standaloneSet() already notes, return value is
incorrect. It should only denote whether input document has a value for
'standalone' xml declaration pseudo-attribute; not whether it has and value is
'yes' (for latter there is XMLStreamReader.isStandalone() method).
It looks like underlying parser implementation does not keep track of this
information, so there may not be a trivially easy fix. Hopefully not too hard to
fix though.
incorrect. It should only denote whether input document has a value for
'standalone' xml declaration pseudo-attribute; not whether it has and value is
'yes' (for latter there is XMLStreamReader.isStandalone() method).
It looks like underlying parser implementation does not keep track of this
information, so there may not be a trivially easy fix. Hopefully not too hard to
fix though.
Attachments
Issue Links
- backported by
-
JDK-2182530 sjsxp issue 47 : XMLStreamReader.standaloneSet() implemented wrong
- Resolved
-
JDK-2157145 sjsxp issue 47 : XMLStreamReader.standaloneSet() implemented wrong
- Closed