You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2001/08/29 21:03:40 UTC

cvs commit: xml-xerces/c/src/validators/datatype ListDatatypeValidator.hpp ListDatatypeValidator.cpp

peiyongz    01/08/29 12:03:40

  Modified:    c/src/validators/datatype ListDatatypeValidator.hpp
                        ListDatatypeValidator.cpp
  Log:
  Bugzilla# 2816:on AIX 4.2, xlC 3 r ev.1, Compilation error on inline method
  
  Revision  Changes    Path
  1.7       +5 -15     xml-xerces/c/src/validators/datatype/ListDatatypeValidator.hpp
  
  Index: ListDatatypeValidator.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/validators/datatype/ListDatatypeValidator.hpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ListDatatypeValidator.hpp	2001/08/24 17:12:01	1.6
  +++ ListDatatypeValidator.hpp	2001/08/29 19:03:40	1.7
  @@ -55,8 +55,11 @@
    */
   
   /*
  - * $Id: ListDatatypeValidator.hpp,v 1.6 2001/08/24 17:12:01 knoaman Exp $
  + * $Id: ListDatatypeValidator.hpp,v 1.7 2001/08/29 19:03:40 peiyongz Exp $
    * $Log: ListDatatypeValidator.hpp,v $
  + * Revision 1.7  2001/08/29 19:03:40  peiyongz
  + * Bugzilla# 2816:on AIX 4.2, xlC 3 r ev.1, Compilation error on inline method
  + *
    * Revision 1.6  2001/08/24 17:12:01  knoaman
    * Add support for anySimpleType.
    * Remove parameter 'baseValidator' from the virtual method 'newInstance'.
  @@ -227,21 +230,7 @@
       return (DatatypeValidator*) new ListDatatypeValidator(this, facets, enums, finalSet);
   }
   
  -inline void ListDatatypeValidator::validate( const XMLCh* const content)
  -{
  -    setContent(content);
  -    RefVectorOf<XMLCh>* tokenVector = XMLString::tokenizeString(content);
  -    Janitor<RefVectorOf<XMLCh> > janName(tokenVector);
  -    checkContent(tokenVector, false);
  -}
   
  -inline void ListDatatypeValidator::checkContent( const XMLCh* const content, bool asBase)
  -{
  -    setContent(content);
  -    RefVectorOf<XMLCh>* tokenVector = XMLString::tokenizeString(content);
  -    Janitor<RefVectorOf<XMLCh> > janName(tokenVector);
  -    checkContent(tokenVector, asBase);
  -}
   
   inline void ListDatatypeValidator::cleanUp()
   {
  
  
  
  1.4       +21 -1     xml-xerces/c/src/validators/datatype/ListDatatypeValidator.cpp
  
  Index: ListDatatypeValidator.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/validators/datatype/ListDatatypeValidator.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ListDatatypeValidator.cpp	2001/08/21 18:42:53	1.3
  +++ ListDatatypeValidator.cpp	2001/08/29 19:03:40	1.4
  @@ -55,8 +55,11 @@
    */
   
   /*
  - * $Id: ListDatatypeValidator.cpp,v 1.3 2001/08/21 18:42:53 peiyongz Exp $
  + * $Id: ListDatatypeValidator.cpp,v 1.4 2001/08/29 19:03:40 peiyongz Exp $
    * $Log: ListDatatypeValidator.cpp,v $
  + * Revision 1.4  2001/08/29 19:03:40  peiyongz
  + * Bugzilla# 2816:on AIX 4.2, xlC 3 r ev.1, Compilation error on inline method
  + *
    * Revision 1.3  2001/08/21 18:42:53  peiyongz
    * Bugzilla# 2816: cleanUp() declared with external linkage and called
    *                          before defined as inline
  @@ -709,6 +712,22 @@
           return 0;
       }
          
  +}
  +
  +void ListDatatypeValidator::validate( const XMLCh* const content)
  +{
  +    setContent(content);
  +    RefVectorOf<XMLCh>* tokenVector = XMLString::tokenizeString(content);
  +    Janitor<RefVectorOf<XMLCh> > janName(tokenVector);
  +    checkContent(tokenVector, false);
  +}
  +
  +void ListDatatypeValidator::checkContent( const XMLCh* const content, bool asBase)
  +{
  +    setContent(content);
  +    RefVectorOf<XMLCh>* tokenVector = XMLString::tokenizeString(content);
  +    Janitor<RefVectorOf<XMLCh> > janName(tokenVector);
  +    checkContent(tokenVector, asBase);
   }
   
   /**
  
  
  

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