Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6631265

sjsxp issue 47 : XMLStreamReader.standaloneSet() implemented wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 6
    • xml
    • 1.4
    • generic
    • generic
    • Verified

        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.

              joehw Joe Wang
              joehw Joe Wang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: