You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by ji...@apache.org on 2004/04/23 19:54:53 UTC

[jira] Closed: (XERCESJ-885) addition to DOMConfigurationImpl.cansetParameter

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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org