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

DocumentBuilder is able to resolve namespaces with NamespaceAwareness false

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.1.1
    • 1.1
    • xml
    • 1.1.1
    • sparc
    • solaris_2.6
    • Verified

      After creating a new instance of DocumentBuilderFactory, if we invoke isNamespaceAware() method, it returns false which clearly tells that the DocumentBuilder is not namespace aware. But if we parse an xml file, it is able to resolve Namespaces.
      See the attached program.

            egoei Edwin Goei (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: