You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by le...@apache.org on 2001/05/10 03:35:22 UTC

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

lehors      01/05/09 18:35:22

  Modified:    c/src/parsers DOMParser.cpp
  Log:
  The public id was set twice and the system id was not set on Notations - patch from Curt Arnold
  
  Revision  Changes    Path
  1.47      +2 -2      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.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- DOMParser.cpp	2001/05/03 19:09:16	1.46
  +++ DOMParser.cpp	2001/05/10 01:35:22	1.47
  @@ -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.46 2001/05/03 19:09:16 knoaman Exp $
  +* $Id: DOMParser.cpp,v 1.47 2001/05/10 01:35:22 lehors Exp $
   *
   */
   
  @@ -1139,7 +1139,7 @@
   {
   	NotationImpl* notation = ((DocumentImpl*)fDocument.fImpl)->createNotation(notDecl.getName());
   	notation->setPublicId(notDecl.getPublicId());
  -	notation->setPublicId(notDecl.getPublicId());
  +	notation->setSystemId(notDecl.getSystemId());
   
   	fDocumentType->notations->setNamedItem( notation );
   
  
  
  

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