You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2002/04/01 23:03:17 UTC

cvs commit: xml-xerces/c/src/xercesc/dom NodeImpl.cpp

tng         02/04/01 13:03:17

  Modified:    c/src/xercesc/dom NodeImpl.cpp
  Log:
  According to DOM spec, setNodeValue by default is no-op.
  
  Revision  Changes    Path
  1.3       +1 -4      xml-xerces/c/src/xercesc/dom/NodeImpl.cpp
  
  Index: NodeImpl.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/NodeImpl.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- NodeImpl.cpp	4 Feb 2002 20:03:48 -0000	1.2
  +++ NodeImpl.cpp	1 Apr 2002 21:03:17 -0000	1.3
  @@ -55,7 +55,7 @@
    */
   
   /*
  - * $Id: NodeImpl.cpp,v 1.2 2002/02/04 20:03:48 tng Exp $
  + * $Id: NodeImpl.cpp,v 1.3 2002/04/01 21:03:17 tng Exp $
    */
   
   // This class doesn't support having any children, and implements the behavior
  @@ -362,9 +362,6 @@
   
   void NodeImpl::setNodeValue(const DOMString &val)
   {
  -    if (isReadOnly())
  -        throw DOM_DOMException(DOM_DOMException::NO_MODIFICATION_ALLOWED_ERR,
  -                               null);
       // Default behavior is to do nothing, overridden in some subclasses
   };
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org