You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by kn...@apache.org on 2001/07/24 20:33:13 UTC

cvs commit: xml-xerces/c/src/validators/common ContentSpecNode.hpp GrammarResolver.cpp

knoaman     01/07/24 11:33:13

  Modified:    c/src/validators/common ContentSpecNode.hpp
                        GrammarResolver.cpp
  Log:
  Added support for <group> + extra constraint checking for complexType
  
  Revision  Changes    Path
  1.9       +4 -0      xml-xerces/c/src/validators/common/ContentSpecNode.hpp
  
  Index: ContentSpecNode.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/validators/common/ContentSpecNode.hpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- ContentSpecNode.hpp	2001/07/09 15:22:36	1.8
  +++ ContentSpecNode.hpp	2001/07/24 18:33:13	1.9
  @@ -56,6 +56,9 @@
   
   /*
    * $Log: ContentSpecNode.hpp,v $
  + * Revision 1.9  2001/07/24 18:33:13  knoaman
  + * Added support for <group> + extra constraint checking for complexType
  + *
    * Revision 1.8  2001/07/09 15:22:36  knoaman
    * complete <any> declaration.
    *
  @@ -128,6 +131,7 @@
           , Any
           , Any_Other
           , Any_NS = 8
  +        , All = 9
           , Any_Lax = 22
           , Any_Other_Lax = 23
           , Any_NS_Lax = 24
  
  
  
  1.4       +8 -1      xml-xerces/c/src/validators/common/GrammarResolver.cpp
  
  Index: GrammarResolver.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/validators/common/GrammarResolver.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- GrammarResolver.cpp	2001/06/07 20:58:39	1.3
  +++ GrammarResolver.cpp	2001/07/24 18:33:13	1.4
  @@ -57,6 +57,9 @@
   
   /*
    * $Log: GrammarResolver.cpp,v $
  + * Revision 1.4  2001/07/24 18:33:13  knoaman
  + * Added support for <group> + extra constraint checking for complexType
  + *
    * Revision 1.3  2001/06/07 20:58:39  tng
    * Fix no newline at the end warning.  By Pei Yong Zhang.
    *
  @@ -102,7 +105,11 @@
   
   Grammar* GrammarResolver::getGrammar( const XMLCh* const nameSpaceKey )
   {
  -   return fGrammarRegistry->get( nameSpaceKey );
  +    if (!nameSpaceKey) {
  +        return 0;
  +    }
  +
  +    return fGrammarRegistry->get( nameSpaceKey );
   }
   
   RefHashTableOfEnumerator<Grammar>
  
  
  

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