DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26893>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26893

addition to DOMConfigurationImpl.cansetParameter

           Summary: addition to DOMConfigurationImpl.cansetParameter
           Product: Xerces2-J
           Version: 2.6.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: DOM
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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 ;
                     }

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

Reply via email to