neilg 2003/11/07 12:30:28
Modified: c/src/xercesc/internal XMLGrammarPoolImpl.cpp
c/src/xercesc/framework/psvi XSNamedMap.c
Log:
fix compilation errors on AIX and HPUX; thanks to David Cargill
Revision Changes Path
1.12 +8 -1 xml-xerces/c/src/xercesc/internal/XMLGrammarPoolImpl.cpp
Index: XMLGrammarPoolImpl.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/internal/XMLGrammarPoolImpl.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- XMLGrammarPoolImpl.cpp 6 Nov 2003 21:53:52 -0000 1.11
+++ XMLGrammarPoolImpl.cpp 7 Nov 2003 20:30:28 -0000 1.12
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.12 2003/11/07 20:30:28 neilg
+ * fix compilation errors on AIX and HPUX; thanks to David Cargill
+ *
* Revision 1.11 2003/11/06 21:53:52 neilg
* update grammar pool interface so that cacheGrammar(Grammar) can tell the caller
whether the grammar was accepted. Also fix some documentation errors.
*
@@ -110,6 +113,10 @@
#include <xercesc/util/SynchronizedStringPool.hpp>
XERCES_CPP_NAMESPACE_BEGIN
+
+void updatePSVIvectorElemIds(ValueVectorOf<SchemaElementDecl*>* vectorElemDecls,
+ SchemaGrammar* const grammar);
+
// ---------------------------------------------------------------------------
// XMLGrammarPoolImpl: constructor and destructor
1.3 +5 -2 xml-xerces/c/src/xercesc/framework/psvi/XSNamedMap.c
Index: XSNamedMap.c
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/psvi/XSNamedMap.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XSNamedMap.c 6 Nov 2003 15:30:04 -0000 1.2
+++ XSNamedMap.c 7 Nov 2003 20:30:28 -0000 1.3
@@ -56,6 +56,9 @@
/**
* $Log$
+ * Revision 1.3 2003/11/07 20:30:28 neilg
+ * fix compilation errors on AIX and HPUX; thanks to David Cargill
+ *
* Revision 1.2 2003/11/06 15:30:04 neilg
* first part of PSVI/schema component model implementation, thanks to David
Cargill. This covers setting the PSVIHandler on parser objects, as well as
implementing XSNotation, XSSimpleTypeDefinition, XSIDCDefinition, and most of
XSWildcard, XSComplexTypeDefinition, XSElementDeclaration, XSAttributeDeclaration and
XSAttributeUse.
*
@@ -106,7 +109,7 @@
* <code>mapLength-1</code> inclusive.
*/
template <class TVal>
-unsigned int getLength()
+unsigned int XSNamedMap<TVal>::getLength()
{
return fVector->size();
}
@@ -121,7 +124,7 @@
* that is not a valid index.
*/
template <class TVal>
-TVal *item(unsigned int index)
+TVal* XSNamedMap<TVal>::item(unsigned int index)
{
if (index >= fVector->size())
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]