sjsxp
  1. sjsxp
  2. SJSXP-47

XMLStreamReader.standaloneSet() implemented wrong

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      47

      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.

        Activity

        Hide
        Joe Wang added a comment -

        Assigned.

        Show
        Joe Wang added a comment - Assigned.
        Hide
        Joe Wang added a comment -

        As pointed out in the bug report, standaloneSet was not implemented. This fix
        is now in sjsxp and will be ported to jaxp.

        Show
        Joe Wang added a comment - As pointed out in the bug report, standaloneSet was not implemented. This fix is now in sjsxp and will be ported to jaxp.

          People

          • Assignee:
            Joe Wang
            Reporter:
            cowtowncoder
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: