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

InputSource.setSystemId will override the SystemID returned from DeclHandler

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 1.1
    • Fix Version/s: None
    • Component/s: xml
    • Subcomponent:
    • Introduced In Version:
      1.1
    • CPU:
      sparc
    • OS:
      solaris_8

      Description

      When using a DeclHandler to parse DTD entries, such as external entity references, if the InputSource sets the SystemId for this particular source, then the value that was set will be returned when the externalEntityDecl method is called.

      According to the API, the value passed to externalEntityDecl for the SystemId should be the declared SystemId.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rlubke Ryan Lubke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: