Message:

   The following issue has been closed.

   Resolver: Michael Glavassevich
       Date: Fri, 23 Apr 2004 10:54 AM

Closed as per state in Bugzilla.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESJ-885

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESJ-885
    Summary: addition to DOMConfigurationImpl.cansetParameter
       Type: Bug

     Status: Closed
 Resolution: FIXED

    Project: Xerces2-J
 Components: 
             DOM
   Versions:
             2.6.1

   Assignee: Michael Glavassevich
   Reporter: Naela Nissar

    Created: Thu, 12 Feb 2004 4:03 PM
    Updated: Fri, 23 Apr 2004 10:54 AM
Environment: Operating System: Other
Platform: Other

Description:
We recently added support for 'infoset' to be true or false in setParameter and 
getParameter, but I think this change missed getting reflected in 
canSetParameter.


*from the canSetParameter method of DOMConfigurationImpl

Line 906:     if( value instanceof Boolean ){
                         //features whose parameter value can be set 
either 'true' or 'false'
                        // or they accept any boolean value -- so we just need 
to check that
                        // its a boolean value..
                        if (name.equals(Constants.DOM_COMMENTS)
                           || name.equals(Constants.DOM_DATATYPE_NORMALIZATION)
                           || name.equals(Constants.DOM_CDATA_SECTIONS)
                           || name.equals(Constants.DOM_ENTITIES)
                           || name.equals(Constants.DOM_SPLIT_CDATA)
                           || name.equals(Constants.DOM_NAMESPACES)
                           || name.equals(Constants.DOM_VALIDATE)
                           || name.equals(Constants.DOM_WELLFORMED)
Line 918:                  || name.equals
(Constants.DOM_INFOSET)                           <--- added this line
                           ) {
                          return true ;
                     }


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to