Author: amassari
Date: Thu Jun 16 17:49:35 2005
New Revision: 191040
URL: http://svn.apache.org/viewcvs?rev=191040&view=rev
Log:
XMLSchemaDescriptionImpl::getLocationHints() returns a const pointer
(XERCESC-1153)
Modified:
xerces/c/trunk/samples/src/PSVIWriter/PSVIWriterHandlers.cpp
xerces/c/trunk/src/xercesc/framework/XMLSchemaDescription.hpp
xerces/c/trunk/src/xercesc/framework/psvi/XSNamespaceItem.hpp
xerces/c/trunk/src/xercesc/validators/schema/XMLSchemaDescriptionImpl.cpp
xerces/c/trunk/src/xercesc/validators/schema/XMLSchemaDescriptionImpl.hpp
Modified: xerces/c/trunk/samples/src/PSVIWriter/PSVIWriterHandlers.cpp
URL:
http://svn.apache.org/viewcvs/xerces/c/trunk/samples/src/PSVIWriter/PSVIWriterHandlers.cpp?rev=191040&r1=191039&r2=191040&view=diff
==============================================================================
--- xerces/c/trunk/samples/src/PSVIWriter/PSVIWriterHandlers.cpp (original)
+++ xerces/c/trunk/samples/src/PSVIWriter/PSVIWriterHandlers.cpp Thu Jun 16
17:49:35 2005
@@ -610,7 +610,7 @@
}
void PSVIWriterHandlers::processSchemaDocuments(XSNamespaceItem*
namespaceItem) {
- StringList* locations = namespaceItem->getDocumentLocations();
+ const StringList* locations = namespaceItem->getDocumentLocations();
if (locations==NULL) {
sendElementEmpty(PSVIUni::fgSchemaDocuments);
}
Modified: xerces/c/trunk/src/xercesc/framework/XMLSchemaDescription.hpp
URL:
http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/framework/XMLSchemaDescription.hpp?rev=191040&r1=191039&r2=191040&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/framework/XMLSchemaDescription.hpp (original)
+++ xerces/c/trunk/src/xercesc/framework/XMLSchemaDescription.hpp Thu Jun 16
17:49:35 2005
@@ -15,21 +15,7 @@
*/
/*
- * $Log$
- * Revision 1.4 2004/09/08 13:55:59 peiyongz
- * Apache License Version 2.0
- *
- * Revision 1.3 2003/10/14 15:17:47 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.2 2003/07/31 17:03:19 peiyongz
- * locationHint incrementally added
- *
- * Revision 1.1 2003/06/20 18:37:39 peiyongz
- * Stateless Grammar Pool :: Part I
- *
* $Id$
- *
*/
#if !defined(XMLSCHEMADESCRIPTION_HPP)
@@ -104,7 +90,7 @@
* getLocationHints
*
*/
- virtual RefArrayVectorOf<XMLCh>* getLocationHints() const = 0;
+ virtual const RefArrayVectorOf<XMLCh>* getLocationHints() const = 0;
/**
* getTriggeringComponent
Modified: xerces/c/trunk/src/xercesc/framework/psvi/XSNamespaceItem.hpp
URL:
http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/framework/psvi/XSNamespaceItem.hpp?rev=191040&r1=191039&r2=191040&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/framework/psvi/XSNamespaceItem.hpp (original)
+++ xerces/c/trunk/src/xercesc/framework/psvi/XSNamespaceItem.hpp Thu Jun 16
17:49:35 2005
@@ -15,39 +15,7 @@
*/
/*
- * $Log$
- * Revision 1.9 2004/09/08 13:56:09 peiyongz
- * Apache License Version 2.0
- *
- * Revision 1.8 2003/12/24 17:42:02 knoaman
- * Misc. PSVI updates
- *
- * Revision 1.7 2003/12/01 23:23:26 neilg
- * fix for bug 25118; thanks to Jeroen Witmond
- *
- * Revision 1.6 2003/11/21 22:34:45 neilg
- * More schema component model implementation, thanks to David Cargill.
- * In particular, this cleans up and completes the XSModel, XSNamespaceItem,
- * XSAttributeDeclaration and XSAttributeGroup implementations.
- *
- * Revision 1.5 2003/11/21 17:34:04 knoaman
- * PSVI update
- *
- * Revision 1.4 2003/11/14 22:47:53 neilg
- * fix bogus log message from previous commit...
- *
- * Revision 1.3 2003/11/14 22:33:30 neilg
- * Second phase of schema component model implementation.
- * Implement XSModel, XSNamespaceItem, and the plumbing necessary
- * to connect them to the other components.
- * 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.
- *
- * Revision 1.1 2003/09/16 14:33:36 neilg
- * PSVI/schema component model classes, with Makefile/configuration changes
necessary to build them
- *
+ * $Id $
*/
#if !defined(XSNAMESPACEITEM_HPP)
@@ -199,7 +167,7 @@
* [document location] - a list of locations URI for the documents that
* contributed to the XSModel.
*/
- StringList *getDocumentLocations();
+ const StringList *getDocumentLocations();
//@}
Modified:
xerces/c/trunk/src/xercesc/validators/schema/XMLSchemaDescriptionImpl.cpp
URL:
http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/validators/schema/XMLSchemaDescriptionImpl.cpp?rev=191040&r1=191039&r2=191040&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/schema/XMLSchemaDescriptionImpl.cpp
(original)
+++ xerces/c/trunk/src/xercesc/validators/schema/XMLSchemaDescriptionImpl.cpp
Thu Jun 16 17:49:35 2005
@@ -84,7 +84,7 @@
return fNamespace;
}
-RefArrayVectorOf<XMLCh>* XMLSchemaDescriptionImpl::getLocationHints() const
+const RefArrayVectorOf<XMLCh>* XMLSchemaDescriptionImpl::getLocationHints()
const
{
return fLocationHints;
}
Modified:
xerces/c/trunk/src/xercesc/validators/schema/XMLSchemaDescriptionImpl.hpp
URL:
http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/validators/schema/XMLSchemaDescriptionImpl.hpp?rev=191040&r1=191039&r2=191040&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/schema/XMLSchemaDescriptionImpl.hpp
(original)
+++ xerces/c/trunk/src/xercesc/validators/schema/XMLSchemaDescriptionImpl.hpp
Thu Jun 16 17:49:35 2005
@@ -15,21 +15,7 @@
*/
/*
- * $Log$
- * Revision 1.4 2004/09/08 13:56:57 peiyongz
- * Apache License Version 2.0
- *
- * Revision 1.3 2003/10/14 15:22:28 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.2 2003/07/31 17:14:27 peiyongz
- * Grammar embed grammar description
- *
- * Revision 1.1 2003/06/20 18:40:29 peiyongz
- * Stateless Grammar Pool :: Part I
- *
* $Id$
- *
*/
#if !defined(XMLSchemaDescriptionImplIMPL_HPP)
@@ -89,7 +75,7 @@
* getLocationHints
*
*/
- virtual RefArrayVectorOf<XMLCh>* getLocationHints() const;
+ virtual const RefArrayVectorOf<XMLCh>* getLocationHints() const;
/**
* getTriggeringComponent
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]