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 2001/04/23 20:54:43 UTC

cvs commit: xml-xerces/c/src/validators/DTD DTDScanner.cpp

tng         01/04/23 11:54:43

  Modified:    c/src/validators/DTD DTDScanner.cpp
  Log:
  Reuse grammar should allow users to use any stored element decl as root.  Fixed by Erik Rydgren.
  
  Revision  Changes    Path
  1.4       +5 -0      xml-xerces/c/src/validators/DTD/DTDScanner.cpp
  
  Index: DTDScanner.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/validators/DTD/DTDScanner.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DTDScanner.cpp	2001/04/19 18:17:21	1.3
  +++ DTDScanner.cpp	2001/04/23 18:54:35	1.4
  @@ -56,6 +56,9 @@
   
   /*
    * $Log: DTDScanner.cpp,v $
  + * Revision 1.4  2001/04/23 18:54:35  tng
  + * Reuse grammar should allow users to use any stored element decl as root.  Fixed by Erik Rydgren.
  + *
    * Revision 1.3  2001/04/19 18:17:21  tng
    * Schema: SchemaValidator update, and use QName in Content Model
    *
  @@ -1561,6 +1564,8 @@
                   return;
               }
           }
  +        if (rootDecl)
  +            fDTDGrammar->setRootElemId(rootDecl->getId());
       }
        else
       {
  
  
  

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