tng         2002/10/01 12:47:44

  Modified:    c/src/xercesc/validators/schema SchemaInfo.hpp
  Log:
  [Bug 13139] Building Promblems on HP-UX.
  
  Revision  Changes    Path
  1.9       +11 -11    xml-xerces/c/src/xercesc/validators/schema/SchemaInfo.hpp
  
  Index: SchemaInfo.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/schema/SchemaInfo.hpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- SchemaInfo.hpp    21 Jun 2002 11:52:24 -0000      1.8
  +++ SchemaInfo.hpp    1 Oct 2002 19:47:44 -0000       1.9
  @@ -305,6 +305,16 @@
   // ---------------------------------------------------------------------------
   //  SchemaInfo: Access methods
   // ---------------------------------------------------------------------------
  +inline void SchemaInfo::addImportedNS(const int namespaceURI) {
  +
  +    if (!fImportedNSList) {
  +        fImportedNSList = new ValueVectorOf<int>(4);
  +    }
  +
  +    if (!fImportedNSList->containsElement(namespaceURI))
  +        fImportedNSList->addElement(namespaceURI);
  +}
  +
   inline void SchemaInfo::addSchemaInfo(SchemaInfo* const toAdd,
                                         const ListType aListType) {
   
  @@ -393,16 +403,6 @@
       }
   
       fFailedRedefineList->addElement(anElem);
  -}
  -
  -inline void SchemaInfo::addImportedNS(const int namespaceURI) {
  -
  -    if (!fImportedNSList) {
  -        fImportedNSList = new ValueVectorOf<int>(4);
  -    }
  -
  -    if (!fImportedNSList->containsElement(namespaceURI))
  -        fImportedNSList->addElement(namespaceURI);
   }
   
   inline bool SchemaInfo::isImportingNS(const int namespaceURI) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to