You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ar...@locus.apache.org on 2000/07/19 21:07:51 UTC

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

aruna1      00/07/19 12:07:51

  Modified:    c/src/dom DocumentImpl.cpp
  Log:
  DocumentType cannot have children.
  
  Revision  Changes    Path
  1.29      +1 -5      xml-xerces/c/src/dom/DocumentImpl.cpp
  
  Index: DocumentImpl.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/dom/DocumentImpl.cpp,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- DocumentImpl.cpp	2000/07/07 23:51:49	1.28
  +++ DocumentImpl.cpp	2000/07/19 19:07:50	1.29
  @@ -55,7 +55,7 @@
    */
   
   /*
  - * $Id: DocumentImpl.cpp,v 1.28 2000/07/07 23:51:49 jpolast Exp $
  + * $Id: DocumentImpl.cpp,v 1.29 2000/07/19 19:07:50 aruna1 Exp $
    */
   
   //
  @@ -727,10 +727,6 @@
                 1 << DOM_Node::CDATA_SECTION_NODE |
                 1 << DOM_Node::ENTITY_REFERENCE_NODE |
                 1 << DOM_Node::XML_DECL_NODE;
  -          
  -          kidOK[DOM_Node::DOCUMENT_TYPE_NODE] = 
  -              1 << DOM_Node::NOTATION_NODE |
  -              1 << DOM_Node::ENTITY_NODE;
             
             kidOK[DOM_Node::ATTRIBUTE_NODE] = 
                 1 << DOM_Node::TEXT_NODE |