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

DOMConfiguration.canSetParameter() returns false for parameters "normalize-characters",BOOLEAN.FALSE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 6
    • 1.3.0
    • xml

      According to Document Object Model (DOM) Level 3 Core Specification (http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMConfiguration) and specification for classes org.w3c.dom.ls.LSSerializer and org.w3c.dom.DOMConfiguration value of parameter "normalize-characters" with value "false" is supported.
      But result of method call DOMConfiguration.canSetParameter() with parameters "normalize-characters" and Boolean.FALSE returns "false". This contradicts to the specification of method DOMConfiguration.canSetParameter(String name, Object value) that says "Returns: true if the parameter could be successfully set to the specified value, or false if the parameter is not recognized or the requested value is not supported. This does not change the current value of the parameter itself."
      Since parameter "normalize-characters must be recognised and value of "false" is required to be supported, then this method must return true when calling with "normalize-characters" and Boolean.FALSE.
      ###@###.### 2005-06-27 14:13:38 GMT

            sreddysunw Sunitha Reddy (Inactive)
            ashurygisunw Alexey Shurygin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: