[GME-commit] GMESRC/GME/Include/xercesc/validators/datatype XMLCanRepGroup.hpp, NONE, 1.1 AbstractNumericFacetValidator.hpp, 1.1.1.1, 1.2 AbstractNumericValidator.hpp, 1.1.1.1, 1.2 AbstractStringValidator.hpp, 1.1.1.1, 1.2 AnySimpleTypeDatatypeValidator.hpp, 1.1.1.1, 1.2 AnyURIDatatypeValidator.hpp, 1.1.1.1, 1.2 Base64BinaryDatatypeValidator.hpp, 1.1.1.1, 1.2 BooleanDatatypeValidator.hpp, 1.1.1.1, 1.2 DatatypeValidator.hpp, 1.1.1.1, 1.2 DatatypeValidatorFactory.hpp, 1.1.1.1, 1.2 DateDatatypeValidator.hpp, 1.1.1.1, 1.2 DateTimeDatatypeValidator.hpp, 1.1.1.1, 1.2 DateTimeValidator.hpp, 1.1.1.1, 1.2 DayDatatypeValidator.hpp, 1.1.1.1, 1.2 DecimalDatatypeValidator.hpp, 1.1.1.1, 1.2 DoubleDatatypeValidator.hpp, 1.1.1.1, 1.2 DurationDatatypeValidator.hpp, 1.1.1.1, 1.2 ENTITYDatatypeValidator.hpp, 1.1.1.1, 1.2 FloatDatatypeValidator.hpp, 1.1.1.1, 1.2 HexBinaryDatatypeValidator.hpp, 1.1.1.1, 1.2 IDDatatypeValidator.hpp, 1.1.1.1, 1.2 IDREFDatatypeValidator.hpp, 1.1.1.1, 1.2 InvalidDatatypeFacetException.hpp, 1.1.1.1, 1.2 InvalidDataty peValueException.hpp, 1.1.1.1, 1.2 ListDatatypeValidator.hpp, 1.1.1.1, 1.2 MonthDatatypeValidator.hpp, 1.1.1.1, 1.2 MonthDayDatatypeValidator.hpp, 1.1.1.1, 1.2 NCNameDatatypeValidator.hpp, 1.1.1.1, 1.2 NOTATIONDatatypeValidator.hpp, 1.1.1.1, 1.2 NameDatatypeValidator.hpp, 1.1.1.1, 1.2 QNameDatatypeValidator.hpp, 1.1.1.1, 1.2 StringDatatypeValidator.hpp, 1.1.1.1, 1.2 TimeDatatypeValidator.hpp, 1.1.1.1, 1.2 UnionDatatypeValidator.hpp, 1.1.1.1, 1.2 YearDatatypeValidator.hpp, 1.1.1.1, 1.2 YearMonthDatatypeValidator.hpp, 1.1.1.1, 1.2
Log messages of CVS commits
gme-commit at list.isis.vanderbilt.edu
Tue Feb 19 14:16:42 CST 2008
- Previous message: [GME-commit] GMESRC/GME/Include/xercesc/validators/schema ComplexTypeInfo.hpp, 1.1.1.1, 1.2 GeneralAttributeCheck.hpp, 1.1.1.1, 1.2 NamespaceScope.hpp, 1.1.1.1, 1.2 PSVIDefs.hpp, 1.1.1.1, 1.2 SchemaAttDef.hpp, 1.1.1.1, 1.2 SchemaAttDefList.hpp, 1.1.1.1, 1.2 SchemaElementDecl.hpp, 1.1.1.1, 1.2 SchemaGrammar.hpp, 1.1.1.1, 1.2 SchemaInfo.hpp, 1.1.1.1, 1.2 SchemaSymbols.hpp, 1.1.1.1, 1.2 SchemaValidator.hpp, 1.1.1.1, 1.2 SubstitutionGroupComparator.hpp, 1.1.1.1, 1.2 TraverseSchema.hpp, 1.1.1.1, 1.2 XMLSchemaDescriptionImpl.hpp, 1.1.1.1, 1.2 XSDDOMParser.hpp, 1.1.1.1, 1.2 XSDErrorReporter.hpp, 1.1.1.1, 1.2 XSDLocator.hpp, 1.1.1.1, 1.2 XUtil.hpp, 1.1.1.1, 1.2 XercesAttGroupInfo.hpp, 1.1.1.1, 1.2 XercesElementWildcard.hpp, 1.1.1.1, 1.2 XercesGroupInfo.hpp, 1.1.1.1, 1.2
- Next message: [GME-commit] GMESRC/GME/Include/xercesc/util/regx ASCIIRangeFactory.cpp, NONE, 1.1 BMPattern.cpp, NONE, 1.1 BlockRangeFactory.cpp, NONE, 1.1 CharToken.cpp, NONE, 1.1 ClosureToken.cpp, NONE, 1.1 ConcatToken.cpp, NONE, 1.1 ConditionToken.cpp, NONE, 1.1 Makefile.in, NONE, 1.1 Match.cpp, NONE, 1.1 ModifierToken.cpp, NONE, 1.1 Op.cpp, NONE, 1.1 OpFactory.cpp, NONE, 1.1 ParenToken.cpp, NONE, 1.1 ParserForXMLSchema.cpp, NONE, 1.1 RangeFactory.cpp, NONE, 1.1 RangeToken.cpp, NONE, 1.1 RangeTokenMap.cpp, NONE, 1.1 RegularExpression.cpp, NONE, 1.1 RegxParser.cpp, NONE, 1.1 RegxUtil.cpp, NONE, 1.1 StringToken.cpp, NONE, 1.1 Token.cpp, NONE, 1.1 TokenFactory.cpp, NONE, 1.1 UnicodeRangeFactory.cpp, NONE, 1.1 UnionToken.cpp, NONE, 1.1 XMLRangeFactory.cpp, NONE, 1.1 XMLUniCharacter.cpp, NONE, 1.1 ASCIIRangeFactory.hpp, 1.1.1.1, 1.2 BMPattern.hpp, 1.1.1.1, 1.2 BlockRangeFactory.hpp, 1.1.1.1, 1.2 CharToken.hpp, 1.1.1.1, 1.2 ClosureToken.hpp, 1.1.1.1, 1.2 ConcatToken.hpp, 1.1.1.1, 1.2 ConditionToken.hpp, 1.1.1.1, 1.2 Match.hpp, 1.1.1.1, 1.2 ModifierToken.hpp, 1.1.1.1, 1.2 Op.hpp, 1.1.1.1, 1.2 OpFactory.hpp, 1.1.1.1, 1.2 ParenToken.hpp, 1.1.1.1, 1.2 ParserForXMLSchema.hpp, 1.1.1.1, 1.2 RangeFactory.hpp, 1.1.1.1, 1.2 RangeToken.hpp, 1.1.1.1, 1.2 RangeTokenMap.hpp, 1.1.1.1, 1.2 RegularExpression.hpp, 1.1.1.1, 1.2 RegxDefs.hpp, 1.1.1.1, 1.2 RegxParser.hpp, 1.1.1.1, 1.2 RegxUtil.hpp, 1.1.1.1, 1.2 StringToken.hpp, 1.1.1.1, 1.2 Token.hpp, 1.1.1.1, 1.2 TokenFactory.hpp, 1.1.1.1, 1.2 TokenInc.hpp, 1.1.1.1, 1.2 UniCharTable.hpp, 1.1.1.1, 1.2 UnicodeRangeFactory.hpp, 1.1.1.1, 1.2 UnionToken.hpp, 1.1.1.1, 1.2 XMLRangeFactory.hpp, 1.1.1.1, 1.2 XMLUniCharacter.hpp, 1.1.1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype
In directory escher:/tmp/cvs-serv26529/validators/datatype
Modified Files:
AbstractNumericFacetValidator.hpp AbstractNumericValidator.hpp
AbstractStringValidator.hpp AnySimpleTypeDatatypeValidator.hpp
AnyURIDatatypeValidator.hpp Base64BinaryDatatypeValidator.hpp
BooleanDatatypeValidator.hpp DatatypeValidator.hpp
DatatypeValidatorFactory.hpp DateDatatypeValidator.hpp
DateTimeDatatypeValidator.hpp DateTimeValidator.hpp
DayDatatypeValidator.hpp DecimalDatatypeValidator.hpp
DoubleDatatypeValidator.hpp DurationDatatypeValidator.hpp
ENTITYDatatypeValidator.hpp FloatDatatypeValidator.hpp
HexBinaryDatatypeValidator.hpp IDDatatypeValidator.hpp
IDREFDatatypeValidator.hpp InvalidDatatypeFacetException.hpp
InvalidDatatypeValueException.hpp ListDatatypeValidator.hpp
MonthDatatypeValidator.hpp MonthDayDatatypeValidator.hpp
NCNameDatatypeValidator.hpp NOTATIONDatatypeValidator.hpp
NameDatatypeValidator.hpp QNameDatatypeValidator.hpp
StringDatatypeValidator.hpp TimeDatatypeValidator.hpp
UnionDatatypeValidator.hpp YearDatatypeValidator.hpp
YearMonthDatatypeValidator.hpp
Added Files:
XMLCanRepGroup.hpp
Log Message:
Xerces2.7 includes checkin.
CVS User: Zoltan Molnar, ISIS (zolmol)
Index: YearDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/YearDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** YearDatatypeValidator.hpp 14 Apr 2004 10:08:27 -0000 1.1.1.1
--- YearDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,85 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:27 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.6 2003/10/02 19:21:06 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.5 2003/08/14 03:00:11 knoaman
- * Code refactoring to improve performance of validation.
- *
- * Revision 1.4 2003/05/15 18:53:27 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:43 peiyongz
- * sane_include
- *
- * Revision 1.1 2001/11/07 19:18:52 peiyongz
- * DateTime Port
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 139,144 ****
// implementation of (DateTimeValidator's) virtual interface
// -----------------------------------------------------------------------
! virtual XMLDateTime* parse(const XMLCh* const);
! virtual void parse(XMLDateTime* const);};
XERCES_CPP_NAMESPACE_END
--- 74,87 ----
// implementation of (DateTimeValidator's) virtual interface
// -----------------------------------------------------------------------
! virtual XMLDateTime* parse(const XMLCh* const, MemoryManager* const manager);
! virtual void parse(XMLDateTime* const);
!
! private:
! // -----------------------------------------------------------------------
! // Unimplemented constructors and operators
! // -----------------------------------------------------------------------
! YearDatatypeValidator(const YearDatatypeValidator&);
! YearDatatypeValidator& operator=(const YearDatatypeValidator&);
! };
XERCES_CPP_NAMESPACE_END
Index: NameDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/NameDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** NameDatatypeValidator.hpp 14 Apr 2004 10:08:27 -0000 1.1.1.1
--- NameDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,91 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 1999, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:27 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.6 2003/11/12 20:32:03 peiyongz
- * Statless Grammar: ValidationContext
- *
- * Revision 1.5 2003/09/30 18:17:53 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.4 2003/05/15 18:53:27 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:42 peiyongz
- * sane_include
- *
- * Revision 1.3 2001/10/09 20:48:39 peiyongz
- * init(): take 1 arg
- *
- * Revision 1.2 2001/09/27 13:51:25 peiyongz
- * DTV Reorganization: ctor/init created to be used by derived class
- *
- * Revision 1.1 2001/09/25 15:58:45 peiyongz
- * DTV Reorganization: new class
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 141,144 ****
--- 70,74 ----
const XMLCh* const content
, ValidationContext* const context = 0
+ , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
);
***************
*** 158,162 ****
* @return
*/
! virtual int compare(const XMLCh* const, const XMLCh* const);
//@}
--- 88,93 ----
* @return
*/
! virtual int compare(const XMLCh* const, const XMLCh* const
! , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager);
//@}
***************
*** 193,200 ****
);
! virtual void checkValueSpace(const XMLCh* const content);
private:
!
// -----------------------------------------------------------------------
// Private data members
--- 124,136 ----
);
! virtual void checkValueSpace(const XMLCh* const content
! , MemoryManager* const manager);
private:
! // -----------------------------------------------------------------------
! // Unimplemented constructors and operators
! // -----------------------------------------------------------------------
! NameDatatypeValidator(const NameDatatypeValidator&);
! NameDatatypeValidator& operator=(const NameDatatypeValidator&);
// -----------------------------------------------------------------------
// Private data members
Index: DecimalDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/DecimalDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** DecimalDatatypeValidator.hpp 14 Apr 2004 10:08:26 -0000 1.1.1.1
--- DecimalDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,106 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001-2003 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:26 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.10 2003/11/28 18:53:07 peiyongz
- * Support for getCanonicalRepresentation
- *
- * Revision 1.9 2003/11/12 20:32:03 peiyongz
- * Statless Grammar: ValidationContext
- *
- * Revision 1.8 2003/10/02 19:21:06 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.7 2003/08/14 03:00:11 knoaman
- * Code refactoring to improve performance of validation.
- *
- * Revision 1.6 2003/05/22 02:10:52 knoaman
- * Default the memory manager.
- *
- * Revision 1.5 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.4 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.3 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.2 2002/10/17 20:49:05 peiyongz
- * Patch to Bug#13640: Getter methods not public in DecimalDatatypeValidator
- *
- * Revision 1.1.1.1 2002/02/01 22:22:41 peiyongz
- * sane_include
- *
- * Revision 1.10 2001/11/22 20:23:20 peiyongz
- * _declspec(dllimport) and inline warning C4273
- *
- * Revision 1.9 2001/10/09 20:52:43 peiyongz
- * init():removed
- *
- * Revision 1.8 2001/10/01 21:04:40 peiyongz
- * DTV Reorganization:fix to memory leak in compare() method.
- *
- * Revision 1.7 2001/10/01 16:16:38 peiyongz
- * DTV Reorganization:derived from AbstractNumericValidator
- *
*/
--- 1,20 ----
/*
! * Copyright 2001-2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 154,158 ****
* @return
*/
! virtual int compare(const XMLCh* const, const XMLCh* const);
//@}
--- 68,74 ----
* @return
*/
! virtual int compare(const XMLCh* const, const XMLCh* const
! , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
! );
//@}
***************
*** 174,177 ****
--- 90,94 ----
const XMLCh* const rawData
, MemoryManager* const memMgr = 0
+ , bool toValidate = false
) const;
***************
*** 200,210 ****
virtual void assignAdditionalFacet(const XMLCh* const key
! , const XMLCh* const value);
virtual void inheritAdditionalFacet();
! virtual void checkAdditionalFacetConstraints() const;
! virtual void checkAdditionalFacetConstraintsBase() const;
virtual int compareValues(const XMLNumber* const lValue
--- 117,128 ----
virtual void assignAdditionalFacet(const XMLCh* const key
! , const XMLCh* const value
! , MemoryManager* const manager);
virtual void inheritAdditionalFacet();
! virtual void checkAdditionalFacetConstraints(MemoryManager* const manager) const;
! virtual void checkAdditionalFacetConstraintsBase(MemoryManager* const manager) const;
virtual int compareValues(const XMLNumber* const lValue
***************
*** 219,223 ****
virtual void setMinExclusive(const XMLCh* const);
! virtual void setEnumeration();
// -----------------------------------------------------------------------
--- 137,141 ----
virtual void setMinExclusive(const XMLCh* const);
! virtual void setEnumeration(MemoryManager* const manager);
// -----------------------------------------------------------------------
***************
*** 227,231 ****
virtual void checkContent(const XMLCh* const content
, ValidationContext* const context
! , bool asBase);
public:
--- 145,150 ----
virtual void checkContent(const XMLCh* const content
, ValidationContext* const context
! , bool asBase
! , MemoryManager* const manager);
public:
***************
*** 253,257 ****
unsigned int fTotalDigits;
unsigned int fFractionDigits;
! XMLBigDecimal* fCompareData;
};
--- 172,182 ----
unsigned int fTotalDigits;
unsigned int fFractionDigits;
!
!
! // -----------------------------------------------------------------------
! // Unimplemented constructors and operators
! // -----------------------------------------------------------------------
! DecimalDatatypeValidator(const DecimalDatatypeValidator&);
! DecimalDatatypeValidator& operator=(const DecimalDatatypeValidator&);
};
Index: InvalidDatatypeValueException.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/InvalidDatatypeValueException.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** InvalidDatatypeValueException.hpp 14 Apr 2004 10:08:26 -0000 1.1.1.1
--- InvalidDatatypeValueException.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,56 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
--- 1,16 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
Index: UnionDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/UnionDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** UnionDatatypeValidator.hpp 14 Apr 2004 10:08:27 -0000 1.1.1.1
--- UnionDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,131 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:27 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.14 2003/11/28 18:53:07 peiyongz
- * Support for getCanonicalRepresentation
- *
- * Revision 1.13 2003/11/24 05:10:26 neilg
- * implement method for determining member type of union that validated some value
- *
- * Revision 1.12 2003/11/12 20:32:03 peiyongz
- * Statless Grammar: ValidationContext
- *
- * Revision 1.11 2003/10/07 19:39:03 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.10 2003/08/16 18:42:49 neilg
- * fix for bug 22457. Union types that are restrictions of other union types were previously considered not to inherit their parents member types. This is at variance with the behaviour of the Java parser and apparently with the spec, so I have changed this.
- *
- * Revision 1.9 2003/05/15 18:53:27 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.8 2003/02/06 13:51:55 gareth
- * fixed bug with multiple attributes being validated by the same union type.
- *
- * Revision 1.7 2003/01/29 19:55:19 gareth
- * updated to deal with null pointer issue with fValidatedDatatype.
- *
- * Revision 1.6 2003/01/29 19:53:35 gareth
- * we now store information about which validator was used to validate.
- *
- * Revision 1.5 2003/01/10 16:48:47 tng
- * [Bug 14912] crashes inside UnionDatatypeValidator::isSubstitutableBy. Patch from Alberto Massari.
- *
- * Revision 1.4 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.3 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.2 2002/02/14 15:17:31 peiyongz
- * getEnumString()
- *
- * Revision 1.1.1.1 2002/02/01 22:22:43 peiyongz
- * sane_include
- *
- * Revision 1.9 2001/12/13 16:48:29 peiyongz
- * Avoid dangling pointer
- *
- * Revision 1.8 2001/09/05 20:49:10 knoaman
- * Fix for complexTypes with mixed content model.
- *
- * Revision 1.7 2001/08/31 16:53:41 knoaman
- * Misc. fixes.
- *
- * Revision 1.6 2001/08/24 17:12:01 knoaman
- * Add support for anySimpleType.
- * Remove parameter 'baseValidator' from the virtual method 'newInstance'.
- *
- * Revision 1.5 2001/08/21 20:05:41 peiyongz
- * put back changes introduced in 1.3
- *
- * Revision 1.3 2001/08/16 14:41:38 knoaman
- * implementation of virtual methods.
- *
- * Revision 1.2 2001/07/24 21:23:40 tng
- * Schema: Use DatatypeValidator for ID/IDREF/ENTITY/ENTITIES/NOTATION.
- *
- * Revision 1.1 2001/07/13 14:10:40 peiyongz
- * UnionDTV
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 205,208 ****
--- 94,98 ----
const XMLCh* const rawData
, MemoryManager* const memMgr = 0
+ , bool toValidate = false
) const;
***************
*** 227,230 ****
--- 117,121 ----
const XMLCh* const content
, ValidationContext* const context = 0
+ , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
);
***************
*** 255,259 ****
* @return
*/
! int compare(const XMLCh* const, const XMLCh* const);
//@}
--- 146,152 ----
* @return
*/
! int compare(const XMLCh* const, const XMLCh* const
! , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
! );
//@}
***************
*** 283,286 ****
--- 176,180 ----
* Returns the type name that was actually used to validate the last time validate was called
* note - this does not mean that it fully validated sucessfully
+ * @deprecated
**/
const XMLCh* getMemberTypeName() const;
***************
*** 289,292 ****
--- 183,187 ----
* Returns the type uri that was actually used to validate the last time validate was called
* note - this does not mean that it fully validated sucessfully
+ * @deprecated
**/
const XMLCh* getMemberTypeUri() const;
***************
*** 295,298 ****
--- 190,194 ----
* Returns true if the type that was actually used to validate the last time validate was called
* is anonymous
+ * @deprecated
*/
bool getMemberTypeAnonymous() const;
***************
*** 302,305 ****
--- 198,202 ----
* Returns the member DatatypeValidator used to validate the content the last time validate
* was called
+ * @deprecated
*/
const DatatypeValidator* getMemberTypeValidator() const;
***************
*** 311,322 ****
private:
virtual void checkContent(const XMLCh* const content
, ValidationContext* const context
! , bool asBase);
void init(DatatypeValidator* const baseValidator
, RefHashTableOf<KVStringPair>* const facets
! , RefArrayVectorOf<XMLCh>* const enums);
void cleanUp();
--- 208,226 ----
private:
+ // -----------------------------------------------------------------------
+ // Unimplemented constructors and operators
+ // -----------------------------------------------------------------------
+ UnionDatatypeValidator(const UnionDatatypeValidator&);
+ UnionDatatypeValidator& operator=(const UnionDatatypeValidator&);
virtual void checkContent(const XMLCh* const content
, ValidationContext* const context
! , bool asBase
! , MemoryManager* const manager);
void init(DatatypeValidator* const baseValidator
, RefHashTableOf<KVStringPair>* const facets
! , RefArrayVectorOf<XMLCh>* const enums
! , MemoryManager* const manager);
void cleanUp();
***************
*** 360,366 ****
inline void UnionDatatypeValidator::validate( const XMLCh* const content
! , ValidationContext* const context)
{
! checkContent(content, context, false);
}
--- 264,271 ----
inline void UnionDatatypeValidator::validate( const XMLCh* const content
! , ValidationContext* const context
! , MemoryManager* const manager)
{
! checkContent(content, context, false, manager);
}
Index: ENTITYDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/ENTITYDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** ENTITYDatatypeValidator.hpp 14 Apr 2004 10:08:26 -0000 1.1.1.1
--- ENTITYDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,104 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001-2003 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 1999, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:26 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.6 2003/11/12 20:32:03 peiyongz
- * Statless Grammar: ValidationContext
- *
- * Revision 1.5 2003/09/30 18:17:53 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.4 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:41 peiyongz
- * sane_include
- *
- * Revision 1.7 2001/11/22 20:23:20 peiyongz
- * _declspec(dllimport) and inline warning C4273
- *
- * Revision 1.6 2001/10/09 20:50:27 peiyongz
- * init(): take 1 arg
- *
- * Revision 1.5 2001/09/27 13:51:25 peiyongz
- * DTV Reorganization: ctor/init created to be used by derived class
- *
- * Revision 1.4 2001/09/24 21:39:29 peiyongz
- * DTV Reorganization: checkValueSpace()
- *
- * Revision 1.3 2001/08/24 17:12:01 knoaman
- * Add support for anySimpleType.
- * Remove parameter 'baseValidator' from the virtual method 'newInstance'.
- *
- * Revision 1.2 2001/07/24 21:23:40 tng
- * Schema: Use DatatypeValidator for ID/IDREF/ENTITY/ENTITIES/NOTATION.
- *
- * Revision 1.1 2001/07/06 20:19:52 peiyongz
- * ENTITYDTV
- *
*/
--- 1,20 ----
/*
! * Copyright 2001-2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 157,160 ****
--- 73,77 ----
const XMLCh* const content
, ValidationContext* const context = 0
+ , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
);
***************
*** 174,178 ****
* @return
*/
! virtual int compare(const XMLCh* const, const XMLCh* const);
//@}
--- 91,96 ----
* @return
*/
! virtual int compare(const XMLCh* const, const XMLCh* const
! , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager);
//@}
***************
*** 216,228 ****
, const ValidatorType type);
! virtual void checkValueSpace(const XMLCh* const content);
private:
-
// -----------------------------------------------------------------------
! // Private data members
! //
! //
// -----------------------------------------------------------------------
};
--- 134,146 ----
, const ValidatorType type);
! virtual void checkValueSpace(const XMLCh* const content
! , MemoryManager* const manager);
private:
// -----------------------------------------------------------------------
! // Unimplemented constructors and operators
// -----------------------------------------------------------------------
+ ENTITYDatatypeValidator(const ENTITYDatatypeValidator&);
+ ENTITYDatatypeValidator& operator = (const ENTITYDatatypeValidator&);
};
Index: IDDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/IDDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** IDDatatypeValidator.hpp 14 Apr 2004 10:08:26 -0000 1.1.1.1
--- IDDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,109 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:26 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.6 2003/11/12 20:32:03 peiyongz
- * Statless Grammar: ValidationContext
- *
- * Revision 1.5 2003/09/30 18:17:53 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.4 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:41 peiyongz
- * sane_include
- *
- * Revision 1.8 2001/11/22 20:23:20 peiyongz
- * _declspec(dllimport) and inline warning C4273
- *
- * Revision 1.7 2001/10/09 20:50:02 peiyongz
- * init(): take 1 arg
- *
- * Revision 1.6 2001/09/27 13:51:25 peiyongz
- * DTV Reorganization: ctor/init created to be used by derived class
- *
- * Revision 1.5 2001/09/25 14:23:42 peiyongz
- * DTV Reorganization: checkValueSpace()
- *
- * Revision 1.4 2001/08/24 17:12:01 knoaman
- * Add support for anySimpleType.
- * Remove parameter 'baseValidator' from the virtual method 'newInstance'.
- *
- * Revision 1.3 2001/07/25 17:58:08 tng
- * Fix compilation errors.
- *
- * Revision 1.2 2001/07/24 21:23:40 tng
- * Schema: Use DatatypeValidator for ID/IDREF/ENTITY/ENTITIES/NOTATION.
- *
- * Revision 1.1 2001/07/04 14:38:25 peiyongz
- * IDDatatypeValidator: created
- * DatatypeValidatorFactory: IDDTV enabled
- * XMLString:isValidName(): to validate Name (XML [4][5])
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 160,163 ****
--- 71,75 ----
const XMLCh* const content
, ValidationContext* const context = 0
+ , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
);
***************
*** 198,205 ****
);
! virtual void checkValueSpace(const XMLCh* const content);
private:
!
// -----------------------------------------------------------------------
// Private data members
--- 110,122 ----
);
! virtual void checkValueSpace(const XMLCh* const content
! , MemoryManager* const manager);
private:
! // -----------------------------------------------------------------------
! // Unimplemented constructors and operators
! // -----------------------------------------------------------------------
! IDDatatypeValidator(const IDDatatypeValidator&);
! IDDatatypeValidator& operator=(const IDDatatypeValidator&);
// -----------------------------------------------------------------------
// Private data members
Index: DatatypeValidatorFactory.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/DatatypeValidatorFactory.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** DatatypeValidatorFactory.hpp 14 Apr 2004 10:08:25 -0000 1.1.1.1
--- DatatypeValidatorFactory.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,56 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
--- 1,16 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
***************
*** 86,89 ****
--- 46,50 ----
// ---------------------------------------------------------------------------
#include <xercesc/validators/datatype/DatatypeValidator.hpp>
+ #include <xercesc/validators/datatype/XMLCanRepGroup.hpp>
#include <xercesc/util/RefVectorOf.hpp>
***************
*** 171,174 ****
--- 132,145 ----
//@}
+
+ // -----------------------------------------------------------------------
+ // Canonical Representation Group
+ // -----------------------------------------------------------------------
+ void initCanRepRegistory();
+
+ static XMLCanRepGroup::CanRepGroup getCanRepGroup(const DatatypeValidator* const);
+
+ static DatatypeValidator* getBuiltInBaseValidator(const DatatypeValidator* const);
+
// -----------------------------------------------------------------------
// Validator Factory methods
***************
*** 206,209 ****
--- 177,181 ----
, const int finalSet = 0
, const bool isUserDefined = true
+ , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
);
***************
*** 227,230 ****
--- 199,203 ----
, const int finalSet
, const bool isUserDefined = true
+ , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
);
***************
*** 254,257 ****
--- 227,236 ----
// -----------------------------------------------------------------------
+ // Unimplemented constructors and operators
+ // -----------------------------------------------------------------------
+ DatatypeValidatorFactory(const DatatypeValidatorFactory&);
+ DatatypeValidatorFactory& operator=(const DatatypeValidatorFactory&);
+
+ // -----------------------------------------------------------------------
// Private data members
//
***************
*** 264,267 ****
--- 243,247 ----
XERCES_CPP_NAMESPACE_QUALIFIER RefHashTableOf<XERCES_CPP_NAMESPACE_QUALIFIER DatatypeValidator>* fUserDefinedRegistry;
static XERCES_CPP_NAMESPACE_QUALIFIER RefHashTableOf<DatatypeValidator>* fBuiltInRegistry;
+ static XERCES_CPP_NAMESPACE_QUALIFIER RefHashTableOf<XMLCanRepGroup>* fCanRepRegistry;
XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager* const fMemoryManager;
***************
*** 299,304 ****
inline void DatatypeValidatorFactory::cleanUp() {
! delete fUserDefinedRegistry;
! fUserDefinedRegistry = 0;
}
--- 279,287 ----
inline void DatatypeValidatorFactory::cleanUp() {
! if (fUserDefinedRegistry)
! {
! delete fUserDefinedRegistry;
! fUserDefinedRegistry = 0;
! }
}
Index: StringDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/StringDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** StringDatatypeValidator.hpp 14 Apr 2004 10:08:27 -0000 1.1.1.1
--- StringDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,97 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:27 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.6 2003/10/01 01:09:35 knoaman
- * Refactoring of some code to improve performance.
- *
- * Revision 1.5 2003/09/29 21:47:35 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.4 2003/05/15 18:53:27 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:42 peiyongz
- * sane_include
- *
- * Revision 1.10 2001/11/22 20:23:20 peiyongz
- * _declspec(dllimport) and inline warning C4273
- *
- * Revision 1.9 2001/10/09 20:54:48 peiyongz
- * init(): removed
- *
- * Revision 1.8 2001/09/27 13:51:25 peiyongz
- * DTV Reorganization: ctor/init created to be used by derived class
- *
- * Revision 1.7 2001/09/24 21:39:12 peiyongz
- * DTV Reorganization:
- *
- * Revision 1.6 2001/09/24 15:31:13 peiyongz
- * DTV Reorganization: inherit from AbstractStringValidator
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 161,175 ****
virtual void assignAdditionalFacet(const XMLCh* const key
! , const XMLCh* const value);
virtual void inheritAdditionalFacet();
! virtual void checkAdditionalFacetConstraints() const;
! virtual void checkAdditionalFacet(const XMLCh* const content) const;
! virtual void checkValueSpace(const XMLCh* const content);
! virtual int getLength(const XMLCh* const content) const;
};
--- 84,106 ----
virtual void assignAdditionalFacet(const XMLCh* const key
! , const XMLCh* const value
! , MemoryManager* const manager);
virtual void inheritAdditionalFacet();
! virtual void checkAdditionalFacetConstraints(MemoryManager* const manager) const;
! virtual void checkAdditionalFacet(const XMLCh* const content
! , MemoryManager* const manager) const;
! virtual void checkValueSpace(const XMLCh* const content
! , MemoryManager* const manager);
! private:
! // -----------------------------------------------------------------------
! // Unimplemented constructors and operators
! // -----------------------------------------------------------------------
! StringDatatypeValidator(const StringDatatypeValidator&);
! StringDatatypeValidator& operator=(const StringDatatypeValidator&);
};
Index: DateTimeDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/DateTimeDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** DateTimeDatatypeValidator.hpp 14 Apr 2004 10:08:26 -0000 1.1.1.1
--- DateTimeDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,88 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:26 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.7 2003/11/28 18:53:07 peiyongz
- * Support for getCanonicalRepresentation
- *
- * Revision 1.6 2003/10/02 19:21:06 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.5 2003/08/14 03:00:11 knoaman
- * Code refactoring to improve performance of validation.
- *
- * Revision 1.4 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:40 peiyongz
- * sane_include
- *
- * Revision 1.1 2001/11/07 19:18:52 peiyongz
- * DateTime Port
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 136,139 ****
--- 68,72 ----
const XMLCh* const rawData
, MemoryManager* const memMgr = 0
+ , bool toValidate = false
) const;
***************
*** 148,153 ****
// implementation of (DateTimeValidator's) virtual interface
// -----------------------------------------------------------------------
! virtual XMLDateTime* parse(const XMLCh* const);
virtual void parse(XMLDateTime* const);
};
--- 81,93 ----
// implementation of (DateTimeValidator's) virtual interface
// -----------------------------------------------------------------------
! virtual XMLDateTime* parse(const XMLCh* const, MemoryManager* const manager);
virtual void parse(XMLDateTime* const);
+
+ private:
+ // -----------------------------------------------------------------------
+ // Unimplemented constructors and operators
+ // -----------------------------------------------------------------------
+ DateTimeDatatypeValidator(const DateTimeDatatypeValidator&);
+ DateTimeDatatypeValidator& operator=(const DateTimeDatatypeValidator&);
};
Index: DoubleDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/DoubleDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** DoubleDatatypeValidator.hpp 14 Apr 2004 10:08:26 -0000 1.1.1.1
--- DoubleDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,99 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:26 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.6 2003/11/12 20:32:03 peiyongz
- * Statless Grammar: ValidationContext
- *
- * Revision 1.5 2003/10/02 19:21:06 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.4 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:41 peiyongz
- * sane_include
- *
- * Revision 1.5 2001/10/09 20:52:43 peiyongz
- * init():removed
- *
- * Revision 1.4 2001/10/01 21:03:55 peiyongz
- * DTV Reorganization:derived from AbstractNumericValidator
- *
- * Revision 1.3 2001/08/24 17:12:01 knoaman
- * Add support for anySimpleType.
- * Remove parameter 'baseValidator' from the virtual method 'newInstance'.
- *
- * Revision 1.2 2001/08/21 18:42:53 peiyongz
- * Bugzilla# 2816: cleanUp() declared with external linkage and called
- * before defined as inline
- *
- * Revision 1.1 2001/07/24 13:59:03 peiyongz
- * DoubleDTV
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 146,150 ****
* @return
*/
! virtual int compare(const XMLCh* const, const XMLCh* const);
//@}
--- 67,73 ----
* @return
*/
! virtual int compare(const XMLCh* const, const XMLCh* const
! , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
! );
//@}
***************
*** 185,197 ****
// -----------------------------------------------------------------------
- virtual void assignAdditionalFacet(const XMLCh* const key
- , const XMLCh* const value);
-
- virtual void inheritAdditionalFacet();
-
- virtual void checkAdditionalFacetConstraints() const;
-
- virtual void checkAdditionalFacetConstraintsBase() const;
-
virtual int compareValues(const XMLNumber* const lValue
, const XMLNumber* const rValue);
--- 108,111 ----
***************
*** 205,209 ****
virtual void setMinExclusive(const XMLCh* const);
! virtual void setEnumeration();
// -----------------------------------------------------------------------
--- 119,123 ----
virtual void setMinExclusive(const XMLCh* const);
! virtual void setEnumeration(MemoryManager* const manager);
// -----------------------------------------------------------------------
***************
*** 213,218 ****
virtual void checkContent(const XMLCh* const content
, ValidationContext* const context
! , bool asBase);
!
};
--- 127,138 ----
virtual void checkContent(const XMLCh* const content
, ValidationContext* const context
! , bool asBase
! , MemoryManager* const manager);
! private:
! // -----------------------------------------------------------------------
! // Unimplemented constructors and operators
! // -----------------------------------------------------------------------
! DoubleDatatypeValidator(const DoubleDatatypeValidator &);
! DoubleDatatypeValidator& operator = (const DoubleDatatypeValidator&);
};
Index: ListDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/ListDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** ListDatatypeValidator.hpp 14 Apr 2004 10:08:27 -0000 1.1.1.1
--- ListDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,124 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:27 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.9 2003/11/28 18:53:07 peiyongz
- * Support for getCanonicalRepresentation
- *
- * Revision 1.8 2003/11/12 20:32:03 peiyongz
- * Statless Grammar: ValidationContext
- *
- * Revision 1.7 2003/09/30 21:31:30 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.6 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.5 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.4 2002/12/16 22:28:25 knoaman
- * Make isAtomic inline.
- *
- * Revision 1.3 2002/11/20 19:57:44 peiyongz
- * validate content as a whole against pattern.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:42 peiyongz
- * sane_include
- *
- * Revision 1.11 2001/11/22 20:23:20 peiyongz
- * _declspec(dllimport) and inline warning C4273
- *
- * Revision 1.10 2001/11/15 16:08:15 peiyongz
- * checkContent() made virtual to allow ListDTV participate in the building of
- * its own (in AbstractStringValidator's init())
- *
- * Revision 1.9 2001/10/11 19:32:27 peiyongz
- * To overwrite inheritFacet()
- *
- * Revision 1.8 2001/10/09 20:56:21 peiyongz
- * inherit from AbstractStringValidator instead of DatatypeValidator to reuse
- * the code.
- *
- * 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'.
- *
- * Revision 1.5 2001/08/21 20:05:41 peiyongz
- * put back changes introduced in 1.3
- *
- * Revision 1.3 2001/08/16 14:41:38 knoaman
- * implementation of virtual methods.
- *
- * Revision 1.2 2001/07/24 21:23:40 tng
- * Schema: Use DatatypeValidator for ID/IDREF/ENTITY/ENTITIES/NOTATION.
- *
- * Revision 1.1 2001/07/11 21:37:17 peiyongz
- * ListDatatypeDTV
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 168,171 ****
--- 64,68 ----
const XMLCh* const rawData
, MemoryManager* const memMgr = 0
+ , bool toValidate = false
) const;
***************
*** 190,193 ****
--- 87,91 ----
const XMLCh* const content
, ValidationContext* const context = 0
+ , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
);
***************
*** 207,211 ****
* @return
*/
! int compare(const XMLCh* const, const XMLCh* const);
//@}
--- 105,111 ----
* @return
*/
! int compare(const XMLCh* const, const XMLCh* const
! , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
! );
//@}
***************
*** 236,256 ****
//
! virtual void assignAdditionalFacet(const XMLCh* const key
! , const XMLCh* const value);
!
! virtual void inheritAdditionalFacet();
!
! virtual void checkAdditionalFacetConstraints() const;
!
! virtual void checkAdditionalFacet(const XMLCh* const content) const;
!
! virtual void checkValueSpace(const XMLCh* const content);
! virtual int getLength(const XMLCh* const content) const;
//
// Overwrite AbstractStringValidator's
//
! virtual void inspectFacetBase();
virtual void inheritFacet();
--- 136,149 ----
//
! virtual void checkValueSpace(const XMLCh* const content
! , MemoryManager* const manager);
! virtual int getLength(const XMLCh* const content
! , MemoryManager* const manager) const;
//
// Overwrite AbstractStringValidator's
//
! virtual void inspectFacetBase(MemoryManager* const manager);
virtual void inheritFacet();
***************
*** 258,262 ****
virtual void checkContent(const XMLCh* const content
, ValidationContext* const context
! , bool asBase);
private:
--- 151,156 ----
virtual void checkContent(const XMLCh* const content
, ValidationContext* const context
! , bool asBase
! , MemoryManager* const manager);
private:
***************
*** 266,273 ****
, ValidationContext* const context
, bool asBase
);
bool valueSpaceCheck(BaseRefVectorOf<XMLCh>* tokenVector
! , const XMLCh* const enumStr) const;
// -----------------------------------------------------------------------
--- 160,169 ----
, ValidationContext* const context
, bool asBase
+ , MemoryManager* const manager
);
bool valueSpaceCheck(BaseRefVectorOf<XMLCh>* tokenVector
! , const XMLCh* const enumStr
! , MemoryManager* const manager) const;
// -----------------------------------------------------------------------
***************
*** 282,285 ****
--- 178,187 ----
inline void setContent(const XMLCh* const content);
+
+ // -----------------------------------------------------------------------
+ // Unimplemented constructors and operators
+ // -----------------------------------------------------------------------
+ ListDatatypeValidator(const ListDatatypeValidator&);
+ ListDatatypeValidator& operator=(const ListDatatypeValidator&);
// -----------------------------------------------------------------------
Index: AnyURIDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/AnyURIDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** AnyURIDatatypeValidator.hpp 14 Apr 2004 10:08:25 -0000 1.1.1.1
--- AnyURIDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,107 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001-2003 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 1999, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:25 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.5 2003/09/30 21:31:30 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.4 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:27 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:40 peiyongz
- * sane_include
- *
- * Revision 1.8 2001/11/22 20:23:20 peiyongz
- * _declspec(dllimport) and inline warning C4273
- *
- * Revision 1.7 2001/09/24 15:33:15 peiyongz
- * DTV Reorganization: virtual methods moved to *.cpp
- *
- * Revision 1.6 2001/09/19 18:49:17 peiyongz
- * DTV reorganization: move inline to class declaration to avoid inline
- * function interdependency.
- *
- * Revision 1.5 2001/09/18 20:38:02 peiyongz
- * DTV reorganization: inherit from AbstractStringValidator.
- *
- * Revision 1.4 2001/08/24 17:12:01 knoaman
- * Add support for anySimpleType.
- * Remove parameter 'baseValidator' from the virtual method 'newInstance'.
- *
- * Revision 1.3 2001/08/21 18:42:53 peiyongz
- * Bugzilla# 2816: cleanUp() declared with external linkage and called
- * before defined as inline
- *
- * Revision 1.2 2001/08/10 16:21:19 peiyongz
- * use XMLUri instead of XMLURL
- *
- * Revision 1.1 2001/08/01 18:49:16 peiyongz
- * AnyRUIDatatypeValidator
- *
- *
*/
--- 1,20 ----
/*
! * Copyright 2001-2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 159,199 ****
protected:
! virtual void assignAdditionalFacet(const XMLCh* const key
! , const XMLCh* const value);
!
! virtual void inheritAdditionalFacet();
!
! virtual void checkAdditionalFacetConstraints() const;
!
! virtual void checkAdditionalFacet(const XMLCh* const content) const;
!
! virtual void checkValueSpace(const XMLCh* const content);
!
! virtual int getLength(const XMLCh* const content) const;
private:
-
- inline void cleanUp();
-
// -----------------------------------------------------------------------
! // Private data members
! //
! // fTempURI
! // to support relative URI, such as the urispec= "\sample"
! //
// -----------------------------------------------------------------------
!
! XMLUri *fTempURI;
!
};
-
- inline void AnyURIDatatypeValidator::cleanUp()
- {
- if (fTempURI)
- {
- delete fTempURI;
- fTempURI = 0;
- }
- }
XERCES_CPP_NAMESPACE_END
--- 72,85 ----
protected:
! virtual void checkValueSpace(const XMLCh* const content
! , MemoryManager* const manager);
private:
// -----------------------------------------------------------------------
! // Unimplemented constructors and operators
// -----------------------------------------------------------------------
! AnyURIDatatypeValidator(const AnyURIDatatypeValidator&);
! AnyURIDatatypeValidator& operator=(const AnyURIDatatypeValidator&);
};
XERCES_CPP_NAMESPACE_END
Index: Base64BinaryDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/Base64BinaryDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** Base64BinaryDatatypeValidator.hpp 14 Apr 2004 10:08:25 -0000 1.1.1.1
--- Base64BinaryDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,91 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 1999, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:25 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.7 2003/09/30 21:31:30 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.6 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.5 2003/01/27 19:24:17 peiyongz
- * normalize Base64 data before checking against enumeration.
- *
- * Revision 1.4 2003/01/24 23:18:34 peiyongz
- * normalizeEnumeration() added to remove optional ws in Base64 data.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:40 peiyongz
- * sane_include
- *
- * Revision 1.6 2001/09/24 15:33:15 peiyongz
- * DTV Reorganization: virtual methods moved to *.cpp
- *
- * Revision 1.5 2001/09/19 18:49:40 peiyongz
- * DTV reorganization: inherit from AbstractStringVaildator
- *
*/
--- 1,20 ----
/*
! * Copyright 1999-2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 142,169 ****
protected:
! virtual void assignAdditionalFacet(const XMLCh* const key
! , const XMLCh* const value);
!
! virtual void inheritAdditionalFacet();
!
! virtual void checkAdditionalFacetConstraints() const;
!
! virtual void checkAdditionalFacet(const XMLCh* const content) const;
!
! virtual void checkValueSpace(const XMLCh* const content);
! virtual int getLength(const XMLCh* const content) const;
! virtual void normalizeEnumeration();
! virtual void normalizeContent(XMLCh* const) const;
private:
// -----------------------------------------------------------------------
! // Private data members
! //
! // Nil
// -----------------------------------------------------------------------
};
--- 71,91 ----
protected:
! virtual void checkValueSpace(const XMLCh* const content
! , MemoryManager* const manager);
! virtual int getLength(const XMLCh* const content
! , MemoryManager* const manager) const;
! virtual void normalizeEnumeration(MemoryManager* const manager);
! virtual void normalizeContent(XMLCh* const, MemoryManager* const manager) const;
private:
// -----------------------------------------------------------------------
! // Unimplemented constructors and operators
// -----------------------------------------------------------------------
+ Base64BinaryDatatypeValidator(const Base64BinaryDatatypeValidator&);
+ Base64BinaryDatatypeValidator& operator=(const Base64BinaryDatatypeValidator&);
};
Index: DatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/DatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** DatatypeValidator.hpp 14 Apr 2004 10:08:25 -0000 1.1.1.1
--- DatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,56 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001-2003 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
--- 1,16 ----
/*
! * Copyright 2001-2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
***************
*** 247,257 ****
* the default one.
*
! * @param rawData: data in raw string
! * @param memMgr: memory manager
*
* @return: canonical representation of the data
*
! * Note: user need to use the dv's memory manager to
! * deallocate the memory for the string returned.
*
*/
--- 207,229 ----
* the default one.
*
! * @param rawData: data in raw string
! * @param memMgr: memory manager
! * @param toValiate: to validate the raw string or not
*
* @return: canonical representation of the data
*
! * Note:
! *
! * 1. the return value is kept in memory allocated
! * by the memory manager passed in or by dv's
! * if no memory manager is provided.
! *
! * 2. client application is responsible for the
! * proper deallcation of the memory allocated
! * for the returned value.
! *
! * 3. In the case where the rawData is not valid
! * with regards to the fundamental datatype,
! * a null string is returned.
*
*/
***************
*** 260,263 ****
--- 232,236 ----
const XMLCh* const rawData
, MemoryManager* const memMgr = 0
+ , bool toValidate = false
) const;
***************
*** 281,284 ****
--- 254,258 ----
const XMLCh* const content
, ValidationContext* const context = 0
+ , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
) = 0;
***************
*** 315,319 ****
* children level, if necessary (i.e. boolean case).
*/
! virtual int compare(const XMLCh* const value1, const XMLCh* const value2);
//@}
--- 289,295 ----
* children level, if necessary (i.e. boolean case).
*/
! virtual int compare(const XMLCh* const value1, const XMLCh* const value2
! , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
! );
//@}
***************
*** 485,496 ****
void setNumeric(bool numeric);
- // -----------------------------------------------------------------------
- // Protected data members
- //
- // fMemoryManager
- // Pluggable memory manager for dynamic allocation/deallocation.
- // -----------------------------------------------------------------------
- MemoryManager* fMemoryManager;
-
private:
// -----------------------------------------------------------------------
--- 461,464 ----
***************
*** 499,503 ****
void cleanUp();
! inline bool isBuiltInDV(DatatypeValidator* const);
// -----------------------------------------------------------------------
--- 467,475 ----
void cleanUp();
! // -----------------------------------------------------------------------
! // Unimplemented constructors and operators
! // -----------------------------------------------------------------------
! DatatypeValidator(const DatatypeValidator&);
! DatatypeValidator& operator=(const DatatypeValidator&);
// -----------------------------------------------------------------------
***************
*** 546,554 ****
--- 518,533 ----
// -----------------------------------------------------------------------
bool fAnonymous;
+ bool fFinite;
+ bool fBounded;
+ bool fNumeric;
+
short fWhiteSpace;
int fFinalSet;
int fFacetsDefined;
int fFixed;
+
ValidatorType fType;
+ XSSimpleTypeDefinition::ORDERING fOrdered;
+
DatatypeValidator* fBaseValidator;
RefHashTableOf<KVStringPair>* fFacets;
***************
*** 558,565 ****
const XMLCh* fTypeLocalName;
const XMLCh* fTypeUri;
! XSSimpleTypeDefinition::ORDERING fOrdered;
! bool fFinite;
! bool fBounded;
! bool fNumeric;
};
--- 537,550 ----
const XMLCh* fTypeLocalName;
const XMLCh* fTypeUri;
!
! protected:
! // -----------------------------------------------------------------------
! // Protected data members
! //
! // fMemoryManager
! // Pluggable memory manager for dynamic allocation/deallocation.
! // -----------------------------------------------------------------------
! MemoryManager* fMemoryManager;
!
};
***************
*** 726,730 ****
// ---------------------------------------------------------------------------
inline int DatatypeValidator::compare(const XMLCh* const lValue,
! const XMLCh* const rValue)
{
return XMLString::compareString(lValue, rValue);
--- 711,716 ----
// ---------------------------------------------------------------------------
inline int DatatypeValidator::compare(const XMLCh* const lValue,
! const XMLCh* const rValue
! , MemoryManager* const)
{
return XMLString::compareString(lValue, rValue);
Index: BooleanDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/BooleanDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** BooleanDatatypeValidator.hpp 14 Apr 2004 10:08:25 -0000 1.1.1.1
--- BooleanDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,56 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
--- 1,16 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
***************
*** 105,108 ****
--- 65,69 ----
const XMLCh* const rawData
, MemoryManager* const memMgr = 0
+ , bool toValidate = false
) const;
//@}
***************
*** 126,129 ****
--- 87,91 ----
const XMLCh* const content
, ValidationContext* const context = 0
+ , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
);
***************
*** 143,147 ****
* @return
*/
! int compare(const XMLCh* const, const XMLCh* const);
//@}
--- 105,111 ----
* @return
*/
! int compare(const XMLCh* const, const XMLCh* const
! , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
! );
//@}
***************
*** 168,177 ****
virtual void checkContent(const XMLCh* const content
, ValidationContext* const context
! , bool asBase);
// -----------------------------------------------------------------------
! // Private data members
! //
// -----------------------------------------------------------------------
};
--- 132,143 ----
virtual void checkContent(const XMLCh* const content
, ValidationContext* const context
! , bool asBase
! , MemoryManager* const manager);
// -----------------------------------------------------------------------
! // Unimplemented methods.
// -----------------------------------------------------------------------
+ BooleanDatatypeValidator(const BooleanDatatypeValidator&);
+ BooleanDatatypeValidator& operator=(const BooleanDatatypeValidator&);
};
***************
*** 211,217 ****
inline void BooleanDatatypeValidator::validate( const XMLCh* const content
! , ValidationContext* const context)
{
! checkContent(content, context, false);
}
--- 177,184 ----
inline void BooleanDatatypeValidator::validate( const XMLCh* const content
! , ValidationContext* const context
! , MemoryManager* const manager)
{
! checkContent(content, context, false, manager);
}
Index: NOTATIONDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/NOTATIONDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** NOTATIONDatatypeValidator.hpp 14 Apr 2004 10:08:27 -0000 1.1.1.1
--- NOTATIONDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,96 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 1999, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:27 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.5 2003/09/30 21:31:30 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.4 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:42 peiyongz
- * sane_include
- *
- * Revision 1.5 2001/09/24 15:33:15 peiyongz
- * DTV Reorganization: virtual methods moved to *.cpp
- *
- * Revision 1.4 2001/09/20 15:14:47 peiyongz
- * DTV reorganization: inherit from AbstractStringVaildator
- *
- * Revision 1.3 2001/08/24 17:12:01 knoaman
- * Add support for anySimpleType.
- * Remove parameter 'baseValidator' from the virtual method 'newInstance'.
- *
- * Revision 1.2 2001/08/21 18:42:53 peiyongz
- * Bugzilla# 2816: cleanUp() declared with external linkage and called
- * before defined as inline
- *
- * Revision 1.1 2001/07/05 20:15:27 peiyongz
- * NOTATIONDatatypeValidator
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 148,165 ****
protected:
! virtual void assignAdditionalFacet(const XMLCh* const key
! , const XMLCh* const value);
!
! virtual void inheritAdditionalFacet();
!
! virtual void checkAdditionalFacetConstraints() const;
!
! virtual void checkAdditionalFacet(const XMLCh* const content) const;
!
! virtual void checkValueSpace(const XMLCh* const content);
! virtual int getLength(const XMLCh* const content) const;
private:
// -----------------------------------------------------------------------
--- 72,89 ----
protected:
! virtual void checkValueSpace(const XMLCh* const content
! , MemoryManager* const manager);
! virtual void checkContent(const XMLCh* const content
! , ValidationContext* const context
! , bool asBase
! , MemoryManager* const manager);
private:
+ // -----------------------------------------------------------------------
+ // Unimplemented constructors and operators
+ // -----------------------------------------------------------------------
+ NOTATIONDatatypeValidator(const NOTATIONDatatypeValidator&);
+ NOTATIONDatatypeValidator& operator=(const NOTATIONDatatypeValidator&);
// -----------------------------------------------------------------------
***************
*** 168,172 ****
// Nil
// -----------------------------------------------------------------------
-
};
--- 92,95 ----
Index: TimeDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/TimeDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** TimeDatatypeValidator.hpp 14 Apr 2004 10:08:27 -0000 1.1.1.1
--- TimeDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,88 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:27 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.7 2003/11/28 18:53:07 peiyongz
- * Support for getCanonicalRepresentation
- *
- * Revision 1.6 2003/10/02 19:21:06 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.5 2003/08/14 03:00:11 knoaman
- * Code refactoring to improve performance of validation.
- *
- * Revision 1.4 2003/05/15 18:53:27 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:42 peiyongz
- * sane_include
- *
- * Revision 1.1 2001/11/07 19:18:52 peiyongz
- * DateTime Port
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 138,141 ****
--- 70,74 ----
const XMLCh* const rawData
, MemoryManager* const memMgr = 0
+ , bool toValidate = false
) const;
***************
*** 150,155 ****
// implementation of (DateTimeValidator's) virtual interface
// -----------------------------------------------------------------------
! virtual XMLDateTime* parse(const XMLCh* const);
virtual void parse(XMLDateTime* const);
};
--- 83,95 ----
// implementation of (DateTimeValidator's) virtual interface
// -----------------------------------------------------------------------
! virtual XMLDateTime* parse(const XMLCh* const, MemoryManager* const manager);
virtual void parse(XMLDateTime* const);
+
+ private:
+ // -----------------------------------------------------------------------
+ // Unimplemented constructors and operators
+ // -----------------------------------------------------------------------
+ TimeDatatypeValidator(const TimeDatatypeValidator&);
+ TimeDatatypeValidator& operator=(const TimeDatatypeValidator&);
};
Index: HexBinaryDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/HexBinaryDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** HexBinaryDatatypeValidator.hpp 14 Apr 2004 10:08:26 -0000 1.1.1.1
--- HexBinaryDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,85 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:26 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.5 2003/09/30 21:31:30 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.4 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:41 peiyongz
- * sane_include
- *
- * Revision 1.6 2001/09/24 15:33:15 peiyongz
- * DTV Reorganization: virtual methods moved to *.cpp
- *
- * Revision 1.5 2001/09/19 20:35:23 peiyongz
- * DTV reorganization: inherit from AbstractStringVaildator
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 137,154 ****
protected:
! virtual void assignAdditionalFacet(const XMLCh* const key
! , const XMLCh* const value);
!
! virtual void inheritAdditionalFacet();
!
! virtual void checkAdditionalFacetConstraints() const;
!
! virtual void checkAdditionalFacet(const XMLCh* const content) const;
!
! virtual void checkValueSpace(const XMLCh* const content);
! virtual int getLength(const XMLCh* const content) const;
private:
// -----------------------------------------------------------------------
--- 72,87 ----
protected:
! virtual void checkValueSpace(const XMLCh* const content
! , MemoryManager* const manager);
! virtual int getLength(const XMLCh* const content
! , MemoryManager* const manager) const;
private:
+ // -----------------------------------------------------------------------
+ // Unimplemented constructors and operators
+ // -----------------------------------------------------------------------
+ HexBinaryDatatypeValidator(const HexBinaryDatatypeValidator&);
+ HexBinaryDatatypeValidator& operator=(const HexBinaryDatatypeValidator&);
// -----------------------------------------------------------------------
Index: AbstractStringValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/AbstractStringValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** AbstractStringValidator.hpp 14 Apr 2004 10:08:25 -0000 1.1.1.1
--- AbstractStringValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,131 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:25 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.10 2003/11/12 20:32:03 peiyongz
- * Statless Grammar: ValidationContext
- *
- * Revision 1.9 2003/09/29 21:47:35 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.8 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.7 2003/01/27 19:24:17 peiyongz
- * normalize Base64 data before checking against enumeration.
- *
- * Revision 1.6 2003/01/24 23:18:34 peiyongz
- * normalizeEnumeration() added to remove optional ws in Base64 data.
- *
- * Revision 1.5 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.4 2002/11/04 14:53:27 tng
- * C++ Namespace Support.
- *
- * Revision 1.3 2002/10/18 16:52:14 peiyongz
- * Patch to Bug#13640: Getter methods not public in
- * DecimalDatatypeValidator
- *
- * Revision 1.2 2002/02/14 15:17:31 peiyongz
- * getEnumString()
- *
- * Revision 1.1.1.1 2002/02/01 22:22:40 peiyongz
- * sane_include
- *
- * Revision 1.9 2001/12/13 16:48:29 peiyongz
- * Avoid dangling pointer
- *
- * Revision 1.8 2001/11/22 20:23:20 peiyongz
- * _declspec(dllimport) and inline warning C4273
- *
- * Revision 1.7 2001/11/15 16:08:15 peiyongz
- * checkContent() made virtual to allow ListDTV participate in the building of
- * its own (in AbstractStringValidator's init())
- *
- * Revision 1.6 2001/10/11 19:32:12 peiyongz
- * Allow derived to overwrite inheritFacet()
- *
- * Revision 1.5 2001/10/09 21:00:54 peiyongz
- * . init() take 1 arg,
- * . make inspectFacetBase() virtual to allow ListDTV provide its own method,
- * . reorganize init() into assignFacet(), inspectFacet(), inspectFacetBase() and
- * inheritFacet() to improve mantainability.
- * . macro to simplify code
- * . save get***() to temp vars
- *
- * Revision 1.4 2001/09/27 13:51:25 peiyongz
- * DTV Reorganization: ctor/init created to be used by derived class
- *
- * Revision 1.3 2001/09/24 15:30:16 peiyongz
- * DTV Reorganization: init() to be invoked from derived class' ctor to allow
- * correct resolution of virtual methods like assignAdditionalFacet(),
- * inheritAdditionalFacet(), etc.
- *
- * Revision 1.2 2001/09/19 18:48:27 peiyongz
- * DTV reorganization:getLength() added, move inline to class declaration to avoid inline
- * function interdependency.
- *
- * Revision 1.1 2001/09/18 14:45:04 peiyongz
- * DTV reorganization
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 171,174 ****
--- 60,64 ----
const XMLCh* const content
, ValidationContext* const context = 0
+ , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
);
***************
*** 181,185 ****
//@{
! virtual int compare(const XMLCh* const, const XMLCh* const);
//@}
--- 71,77 ----
//@{
! virtual int compare(const XMLCh* const, const XMLCh* const
! , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
! );
//@}
***************
*** 201,205 ****
);
! void init(RefArrayVectorOf<XMLCh>* const enums);
//
--- 93,98 ----
);
! void init(RefArrayVectorOf<XMLCh>* const enums
! , MemoryManager* const manager);
//
***************
*** 207,226 ****
//
virtual void assignAdditionalFacet(const XMLCh* const key
! , const XMLCh* const value) = 0;
!
! virtual void inheritAdditionalFacet() = 0;
! virtual void checkAdditionalFacetConstraints() const = 0;
! virtual void checkAdditionalFacet(const XMLCh* const content) const = 0;
! virtual void checkValueSpace(const XMLCh* const content) = 0;
! virtual int getLength(const XMLCh* const content) const = 0;
//
// to Allow ListDTV to overwrite
//
! virtual void inspectFacetBase();
virtual void inheritFacet();
--- 100,123 ----
//
virtual void assignAdditionalFacet(const XMLCh* const key
! , const XMLCh* const value
! , MemoryManager* const manager);
! virtual void inheritAdditionalFacet();
! virtual void checkAdditionalFacetConstraints(MemoryManager* const manager) const;
! virtual void checkAdditionalFacet(const XMLCh* const content
! , MemoryManager* const manager) const;
! virtual int getLength(const XMLCh* const content
! , MemoryManager* const manager) const;
!
! virtual void checkValueSpace(const XMLCh* const content
! , MemoryManager* const manager) = 0;
//
// to Allow ListDTV to overwrite
//
! virtual void inspectFacetBase(MemoryManager* const manager);
virtual void inheritFacet();
***************
*** 228,239 ****
virtual void checkContent(const XMLCh* const content
, ValidationContext* const context
! , bool asBase);
/*
** Base64BinaryDatatypeValidator to overwrite
*/
! virtual void normalizeEnumeration();
! virtual void normalizeContent(XMLCh* const) const;
public:
--- 125,137 ----
virtual void checkContent(const XMLCh* const content
, ValidationContext* const context
! , bool asBase
! , MemoryManager* const manager);
/*
** Base64BinaryDatatypeValidator to overwrite
*/
! virtual void normalizeEnumeration(MemoryManager* const manager);
! virtual void normalizeContent(XMLCh* const, MemoryManager* const manager) const;
public:
***************
*** 265,271 ****
private:
! void assignFacet();
! void inspectFacet();
// -----------------------------------------------------------------------
--- 163,175 ----
private:
! void assignFacet(MemoryManager* const manager);
! void inspectFacet(MemoryManager* const manager);
!
! // -----------------------------------------------------------------------
! // Unimplemented constructors and operators
! // -----------------------------------------------------------------------
! AbstractStringValidator(const AbstractStringValidator&);
! AbstractStringValidator& operator=(const AbstractStringValidator&);
// -----------------------------------------------------------------------
Index: DurationDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/DurationDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** DurationDatatypeValidator.hpp 14 Apr 2004 10:08:26 -0000 1.1.1.1
--- DurationDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,85 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:26 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.6 2003/10/02 19:21:06 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.5 2003/08/14 03:00:11 knoaman
- * Code refactoring to improve performance of validation.
- *
- * Revision 1.4 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:41 peiyongz
- * sane_include
- *
- * Revision 1.1 2001/11/07 19:18:52 peiyongz
- * DateTime Port
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 139,147 ****
// implementation of (DateTimeValidator's) virtual interface
// -----------------------------------------------------------------------
! virtual XMLDateTime* parse(const XMLCh* const);
virtual void parse(XMLDateTime* const);
virtual int compareDates(const XMLDateTime* const
, const XMLDateTime* const
, bool );
};
--- 74,88 ----
// implementation of (DateTimeValidator's) virtual interface
// -----------------------------------------------------------------------
! virtual XMLDateTime* parse(const XMLCh* const, MemoryManager* const manager);
virtual void parse(XMLDateTime* const);
virtual int compareDates(const XMLDateTime* const
, const XMLDateTime* const
, bool );
+ private:
+ // -----------------------------------------------------------------------
+ // Unimplemented constructors and operators
+ // -----------------------------------------------------------------------
+ DurationDatatypeValidator(const DurationDatatypeValidator &);
+ DurationDatatypeValidator& operator = (const DurationDatatypeValidator&);
};
Index: IDREFDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/IDREFDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** IDREFDatatypeValidator.hpp 14 Apr 2004 10:08:26 -0000 1.1.1.1
--- IDREFDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,107 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 1999-2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 1999, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:26 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.6 2003/11/12 20:32:03 peiyongz
- * Statless Grammar: ValidationContext
- *
- * Revision 1.5 2003/09/30 18:17:53 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.4 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:41 peiyongz
- * sane_include
- *
- * Revision 1.8 2001/11/22 20:23:20 peiyongz
- * _declspec(dllimport) and inline warning C4273
- *
- * Revision 1.7 2001/10/09 20:49:38 peiyongz
- * init(): take 1 arg
- *
- * Revision 1.6 2001/09/27 13:51:25 peiyongz
- * DTV Reorganization: ctor/init created to be used by derived class
- *
- * Revision 1.5 2001/09/25 14:23:42 peiyongz
- * DTV Reorganization: checkValueSpace()
- *
- * Revision 1.4 2001/08/24 17:12:01 knoaman
- * Add support for anySimpleType.
- * Remove parameter 'baseValidator' from the virtual method 'newInstance'.
- *
- * Revision 1.3 2001/07/25 17:58:08 tng
- * Fix compilation errors.
- *
- * Revision 1.2 2001/07/24 21:23:40 tng
- * Schema: Use DatatypeValidator for ID/IDREF/ENTITY/ENTITIES/NOTATION.
- *
- * Revision 1.1 2001/07/04 20:16:59 peiyongz
- * IDREFDatatypeValidator
- *
*/
--- 1,20 ----
/*
! * Copyright 1999-2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 159,162 ****
--- 72,76 ----
const XMLCh* const content
, ValidationContext* const context = 0
+ , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
);
***************
*** 197,203 ****
);
! virtual void checkValueSpace(const XMLCh* const content);
private:
// -----------------------------------------------------------------------
--- 111,123 ----
);
! virtual void checkValueSpace(const XMLCh* const content
! , MemoryManager* const manager);
private:
+ // -----------------------------------------------------------------------
+ // Unimplemented constructors and operators
+ // -----------------------------------------------------------------------
+ IDREFDatatypeValidator(const IDREFDatatypeValidator&);
+ IDREFDatatypeValidator& operator=(const IDREFDatatypeValidator&);
// -----------------------------------------------------------------------
Index: MonthDayDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/MonthDayDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** MonthDayDatatypeValidator.hpp 14 Apr 2004 10:08:27 -0000 1.1.1.1
--- MonthDayDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,85 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:27 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.6 2003/10/02 19:21:06 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.5 2003/08/14 03:00:11 knoaman
- * Code refactoring to improve performance of validation.
- *
- * Revision 1.4 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:42 peiyongz
- * sane_include
- *
- * Revision 1.1 2001/11/07 19:18:52 peiyongz
- * DateTime Port
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 139,144 ****
// implementation of (DateTimeValidator's) virtual interface
// -----------------------------------------------------------------------
! virtual XMLDateTime* parse(const XMLCh* const);
virtual void parse(XMLDateTime* const);
};
--- 74,86 ----
// implementation of (DateTimeValidator's) virtual interface
// -----------------------------------------------------------------------
! virtual XMLDateTime* parse(const XMLCh* const, MemoryManager* const manager);
virtual void parse(XMLDateTime* const);
+
+ private:
+ // -----------------------------------------------------------------------
+ // Unimplemented constructors and operators
+ // -----------------------------------------------------------------------
+ MonthDayDatatypeValidator(const MonthDayDatatypeValidator&);
+ MonthDayDatatypeValidator& operator=(const MonthDayDatatypeValidator&);
};
Index: DayDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/DayDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** DayDatatypeValidator.hpp 14 Apr 2004 10:08:26 -0000 1.1.1.1
--- DayDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,85 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:26 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.6 2003/10/02 19:21:06 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.5 2003/08/14 03:00:11 knoaman
- * Code refactoring to improve performance of validation.
- *
- * Revision 1.4 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:41 peiyongz
- * sane_include
- *
- * Revision 1.1 2001/11/07 19:18:52 peiyongz
- * DateTime Port
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 139,144 ****
// implementation of (DateTimeValidator's) virtual interface
// -----------------------------------------------------------------------
! virtual XMLDateTime* parse(const XMLCh* const);
virtual void parse(XMLDateTime* const);
};
--- 74,86 ----
// implementation of (DateTimeValidator's) virtual interface
// -----------------------------------------------------------------------
! virtual XMLDateTime* parse(const XMLCh* const, MemoryManager* const manager);
virtual void parse(XMLDateTime* const);
+
+ private:
+ // -----------------------------------------------------------------------
+ // Unimplemented constructors and operators
+ // -----------------------------------------------------------------------
+ DayDatatypeValidator(const DayDatatypeValidator&);
+ DayDatatypeValidator& operator=(const DayDatatypeValidator&);
};
Index: MonthDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/MonthDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** MonthDatatypeValidator.hpp 14 Apr 2004 10:08:27 -0000 1.1.1.1
--- MonthDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,85 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:27 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.6 2003/10/02 19:21:06 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.5 2003/08/14 03:00:11 knoaman
- * Code refactoring to improve performance of validation.
- *
- * Revision 1.4 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:42 peiyongz
- * sane_include
- *
- * Revision 1.1 2001/11/07 19:18:52 peiyongz
- * DateTime Port
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 139,144 ****
// implementation of (DateTimeValidator's) virtual interface
// -----------------------------------------------------------------------
! virtual XMLDateTime* parse(const XMLCh* const);
virtual void parse(XMLDateTime* const);
};
--- 74,86 ----
// implementation of (DateTimeValidator's) virtual interface
// -----------------------------------------------------------------------
! virtual XMLDateTime* parse(const XMLCh* const, MemoryManager* const manager);
virtual void parse(XMLDateTime* const);
+
+ private:
+ // -----------------------------------------------------------------------
+ // Unimplemented constructors and operators
+ // -----------------------------------------------------------------------
+ MonthDatatypeValidator(const MonthDatatypeValidator&);
+ MonthDatatypeValidator& operator=(const MonthDatatypeValidator&);
};
Index: AbstractNumericValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/AbstractNumericValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** AbstractNumericValidator.hpp 14 Apr 2004 10:08:25 -0000 1.1.1.1
--- AbstractNumericValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,91 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001-2003 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:25 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.7 2003/11/28 18:53:07 peiyongz
- * Support for getCanonicalRepresentation
- *
- * Revision 1.6 2003/11/12 20:32:03 peiyongz
- * Statless Grammar: ValidationContext
- *
- * Revision 1.5 2003/10/02 19:21:06 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.4 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:27 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:39 peiyongz
- * sane_include
- *
- * Revision 1.2 2001/11/22 20:23:20 peiyongz
- * _declspec(dllimport) and inline warning C4273
- *
- * Revision 1.1 2001/10/01 16:13:56 peiyongz
- * DTV Reorganization:new classes: AbstractNumericFactValidator/ AbstractNumericValidator
- *
*/
--- 1,20 ----
/*
! * Copyright 2001-2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 116,119 ****
--- 45,49 ----
const XMLCh* const content
, ValidationContext* const context = 0
+ , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
);
***************
*** 122,125 ****
--- 52,56 ----
const XMLCh* const rawData
, MemoryManager* const memMgr = 0
+ , bool toValidate = false
) const;
***************
*** 140,144 ****
);
! inline void init(RefArrayVectorOf<XMLCh>* const enums);
//
--- 71,76 ----
);
! inline void init(RefArrayVectorOf<XMLCh>* const enums
! , MemoryManager* const manager);
//
***************
*** 147,166 ****
virtual void checkContent(const XMLCh* const content
, ValidationContext* const context
! , bool asBase) = 0;
! void boundsCheck(const XMLNumber* const);
private:
// -----------------------------------------------------------------------
! // Private data members
! //
// -----------------------------------------------------------------------
!
};
! inline void AbstractNumericValidator::init(RefArrayVectorOf<XMLCh>* const enums)
{
! AbstractNumericFacetValidator::init(enums);
}
--- 79,101 ----
virtual void checkContent(const XMLCh* const content
, ValidationContext* const context
! , bool asBase
! , MemoryManager* const manager) = 0;
! void boundsCheck(const XMLNumber* const
! , MemoryManager* const manager);
private:
// -----------------------------------------------------------------------
! // Unimplemented constructors and operators
// -----------------------------------------------------------------------
! AbstractNumericValidator(const AbstractNumericValidator&);
! AbstractNumericValidator& operator=(const AbstractNumericValidator&);
};
! inline void AbstractNumericValidator::init(RefArrayVectorOf<XMLCh>* const enums
! , MemoryManager* const manager)
{
! AbstractNumericFacetValidator::init(enums, manager);
}
Index: YearMonthDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/YearMonthDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** YearMonthDatatypeValidator.hpp 14 Apr 2004 10:08:27 -0000 1.1.1.1
--- YearMonthDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,85 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:27 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.6 2003/10/02 19:21:06 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.5 2003/08/14 03:00:11 knoaman
- * Code refactoring to improve performance of validation.
- *
- * Revision 1.4 2003/05/15 18:53:27 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:43 peiyongz
- * sane_include
- *
- * Revision 1.1 2001/11/07 19:18:52 peiyongz
- * DateTime Port
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 139,144 ****
// implementation of (DateTimeValidator's) virtual interface
// -----------------------------------------------------------------------
! virtual XMLDateTime* parse(const XMLCh* const);
virtual void parse(XMLDateTime* const);
};
--- 74,86 ----
// implementation of (DateTimeValidator's) virtual interface
// -----------------------------------------------------------------------
! virtual XMLDateTime* parse(const XMLCh* const, MemoryManager* const manager);
virtual void parse(XMLDateTime* const);
+
+ private:
+ // -----------------------------------------------------------------------
+ // Unimplemented constructors and operators
+ // -----------------------------------------------------------------------
+ YearMonthDatatypeValidator(const YearMonthDatatypeValidator&);
+ YearMonthDatatypeValidator& operator=(const YearMonthDatatypeValidator&);
};
Index: DateTimeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/DateTimeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** DateTimeValidator.hpp 14 Apr 2004 10:08:26 -0000 1.1.1.1
--- DateTimeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,88 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:26 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.6 2003/11/12 20:32:03 peiyongz
- * Statless Grammar: ValidationContext
- *
- * Revision 1.5 2003/10/02 19:21:06 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.4 2003/08/14 03:00:11 knoaman
- * Code refactoring to improve performance of validation.
- *
- * Revision 1.3 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:41 peiyongz
- * sane_include
- *
- * Revision 1.2 2001/11/12 20:37:57 peiyongz
- * SchemaDateTimeException defined
- *
- * Revision 1.1 2001/11/07 19:18:52 peiyongz
- * DateTime Port
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 113,120 ****
const XMLCh* const content
, ValidationContext* const context = 0
);
virtual int compare(const XMLCh* const value1
! , const XMLCh* const value2);
/***
--- 45,55 ----
const XMLCh* const content
, ValidationContext* const context = 0
+ , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
);
virtual int compare(const XMLCh* const value1
! , const XMLCh* const value2
! , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
! );
/***
***************
*** 141,153 ****
//
- virtual void assignAdditionalFacet(const XMLCh* const key
- , const XMLCh* const value);
-
- virtual void inheritAdditionalFacet();
-
- virtual void checkAdditionalFacetConstraints() const;
-
- virtual void checkAdditionalFacetConstraintsBase() const;
-
virtual int compareValues(const XMLNumber* const lValue
, const XMLNumber* const rValue);
--- 76,79 ----
***************
*** 155,159 ****
virtual void checkContent(const XMLCh* const content
, ValidationContext* const context
! , bool asBase);
virtual void setMaxInclusive(const XMLCh* const);
--- 81,86 ----
virtual void checkContent(const XMLCh* const content
, ValidationContext* const context
! , bool asBase
! , MemoryManager* const manager);
virtual void setMaxInclusive(const XMLCh* const);
***************
*** 165,169 ****
virtual void setMinExclusive(const XMLCh* const);
! virtual void setEnumeration();
protected:
--- 92,96 ----
virtual void setMinExclusive(const XMLCh* const);
! virtual void setEnumeration(MemoryManager* const manager);
protected:
***************
*** 172,176 ****
// helper interface: to be implemented/overwritten by derived class
// -----------------------------------------------------------------------
! virtual XMLDateTime* parse(const XMLCh* const) = 0;
virtual void parse(XMLDateTime* const) = 0;
--- 99,103 ----
// helper interface: to be implemented/overwritten by derived class
// -----------------------------------------------------------------------
! virtual XMLDateTime* parse(const XMLCh* const, MemoryManager* const manager) = 0;
virtual void parse(XMLDateTime* const) = 0;
***************
*** 178,185 ****
virtual int compareDates(const XMLDateTime* const lValue
, const XMLDateTime* const rValue
! , bool strict);
private:
! XMLDateTime* fDateTime;
};
--- 105,116 ----
virtual int compareDates(const XMLDateTime* const lValue
, const XMLDateTime* const rValue
! , bool strict);
private:
! // -----------------------------------------------------------------------
! // Unimplemented constructors and operators
! // -----------------------------------------------------------------------
! DateTimeValidator(const DateTimeValidator&);
! DateTimeValidator& operator=(const DateTimeValidator&);
};
Index: NCNameDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/NCNameDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** NCNameDatatypeValidator.hpp 14 Apr 2004 10:08:27 -0000 1.1.1.1
--- NCNameDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,91 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 1999, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:27 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.6 2003/11/12 20:32:03 peiyongz
- * Statless Grammar: ValidationContext
- *
- * Revision 1.5 2003/09/30 18:17:53 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.4 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:42 peiyongz
- * sane_include
- *
- * Revision 1.3 2001/10/09 20:49:09 peiyongz
- * init(): take 1 arg
- *
- * Revision 1.2 2001/09/27 13:51:25 peiyongz
- * DTV Reorganization: ctor/init created to be used by derived class
- *
- * Revision 1.1 2001/09/25 15:58:45 peiyongz
- * DTV Reorganization: new class
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 142,145 ****
--- 71,75 ----
const XMLCh* const content
, ValidationContext* const context = 0
+ , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
);
***************
*** 159,163 ****
* @return
*/
! virtual int compare(const XMLCh* const, const XMLCh* const);
//@}
--- 89,94 ----
* @return
*/
! virtual int compare(const XMLCh* const, const XMLCh* const
! , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager);
//@}
***************
*** 194,201 ****
);
! virtual void checkValueSpace(const XMLCh* const content);
private:
!
// -----------------------------------------------------------------------
// Private data members
--- 125,137 ----
);
! virtual void checkValueSpace(const XMLCh* const content
! , MemoryManager* const manager);
private:
! // -----------------------------------------------------------------------
! // Unimplemented constructors and operators
! // -----------------------------------------------------------------------
! NCNameDatatypeValidator(const NCNameDatatypeValidator&);
! NCNameDatatypeValidator& operator=(const NCNameDatatypeValidator&);
// -----------------------------------------------------------------------
// Private data members
Index: AbstractNumericFacetValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/AbstractNumericFacetValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** AbstractNumericFacetValidator.hpp 14 Apr 2004 10:08:25 -0000 1.1.1.1
--- AbstractNumericFacetValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,101 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:25 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.9 2003/11/12 20:32:03 peiyongz
- * Statless Grammar: ValidationContext
- *
- * Revision 1.8 2003/10/17 21:13:24 peiyongz
- * loadNumber() moved to XMLNumber
- *
- * Revision 1.7 2003/10/02 19:21:06 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.6 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.5 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.4 2002/11/04 14:53:27 tng
- * C++ Namespace Support.
- *
- * Revision 1.3 2002/10/18 16:52:14 peiyongz
- * Patch to Bug#13640: Getter methods not public in
- * DecimalDatatypeValidator
- *
- * Revision 1.2 2002/02/14 15:17:31 peiyongz
- * getEnumString()
- *
- * Revision 1.1.1.1 2002/02/01 22:22:39 peiyongz
- * sane_include
- *
- * Revision 1.3 2001/11/22 20:23:20 peiyongz
- * _declspec(dllimport) and inline warning C4273
- *
- * Revision 1.2 2001/11/12 20:37:57 peiyongz
- * SchemaDateTimeException defined
- *
- * Revision 1.1 2001/10/01 16:13:56 peiyongz
- * DTV Reorganization:new classes: AbstractNumericFactValidator/ AbstractNumericValidator
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 141,145 ****
);
! void init(RefArrayVectorOf<XMLCh>* const enums);
//
--- 60,65 ----
);
! void init(RefArrayVectorOf<XMLCh>* const enums
! , MemoryManager* const manager);
//
***************
*** 147,157 ****
//
virtual void assignAdditionalFacet(const XMLCh* const key
! , const XMLCh* const value) = 0;
! virtual void inheritAdditionalFacet() = 0;
! virtual void checkAdditionalFacetConstraints() const = 0;
! virtual void checkAdditionalFacetConstraintsBase() const = 0;
virtual int compareValues(const XMLNumber* const lValue
--- 67,78 ----
//
virtual void assignAdditionalFacet(const XMLCh* const key
! , const XMLCh* const value
! , MemoryManager* const manager);
! virtual void inheritAdditionalFacet();
! virtual void checkAdditionalFacetConstraints(MemoryManager* const manager) const;
! virtual void checkAdditionalFacetConstraintsBase(MemoryManager* const manager) const;
virtual int compareValues(const XMLNumber* const lValue
***************
*** 160,164 ****
virtual void checkContent(const XMLCh* const content
, ValidationContext* const context
! , bool asBase) = 0;
// -----------------------------------------------------------------------
--- 81,86 ----
virtual void checkContent(const XMLCh* const content
, ValidationContext* const context
! , bool asBase
! , MemoryManager* const manager) = 0;
// -----------------------------------------------------------------------
***************
*** 174,178 ****
virtual void setMinExclusive(const XMLCh* const) = 0;
! virtual void setEnumeration() = 0;
static const int INDETERMINATE;
--- 96,100 ----
virtual void setMinExclusive(const XMLCh* const) = 0;
! virtual void setEnumeration(MemoryManager* const manager) = 0;
static const int INDETERMINATE;
***************
*** 216,227 ****
private:
! void assignFacet();
! void inspectFacet();
! void inspectFacetBase();
void inheritFacet();
};
--- 138,164 ----
private:
! void assignFacet(MemoryManager* const manager);
! void inspectFacet(MemoryManager* const manager);
! void inspectFacetBase(MemoryManager* const manager);
void inheritFacet();
+ void storeClusive(XSerializeEngine&
+ , bool
+ , XMLNumber*);
+
+ void loadClusive(XSerializeEngine&
+ , bool&
+ , XMLNumber*&
+ , XMLNumber::NumberType
+ , int );
+
+ // -----------------------------------------------------------------------
+ // Unimplemented constructors and operators
+ // -----------------------------------------------------------------------
+ AbstractNumericFacetValidator(const AbstractNumericFacetValidator&);
+ AbstractNumericFacetValidator& operator=(const AbstractNumericFacetValidator&);
};
Index: AnySimpleTypeDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/AnySimpleTypeDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** AnySimpleTypeDatatypeValidator.hpp 14 Apr 2004 10:08:25 -0000 1.1.1.1
--- AnySimpleTypeDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,56 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
--- 1,16 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
***************
*** 124,127 ****
--- 84,88 ----
const XMLCh* const content
, ValidationContext* const context = 0
+ , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
);
***************
*** 152,156 ****
*
*/
! int compare(const XMLCh* const value1, const XMLCh* const value2);
//@}
--- 113,119 ----
*
*/
! int compare(const XMLCh* const value1, const XMLCh* const value2
! , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
! );
//@}
***************
*** 173,176 ****
--- 136,145 ----
DECL_XSERIALIZABLE(AnySimpleTypeDatatypeValidator)
+ private:
+ // -----------------------------------------------------------------------
+ // Unimplemented constructors and operators
+ // -----------------------------------------------------------------------
+ AnySimpleTypeDatatypeValidator(const AnySimpleTypeDatatypeValidator&);
+ AnySimpleTypeDatatypeValidator& operator=(const AnySimpleTypeDatatypeValidator&);
};
***************
*** 188,193 ****
// DatatypeValidators: Compare methods
// ---------------------------------------------------------------------------
! inline int AnySimpleTypeDatatypeValidator::compare(const XMLCh* const lValue,
! const XMLCh* const rValue)
{
return -1;
--- 157,163 ----
// DatatypeValidators: Compare methods
// ---------------------------------------------------------------------------
! inline int AnySimpleTypeDatatypeValidator::compare(const XMLCh* const,
! const XMLCh* const
! , MemoryManager* const)
{
return -1;
***************
*** 198,202 ****
// ---------------------------------------------------------------------------
inline bool
! AnySimpleTypeDatatypeValidator::isSubstitutableBy(const DatatypeValidator* const toCheck)
{
return true;
--- 168,172 ----
// ---------------------------------------------------------------------------
inline bool
! AnySimpleTypeDatatypeValidator::isSubstitutableBy(const DatatypeValidator* const)
{
return true;
***************
*** 204,209 ****
inline void
! AnySimpleTypeDatatypeValidator::validate(const XMLCh* const content
! , ValidationContext* const context)
{
return;
--- 174,180 ----
inline void
! AnySimpleTypeDatatypeValidator::validate(const XMLCh* const
! , ValidationContext* const
! , MemoryManager* const)
{
return;
Index: FloatDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/FloatDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** FloatDatatypeValidator.hpp 14 Apr 2004 10:08:26 -0000 1.1.1.1
--- FloatDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,100 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:26 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.6 2003/11/12 20:32:03 peiyongz
- * Statless Grammar: ValidationContext
- *
- * Revision 1.5 2003/10/02 19:21:06 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.4 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:41 peiyongz
- * sane_include
- *
- * Revision 1.5 2001/10/09 20:52:43 peiyongz
- * init():removed
- *
- * Revision 1.4 2001/10/01 21:03:55 peiyongz
- * DTV Reorganization:derived from AbstractNumericValidator
- *
- * Revision 1.3 2001/08/24 17:12:01 knoaman
- * Add support for anySimpleType.
- * Remove parameter 'baseValidator' from the virtual method 'newInstance'.
- *
- * Revision 1.2 2001/08/21 18:42:53 peiyongz
- * Bugzilla# 2816: cleanUp() declared with external linkage and called
- * before defined as inline
- *
- * Revision 1.1 2001/07/26 20:42:16 peiyongz
- * FloatDatatypeValidator
- *
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 146,150 ****
* @return
*/
! virtual int compare(const XMLCh* const, const XMLCh* const);
//@}
--- 66,72 ----
* @return
*/
! virtual int compare(const XMLCh* const, const XMLCh* const
! , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
! );
//@}
***************
*** 185,197 ****
// -----------------------------------------------------------------------
- virtual void assignAdditionalFacet(const XMLCh* const key
- , const XMLCh* const value);
-
- virtual void inheritAdditionalFacet();
-
- virtual void checkAdditionalFacetConstraints() const;
-
- virtual void checkAdditionalFacetConstraintsBase() const;
-
virtual int compareValues(const XMLNumber* const lValue
, const XMLNumber* const rValue);
--- 107,110 ----
***************
*** 205,209 ****
virtual void setMinExclusive(const XMLCh* const);
! virtual void setEnumeration();
// -----------------------------------------------------------------------
--- 118,122 ----
virtual void setMinExclusive(const XMLCh* const);
! virtual void setEnumeration(MemoryManager* const manager);
// -----------------------------------------------------------------------
***************
*** 213,217 ****
virtual void checkContent(const XMLCh* const content
, ValidationContext* const context
! , bool asBase);
};
--- 126,137 ----
virtual void checkContent(const XMLCh* const content
, ValidationContext* const context
! , bool asBase
! , MemoryManager* const manager);
! private:
! // -----------------------------------------------------------------------
! // Unimplemented constructors and operators
! // -----------------------------------------------------------------------
! FloatDatatypeValidator(const FloatDatatypeValidator&);
! FloatDatatypeValidator& operator = (const FloatDatatypeValidator&);
};
--- NEW FILE: XMLCanRepGroup.hpp ---
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* $Id: XMLCanRepGroup.hpp,v 1.1 2008/02/19 20:16:31 zolmol Exp $
*/
#if !defined(XMLCANREPGROUP_HPP)
#define XMLCANREPGROUP_HPP
#include <xercesc/util/PlatformUtils.hpp>
XERCES_CPP_NAMESPACE_BEGIN
class VALIDATORS_EXPORT XMLCanRepGroup : public XMemory
{
public:
enum CanRepGroup {
Boolean,
DoubleFloat,
DateTime,
Time,
Decimal,
Decimal_Derivated_signed,
Decimal_Derivated_unsigned,
Decimal_Derivated_npi,
String
};
~XMLCanRepGroup();
XMLCanRepGroup(CanRepGroup val);
inline CanRepGroup getGroup() const;
private:
CanRepGroup fData;
// -----------------------------------------------------------------------
// Unimplemented constructors and operators
// -----------------------------------------------------------------------
XMLCanRepGroup(const XMLCanRepGroup&);
XMLCanRepGroup& operator=(const XMLCanRepGroup&);
};
inline XMLCanRepGroup::CanRepGroup XMLCanRepGroup::getGroup() const
{
return fData;
}
XERCES_CPP_NAMESPACE_END
#endif
/**
* End of file XMLCanRepGroup.hpp
*/
Index: QNameDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/QNameDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** QNameDatatypeValidator.hpp 14 Apr 2004 10:08:27 -0000 1.1.1.1
--- QNameDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,96 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 1999, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:27 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.5 2003/09/30 21:31:30 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.4 2003/05/15 18:53:27 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:42 peiyongz
- * sane_include
- *
- * Revision 1.5 2001/09/24 15:33:15 peiyongz
- * DTV Reorganization: virtual methods moved to *.cpp
- *
- * Revision 1.4 2001/09/20 15:36:49 peiyongz
- * DTV reorganization: inherit from AbstractStringVaildator
- *
- * Revision 1.3 2001/08/24 17:12:01 knoaman
- * Add support for anySimpleType.
- * Remove parameter 'baseValidator' from the virtual method 'newInstance'.
- *
- * Revision 1.2 2001/08/21 18:42:53 peiyongz
- * Bugzilla# 2816: cleanUp() declared with external linkage and called
- * before defined as inline
- *
- * Revision 1.1 2001/07/06 20:20:15 peiyongz
- * QNameDTV
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 147,164 ****
protected:
! virtual void assignAdditionalFacet(const XMLCh* const key
! , const XMLCh* const value);
!
! virtual void inheritAdditionalFacet();
!
! virtual void checkAdditionalFacetConstraints() const;
!
! virtual void checkAdditionalFacet(const XMLCh* const content) const;
!
! virtual void checkValueSpace(const XMLCh* const content);
! virtual int getLength(const XMLCh* const content) const;
private:
// -----------------------------------------------------------------------
--- 71,88 ----
protected:
! virtual void checkValueSpace(const XMLCh* const content
! , MemoryManager* const manager);
! virtual void checkContent(const XMLCh* const content
! , ValidationContext* const context
! , bool asBase
! , MemoryManager* const manager);
private:
+ // -----------------------------------------------------------------------
+ // Unimplemented constructors and operators
+ // -----------------------------------------------------------------------
+ QNameDatatypeValidator(const QNameDatatypeValidator&);
+ QNameDatatypeValidator& operator=(const QNameDatatypeValidator&);
// -----------------------------------------------------------------------
Index: InvalidDatatypeFacetException.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/InvalidDatatypeFacetException.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** InvalidDatatypeFacetException.hpp 14 Apr 2004 10:08:26 -0000 1.1.1.1
--- InvalidDatatypeFacetException.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,56 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
--- 1,16 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
Index: DateDatatypeValidator.hpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Include/xercesc/validators/datatype/DateDatatypeValidator.hpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** DateDatatypeValidator.hpp 14 Apr 2004 10:08:26 -0000 1.1.1.1
--- DateDatatypeValidator.hpp 19 Feb 2008 20:16:31 -0000 1.2
***************
*** 1,85 ****
/*
! * The Apache Software License, Version 1.1
! *
! * Copyright (c) 2001 The Apache Software Foundation. All rights
! * reserved.
! *
! * Redistribution and use in source and binary forms, with or without
! * modification, are permitted provided that the following conditions
! * are met:
! *
! * 1. Redistributions of source code must retain the above copyright
! * notice, this list of conditions and the following disclaimer.
! *
! * 2. Redistributions in binary form must reproduce the above copyright
! * notice, this list of conditions and the following disclaimer in
! * the documentation and/or other materials provided with the
! * distribution.
! *
! * 3. The end-user documentation included with the redistribution,
! * if any, must include the following acknowledgment:
! * "This product includes software developed by the
! * Apache Software Foundation (http://www.apache.org/)."
! * Alternately, this acknowledgment may appear in the software itself,
! * if and wherever such third-party acknowledgments normally appear.
! *
! * 4. The names "Xerces" and "Apache Software Foundation" must
! * not be used to endorse or promote products derived from this
! * software without prior written permission. For written
! * permission, please contact apache\@apache.org.
! *
! * 5. Products derived from this software may not be called "Apache",
! * nor may "Apache" appear in their name, without prior written
! * permission of the Apache Software Foundation.
! *
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
! * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
! * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
! * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
! * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
! * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
! * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
! * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! * SUCH DAMAGE.
! * ====================================================================
! *
! * This software consists of voluntary contributions made by many
! * individuals on behalf of the Apache Software Foundation, and was
! * originally based on software copyright (c) 2001, International
! * Business Machines, Inc., http://www.ibm.com . For more information
! * on the Apache Software Foundation, please see
! * <http://www.apache.org/>.
*/
/*
* $Id$
- * $Log$
- * Revision 1.1.1.1 2004/04/14 10:08:26 volgy
- * Importing Xerces library 2.4
- *
- * Revision 1.6 2003/10/02 19:21:06 peiyongz
- * Implementation of Serialization/Deserialization
- *
- * Revision 1.5 2003/08/14 03:00:11 knoaman
- * Code refactoring to improve performance of validation.
- *
- * Revision 1.4 2003/05/15 18:53:26 knoaman
- * Partial implementation of the configurable memory manager.
- *
- * Revision 1.3 2002/12/18 14:17:55 gareth
- * Fix to bug #13438. When you eant a vector that calls delete[] on its members you should use RefArrayVectorOf.
- *
- * Revision 1.2 2002/11/04 14:53:28 tng
- * C++ Namespace Support.
- *
- * Revision 1.1.1.1 2002/02/01 22:22:40 peiyongz
- * sane_include
- *
- * Revision 1.1 2001/11/07 19:18:52 peiyongz
- * DateTime Port
- *
*/
--- 1,20 ----
/*
! * Copyright 2001,2004 The Apache Software Foundation.
! *
! * Licensed under the Apache License, Version 2.0 (the "License");
! * you may not use this file except in compliance with the License.
! * You may obtain a copy of the License at
! *
! * http://www.apache.org/licenses/LICENSE-2.0
! *
! * Unless required by applicable law or agreed to in writing, software
! * distributed under the License is distributed on an "AS IS" BASIS,
! * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
! * See the License for the specific language governing permissions and
! * limitations under the License.
*/
/*
* $Id$
*/
***************
*** 129,132 ****
--- 64,73 ----
);
+ virtual const XMLCh* getCanonicalRepresentation
+ (
+ const XMLCh* const rawData
+ , MemoryManager* const memMgr = 0
+ , bool toValidate = false
+ ) const;
/***
* Support for Serialization/De-serialization
***************
*** 139,144 ****
// implementation of (DateTimeValidator's) virtual interface
// -----------------------------------------------------------------------
! virtual XMLDateTime* parse(const XMLCh* const);
virtual void parse(XMLDateTime* const);
};
--- 80,92 ----
// implementation of (DateTimeValidator's) virtual interface
// -----------------------------------------------------------------------
! virtual XMLDateTime* parse(const XMLCh* const, MemoryManager* const manager);
virtual void parse(XMLDateTime* const);
+
+ private:
+ // -----------------------------------------------------------------------
+ // Unimplemented constructors and operators
+ // -----------------------------------------------------------------------
+ DateDatatypeValidator(const DateDatatypeValidator&);
+ DateDatatypeValidator& operator=(const DateDatatypeValidator&);
};
- Previous message: [GME-commit] GMESRC/GME/Include/xercesc/validators/schema ComplexTypeInfo.hpp, 1.1.1.1, 1.2 GeneralAttributeCheck.hpp, 1.1.1.1, 1.2 NamespaceScope.hpp, 1.1.1.1, 1.2 PSVIDefs.hpp, 1.1.1.1, 1.2 SchemaAttDef.hpp, 1.1.1.1, 1.2 SchemaAttDefList.hpp, 1.1.1.1, 1.2 SchemaElementDecl.hpp, 1.1.1.1, 1.2 SchemaGrammar.hpp, 1.1.1.1, 1.2 SchemaInfo.hpp, 1.1.1.1, 1.2 SchemaSymbols.hpp, 1.1.1.1, 1.2 SchemaValidator.hpp, 1.1.1.1, 1.2 SubstitutionGroupComparator.hpp, 1.1.1.1, 1.2 TraverseSchema.hpp, 1.1.1.1, 1.2 XMLSchemaDescriptionImpl.hpp, 1.1.1.1, 1.2 XSDDOMParser.hpp, 1.1.1.1, 1.2 XSDErrorReporter.hpp, 1.1.1.1, 1.2 XSDLocator.hpp, 1.1.1.1, 1.2 XUtil.hpp, 1.1.1.1, 1.2 XercesAttGroupInfo.hpp, 1.1.1.1, 1.2 XercesElementWildcard.hpp, 1.1.1.1, 1.2 XercesGroupInfo.hpp, 1.1.1.1, 1.2
- Next message: [GME-commit] GMESRC/GME/Include/xercesc/util/regx ASCIIRangeFactory.cpp, NONE, 1.1 BMPattern.cpp, NONE, 1.1 BlockRangeFactory.cpp, NONE, 1.1 CharToken.cpp, NONE, 1.1 ClosureToken.cpp, NONE, 1.1 ConcatToken.cpp, NONE, 1.1 ConditionToken.cpp, NONE, 1.1 Makefile.in, NONE, 1.1 Match.cpp, NONE, 1.1 ModifierToken.cpp, NONE, 1.1 Op.cpp, NONE, 1.1 OpFactory.cpp, NONE, 1.1 ParenToken.cpp, NONE, 1.1 ParserForXMLSchema.cpp, NONE, 1.1 RangeFactory.cpp, NONE, 1.1 RangeToken.cpp, NONE, 1.1 RangeTokenMap.cpp, NONE, 1.1 RegularExpression.cpp, NONE, 1.1 RegxParser.cpp, NONE, 1.1 RegxUtil.cpp, NONE, 1.1 StringToken.cpp, NONE, 1.1 Token.cpp, NONE, 1.1 TokenFactory.cpp, NONE, 1.1 UnicodeRangeFactory.cpp, NONE, 1.1 UnionToken.cpp, NONE, 1.1 XMLRangeFactory.cpp, NONE, 1.1 XMLUniCharacter.cpp, NONE, 1.1 ASCIIRangeFactory.hpp, 1.1.1.1, 1.2 BMPattern.hpp, 1.1.1.1, 1.2 BlockRangeFactory.hpp, 1.1.1.1, 1.2 CharToken.hpp, 1.1.1.1, 1.2 ClosureToken.hpp, 1.1.1.1, 1.2 ConcatToken.hpp, 1.1.1.1, 1.2 ConditionToken.hpp, 1.1.1.1, 1.2 Match.hpp, 1.1.1.1, 1.2 ModifierToken.hpp, 1.1.1.1, 1.2 Op.hpp, 1.1.1.1, 1.2 OpFactory.hpp, 1.1.1.1, 1.2 ParenToken.hpp, 1.1.1.1, 1.2 ParserForXMLSchema.hpp, 1.1.1.1, 1.2 RangeFactory.hpp, 1.1.1.1, 1.2 RangeToken.hpp, 1.1.1.1, 1.2 RangeTokenMap.hpp, 1.1.1.1, 1.2 RegularExpression.hpp, 1.1.1.1, 1.2 RegxDefs.hpp, 1.1.1.1, 1.2 RegxParser.hpp, 1.1.1.1, 1.2 RegxUtil.hpp, 1.1.1.1, 1.2 StringToken.hpp, 1.1.1.1, 1.2 Token.hpp, 1.1.1.1, 1.2 TokenFactory.hpp, 1.1.1.1, 1.2 TokenInc.hpp, 1.1.1.1, 1.2 UniCharTable.hpp, 1.1.1.1, 1.2 UnicodeRangeFactory.hpp, 1.1.1.1, 1.2 UnionToken.hpp, 1.1.1.1, 1.2 XMLRangeFactory.hpp, 1.1.1.1, 1.2 XMLUniCharacter.hpp, 1.1.1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the GME-commit
mailing list