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

DOM parser does not honor DocumentBuilderFactory.setExpandEntityReferences(false)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Not an Issue
    • Affects Version/s: 6u37, 7-pool, 8
    • Fix Version/s: None
    • Component/s: xml
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      SHORT SUMMARY: DOM parser does not honor DocumentBuilderFactory.setExpandEntityReferences(false).
      .
      INDICATORS:
      Entity references is expanded during the parsing if there was a call to DocumentBuilderFactory.setExpandEntityReferences(false)
      .
      COUNTER INDICATORS:
      Entity references shouldn't be expanded during the parsing and should remain in '&<ref>' form.
       
      TRIGGERS:
       
      KNOWN WORKAROUND:
       
      PRESENT SINCE:

      HOW TO VERIFY: Run the test associated with the bug in bugdb
       
      NOTES FOR SE: None
       
      REGRESSION: No

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aefimov Aleksej Efimov
                Reporter:
                asaha Abhijit Saha
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: