You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by jp...@locus.apache.org on 2000/06/22 20:59:52 UTC

cvs commit: xml-xerces/c/src/parsers DOMParser.cpp

jpolast     00/06/22 11:59:47

  Modified:    c/src/parsers DOMParser.cpp
  Log:
  Fix specified flag on attributes not being set in the DOM tree
  after document is parsed.
  
  Revision  Changes    Path
  1.26      +2 -1      xml-xerces/c/src/parsers/DOMParser.cpp
  
  Index: DOMParser.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/parsers/DOMParser.cpp,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- DOMParser.cpp	2000/05/23 21:16:54	1.25
  +++ DOMParser.cpp	2000/06/22 18:59:38	1.26
  @@ -59,7 +59,7 @@
   *  handler with the scanner. In these handler methods, appropriate DOM nodes
   *  are created and added to the DOM tree.
   *
  -* $Id: DOMParser.cpp,v 1.25 2000/05/23 21:16:54 aruna1 Exp $
  +* $Id: DOMParser.cpp,v 1.26 2000/06/22 18:59:38 jpolast Exp $
   * 
   */
   
  @@ -621,6 +621,7 @@
           for (unsigned int index = 0; index < attrCount; ++index) {
               const XMLAttr* oneAttrib = attrList.elementAt(index);
               AttrImpl *attr = elemImpl->setAttribute(oneAttrib->getName(), oneAttrib->getValue());
  +            attr->setSpecified(oneAttrib->getSpecified());
   
               // Attributes of type ID.  If this is one, add it to the hashtable of IDs
               //   that is constructed for use by GetElementByID().