You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2001/02/15 19:41:53 UTC

cvs commit: xml-xerces/c/src/validators/datatype InvalidDatatypeFacetException.hpp InvalidDatatypeValueException.hpp Makefile.in

tng         01/02/15 10:41:51

  Modified:    c/src    Makefile.in configure configure.in
               c/src/util Makefile.in
  Added:       c/src/util NumberFormatException.hpp ParseException.hpp
               c/src/validators/datatype InvalidDatatypeFacetException.hpp
                        InvalidDatatypeValueException.hpp Makefile.in
  Log:
  Schema: Exception Handling added by Pei Yong Zhang.  Add NumberFormatException, ParseException,
  InvalidDatatypeFacetException, and InvalidDatatypeValueException.  The associated
  Makefile.in and configure.in are updated.
  
  Revision  Changes    Path
  1.24      +12 -3     xml-xerces/c/src/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/Makefile.in,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- Makefile.in	2000/08/02 18:33:36	1.23
  +++ Makefile.in	2001/02/15 18:41:27	1.24
  @@ -54,7 +54,7 @@
   # <http://www.apache.org/>.
   #
   #
  -# $Id: Makefile.in,v 1.23 2000/08/02 18:33:36 aruna1 Exp $
  +# $Id: Makefile.in,v 1.24 2001/02/15 18:41:27 tng Exp $
   #
   
   ###################################################################
  @@ -85,6 +85,7 @@
   DOM_DIR = dom
   PARSERS_DIR = parsers
   VALIDATORS_DTD_DIR = validators/DTD
  +VALIDATORS_DATATYPE_DIR = validators/datatype
   
   LIBNAME = libxerces-c
   THISLIB = ${XML_LIB_DIR}/${LIBNAME}
  @@ -101,9 +102,9 @@
   PRODUCTVERSION=${VER}
   BINTARGETDIR=${HOME}/${PRODUCTNAME}-c-${PLATFORM}-${CXX}-${PRODUCTVERSION}
   
  -all:: Prepare Util Sax Internal Framework Parsers Sax2 Dom Validators ${THISLIB}${VER}${SHLIBSUFFIX}
  +all:: Prepare Util Sax Internal Framework Parsers Sax2 Dom Validators Datatype ${THISLIB}${VER}${SHLIBSUFFIX}
   
  -compile:: Prepare Util Sax Internal Framework Parsers Sax2 Dom Validators
  +compile:: Prepare Util Sax Internal Framework Parsers Sax2 Dom Validators Datatype
   
   lib:: compile ${THISLIB}${VER}${SHLIBSUFFIX}
   
  @@ -118,6 +119,7 @@
   	${CD} $(FRAMEWORK_DIR) ; $(MAKE) includes ; ${CD} ..
   	${CD} $(PARSERS_DIR) ; $(MAKE) includes ; ${CD} ..
   	${CD} $(VALIDATORS_DTD_DIR) ; $(MAKE) includes ; ${CD} ../..
  +	${CD} $(VALIDATORS_DATATYPE_DIR) ; $(MAKE) includes ; ${CD} ../..
   	${CD} $(DOM_DIR) ; $(MAKE) includes ; ${CD} ..
   
   Util::
  @@ -153,6 +155,10 @@
   	@echo Building "validators"
   	${CD} $(VALIDATORS_DTD_DIR) ; $(MAKE) $(MAKE_FLAGS) ; ${CD} ../..
   
  +Datatype::
  +	@echo Building "datatype"
  +	${CD} $(VALIDATORS_DATATYPE_DIR) ; $(MAKE) $(MAKE_FLAGS) ; ${CD} ../..
  +
   ${THISLIB}${VER}${SHLIBSUFFIX}::
   	@echo Building ${THISLIB}${VER}${SHLIBSUFFIX}
   	${CD} $(XML_OBJ_DIR)/.. ; $(MAKE) -k $(MAKE_FLAGS) ; ${CD} ..
  @@ -166,6 +172,7 @@
   	${CD} $(PARSERS_DIR) && $(MAKE) $@ && ${CD} ..
   	${CD} $(DOM_DIR) && $(MAKE) $@ && ${CD} ..
   	${CD} $(VALIDATORS_DTD_DIR) && $(MAKE) $@ && ${CD} ../..
  +	${CD} $(VALIDATORS_DATATYPE_DIR) && $(MAKE) $@ && ${CD} ../..
   	${CD} $(XML_OBJ) && $(MAKE) $@ && ${CD} ..
   
   clean::
  @@ -177,6 +184,7 @@
   	${CD} $(PARSERS_DIR) && $(MAKE) $@ && ${CD} ..
   	${CD} $(DOM_DIR) && $(MAKE) $@ && ${CD} ..
   	${CD} $(VALIDATORS_DTD_DIR) && $(MAKE) $@ && ${CD} ../..
  +	${CD} $(VALIDATORS_DATATYPE_DIR) && $(MAKE) $@ && ${CD} ../..
   	${CD} $(XML_OBJ) && $(MAKE) $@ && ${CD} ..
   
   distclean::
  @@ -188,6 +196,7 @@
   	${CD} $(PARSERS_DIR) && $(MAKE) $@ && ${CD} ..
   	${CD} $(DOM_DIR) && $(MAKE) $@ && ${CD} ..
   	${CD} $(VALIDATORS_DTD_DIR) && $(MAKE) $@ && ${CD} ../..
  +	${CD} $(VALIDATORS_DATATYPE_DIR) && $(MAKE) $@ && ${CD} ../..
   	${CD} $(XML_OBJ) && $(MAKE) $@ && ${CD} ..
   	rm -f Makefile config.cache config.log config.status
   	find . -name Makefile -print -exec rm -f {} \;
  
  
  
  1.22      +3 -1      xml-xerces/c/src/configure
  
  Index: configure
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/configure,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- configure	2000/11/09 01:37:44	1.21
  +++ configure	2001/02/15 18:41:30	1.22
  @@ -1,7 +1,7 @@
   #! /bin/sh
   
   # Guess values for system-dependent variables and create Makefiles.
  -# Generated automatically using autoconf version 2.13 
  +# Generated automatically using autoconf version 2.13
   # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
   #
   # This configure script is free software; the Free Software Foundation
  @@ -1491,6 +1491,7 @@
   util/MsgLoaders/MsgCatalog/Makefile \
   util/MsgLoaders/MsgFile/Makefile \
   util/NetAccessors/Socket/Makefile \
  +validators/datatype/Makefile \
   validators/DTD/Makefile \
   framework/Makefile \
   dom/Makefile \
  @@ -1619,6 +1620,7 @@
   util/MsgLoaders/MsgCatalog/Makefile \
   util/MsgLoaders/MsgFile/Makefile \
   util/NetAccessors/Socket/Makefile \
  +validators/datatype/Makefile \
   validators/DTD/Makefile \
   framework/Makefile \
   dom/Makefile \
  
  
  
  1.18      +1 -0      xml-xerces/c/src/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/configure.in,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- configure.in	2000/08/17 21:03:17	1.17
  +++ configure.in	2001/02/15 18:41:31	1.18
  @@ -111,6 +111,7 @@
   util/MsgLoaders/MsgCatalog/Makefile \
   util/MsgLoaders/MsgFile/Makefile \
   util/NetAccessors/Socket/Makefile \
  +validators/datatype/Makefile \
   validators/DTD/Makefile \
   framework/Makefile \
   dom/Makefile \
  
  
  
  1.26      +6 -1      xml-xerces/c/src/util/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/util/Makefile.in,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- Makefile.in	2000/07/25 22:28:15	1.25
  +++ Makefile.in	2001/02/15 18:41:41	1.26
  @@ -55,6 +55,11 @@
   #
   #
   # $Log: Makefile.in,v $
  +# Revision 1.26  2001/02/15 18:41:41  tng
  +# Schema: Exception Handling added by Pei Yong Zhang.  Add NumberFormatException, ParseException,
  +# InvalidDatatypeFacetException, and InvalidDatatypeValueException.  The associated
  +# Makefile.in and configure.in are updated.
  +#
   # Revision 1.25  2000/07/25 22:28:15  aruna1
   # Char definitions in XMLUni moved to XMLUniDefs
   #
  @@ -226,6 +231,8 @@
       NoDefTranscoderException.hpp \
       NoSuchElementException.hpp \
       NullPointerException.hpp \
  +    NumberFormatException.hpp \
  +    ParseException.hpp \
       PlatformUtils.hpp \
       RefArrayOf.hpp \
       RefHashTableOf.hpp \
  @@ -260,7 +267,7 @@
       XMLURL.hpp \
       XMLUTF16Transcoder.hpp \
       XMLUTF8Transcoder.hpp \
  -	XMLUniDefs.hpp \
  +    XMLUniDefs.hpp \
       XMLUni.hpp \
       XMLWin1252Transcoder.hpp
   
  
  
  
  1.1                  xml-xerces/c/src/util/NumberFormatException.hpp
  
  Index: NumberFormatException.hpp
  ===================================================================
  /*
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 1999-2000 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: NumberFormatException.hpp,v 1.1 2001/02/15 18:41:44 tng Exp $
   */
  
  
  #if !defined(NUMBERFORMATEXCEPTION_HPP)
  #define NUMBERFORMATEXCEPTION_HPP
  
  #include <util/XercesDefs.hpp>
  #include <util/XMLException.hpp>
  
  
  MakeXMLException(NumberFormatException, XMLUTIL_EXPORT)
  
  #endif
  
  
  
  1.1                  xml-xerces/c/src/util/ParseException.hpp
  
  Index: ParseException.hpp
  ===================================================================
  /*
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 1999-2000 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: ParseException.hpp,v 1.1 2001/02/15 18:41:44 tng Exp $
   */
  
  
  #if !defined(PARSEEXCEPTION_HPP)
  #define PARSEEXCEPTION_HPP
  
  #include <util/XercesDefs.hpp>
  #include <util/XMLException.hpp>
  
  
  MakeXMLException(ParseException, XMLUTIL_EXPORT)
  
  #endif
  
  
  
  1.1                  xml-xerces/c/src/validators/datatype/InvalidDatatypeFacetException.hpp
  
  Index: InvalidDatatypeFacetException.hpp
  ===================================================================
  /*
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 1999-2000 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: InvalidDatatypeFacetException.hpp,v 1.1 2001/02/15 18:41:49 tng Exp $
   */
  
  
  #if !defined(INVALIDDATATYPEFACETEXCEPTION_HPP)
  #define INVALIDDATATYPEFACETEXCEPTION_HPP
  
  #include <util/XercesDefs.hpp>
  #include <util/XMLException.hpp>
  
  
  MakeXMLException(InvalidDatatypeFacetException, XMLUTIL_EXPORT)
  
  #endif
  
  
  
  1.1                  xml-xerces/c/src/validators/datatype/InvalidDatatypeValueException.hpp
  
  Index: InvalidDatatypeValueException.hpp
  ===================================================================
  /*
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 1999-2000 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: InvalidDatatypeValueException.hpp,v 1.1 2001/02/15 18:41:50 tng Exp $
   */
  
  
  #if !defined(INVALIDDATATYPEVALUEEXCEPTION_HPP)
  #define INVALIDDATATYPEVALUEEXCEPTION_HPP
  
  #include <util/XercesDefs.hpp>
  #include <util/XMLException.hpp>
  
  
  MakeXMLException(InvalidDatatypeValueException, XMLUTIL_EXPORT)
  
  #endif
  
  
  
  1.1                  xml-xerces/c/src/validators/datatype/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  #
  # The Apache Software License, Version 1.1
  #
  # Copyright (c) 1999 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/>.
  #
  #
  # $Log: Makefile.in,v $
  # Revision 1.1  2001/02/15 18:41:50  tng
  # Schema: Exception Handling added by Pei Yong Zhang.  Add NumberFormatException, ParseException,
  # InvalidDatatypeFacetException, and InvalidDatatypeValueException.  The associated
  # Makefile.in and configure.in are updated.
  #
  #
  
  PLATFORM = @platform@
  CC  = @cc@
  CXX = @cxx@
  CXXFLAGS = @cxxflags@
  CFLAGS = @cflags@
  PREFIX = @prefix@
  LDFLAGS = @ldflags@
  LIBS = @libs@
  OSVER = @osver@
  USELIBWWW = @uselibwww@
  MESSAGELOADER = @messageloader@
  TRANSCODER = @transcoder@
  
  include ../../Makefile.incl
  
  MODULE = validators
  SUBMODULE = datatype
  
  VALIDATORS_DATATYPE_CPP_PUBHEADERS = \
  	InvalidDatatypeFacetException.hpp \
  	InvalidDatatypeValueException.hpp
  
  VALIDATORS_DATATYPE_CPP_PRIVHEADERS =
  
  VALIDATORS_DATATYPE_C_FILES =
  
  VALIDATORS_DATATYPE_CPP_OBJECTS =
  
  all::	includes $(VALIDATORS_DATATYPE_CPP_OBJECTS)
  
  includes::	pubheaders $(VALIDATORS_DATATYPE_C_FILES)
  
  pubheaders::
  	-mkdir -p $(XML_INC_DIR)/$(MODULE)/$(SUBMODULE)
  	$(CP) $(VALIDATORS_DATATYPE_CPP_PUBHEADERS) $(VALIDATORS_DATATYPE_C_FILES) $(XML_INC_DIR)/$(MODULE)/$(SUBMODULE)
  
  # this may generate unnecessary dependencies, but it makes life easier
  depend:: includes
  	$(MAKE_DEPEND) $(XML_INCL)  *.cpp > $(DEPFILE)
  
  clean::
  	@echo "Making clean in $(MODULE)/$(SUBMODULE) ..."
  	$(RM2) $(addprefix $(XML_OBJ_DIR)/,$(VALIDATORS_DATATYPE_CPP_OBJECTS))
  
  distclean::	clean
  	$(RM) Makefile $(DEPFILE)
  	@echo "Removing all $(MODULE)/$(SUBMODULE) header files ..."
  	$(RM2) $(addprefix $(XML_INC_DIR)/$(MODULE)/$(SUBMODULE)/,$(VALIDATORS_DATATYPE_CPP_PUBHEADERS))
  
  install::
  	-mkdir -p $(PREFIX)/$(MODULE)/$(SUBMODULE)
  	$(CP) $(VALIDATORS_DATATYPE_CPP_PUBHEADERS) $(VALIDATORS_DATATYPE_C_FILES) $(PREFIX)/$(MODULE)/$(SUBMODULE)