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/06/03 22:50:14 UTC

cvs commit: xml-xerces/c/samples/CreateDOMDocument CreateDOMDocument.cpp

tng         2002/06/03 13:50:14

  Modified:    c/samples/CreateDOMDocument CreateDOMDocument.cpp
  Log:
  DOM L3: Add DOMImplementationRegistry and DOMImplementationSource
  
  Revision  Changes    Path
  1.12      +2 -4      xml-xerces/c/samples/CreateDOMDocument/CreateDOMDocument.cpp
  
  Index: CreateDOMDocument.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/samples/CreateDOMDocument/CreateDOMDocument.cpp,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- CreateDOMDocument.cpp	30 May 2002 21:07:04 -0000	1.11
  +++ CreateDOMDocument.cpp	3 Jun 2002 20:50:14 -0000	1.12
  @@ -55,7 +55,7 @@
    */
   
   /*
  - * $Id: CreateDOMDocument.cpp,v 1.11 2002/05/30 21:07:04 tng Exp $
  + * $Id: CreateDOMDocument.cpp,v 1.12 2002/06/03 20:50:14 tng Exp $
    */
   
   /*
  @@ -151,8 +151,6 @@
   
       {
            //  Nest entire test in an inner block.
  -         //     Reference counting should recover all document
  -         //     storage when this block exits.
           //  The tree we create below is the same that the XercesDOMParser would
           //  have created, except that no whitespace text nodes would be created.
   
  @@ -162,7 +160,7 @@
           //     <developedBy>Apache Software Foundation</developedBy>
           // </company>
   
  -        DOMImplementation* impl =  DOMImplementation::getImplementation();
  +        DOMImplementation* impl =  DOMImplementationRegistry::getDOMImplementation(X("Core"));
   
           DOMDocument* doc = impl->createDocument(
                       0,                    // root element namespace URI.
  
  
  

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