-Index: gcc-4.2.3/libjava/classpath/external/relaxngDatatype/copying.txt
-===================================================================
---- gcc-4.2.3.orig/libjava/classpath/external/relaxngDatatype/copying.txt 2006-03-10 14:25:35.000000000 +0100
-+++ gcc-4.2.3/libjava/classpath/external/relaxngDatatype/copying.txt 2008-05-21 13:45:54.362288662 +0200
-@@ -1,30 +1,30 @@
--Copyright (c) 2001, Thai Open Source Software Center Ltd, Sun Microsystems.\r
--All rights reserved.\r
--\r
--Redistribution and use in source and binary forms, with or without\r
--modification, are permitted provided that the following conditions are\r
--met:\r
--\r
-- Redistributions of source code must retain the above copyright\r
-- notice, this list of conditions and the following disclaimer.\r
--\r
-- Redistributions in binary form must reproduce the above copyright\r
-- notice, this list of conditions and the following disclaimer in\r
-- the documentation and/or other materials provided with the\r
-- distribution.\r
--\r
-- Neither the names of the copyright holders nor the names of its\r
-- contributors may be used to endorse or promote products derived\r
-- from this software without specific prior written permission.\r
--\r
--THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\r
--"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\r
--LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\r
--A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR\r
--CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\r
--EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\r
--PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\r
--PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\r
--LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\r
--NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\r
--SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
-+Copyright (c) 2001, Thai Open Source Software Center Ltd, Sun Microsystems.
-+All rights reserved.
-+
-+Redistribution and use in source and binary forms, with or without
-+modification, are permitted provided that the following conditions are
-+met:
-+
-+ Redistributions of source code must retain the above copyright
-+ notice, this list of conditions and the following disclaimer.
-+
-+ 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.
-+
-+ Neither the names of the copyright holders nor the names of its
-+ contributors may be used to endorse or promote products derived
-+ from this software without specific prior written permission.
-+
-+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-+"AS IS" AND ANY EXPRESS 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 REGENTS OR
-+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.
-Index: gcc-4.2.3/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java
-===================================================================
---- gcc-4.2.3.orig/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java 2006-03-10 14:25:35.000000000 +0100
-+++ gcc-4.2.3/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java 2008-05-21 13:45:54.362288662 +0200
-@@ -1,45 +1,45 @@
--package org.relaxng.datatype;\r
--\r
--/**\r
-- * Creates a user-defined type by adding parameters to\r
-- * the pre-defined type.\r
-- * \r
-- * @author <a href="mailto:jjc@jclark.com">James Clark</a>\r
-- * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a>\r
-- */\r
--public interface DatatypeBuilder {\r
-- \r
-- /**\r
-- * Adds a new parameter.\r
-- *\r
-- * @param name\r
-- * The name of the parameter to be added.\r
-- * @param strValue\r
-- * The raw value of the parameter. Caller may not normalize\r
-- * this value because any white space is potentially significant.\r
-- * @param context\r
-- * The context information which can be used by the callee to\r
-- * acquire additional information. This context object is\r
-- * valid only during this method call. The callee may not\r
-- * keep a reference to this object.\r
-- * @exception DatatypeException\r
-- * When the given parameter is inappropriate for some reason.\r
-- * The callee is responsible to recover from this error.\r
-- * That is, the object should behave as if no such error\r
-- * was occured.\r
-- */\r
-- void addParameter( String name, String strValue, ValidationContext context )\r
-- throws DatatypeException;\r
-- \r
-- /**\r
-- * Derives a new Datatype from a Datatype by parameters that\r
-- * were already set through the addParameter method.\r
-- * \r
-- * @exception DatatypeException\r
-- * DatatypeException must be thrown if the derivation is\r
-- * somehow invalid. For example, a required parameter is missing,\r
-- * etc. The exception should contain a diagnosis message\r
-- * if possible.\r
-- */\r
-- Datatype createDatatype() throws DatatypeException;\r
--}\r
-+package org.relaxng.datatype;
-+
-+/**
-+ * Creates a user-defined type by adding parameters to
-+ * the pre-defined type.
-+ *
-+ * @author <a href="mailto:jjc@jclark.com">James Clark</a>
-+ * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a>
-+ */
-+public interface DatatypeBuilder {
-+
-+ /**
-+ * Adds a new parameter.
-+ *
-+ * @param name
-+ * The name of the parameter to be added.
-+ * @param strValue
-+ * The raw value of the parameter. Caller may not normalize
-+ * this value because any white space is potentially significant.
-+ * @param context
-+ * The context information which can be used by the callee to
-+ * acquire additional information. This context object is
-+ * valid only during this method call. The callee may not
-+ * keep a reference to this object.
-+ * @exception DatatypeException
-+ * When the given parameter is inappropriate for some reason.
-+ * The callee is responsible to recover from this error.
-+ * That is, the object should behave as if no such error
-+ * was occured.
-+ */
-+ void addParameter( String name, String strValue, ValidationContext context )
-+ throws DatatypeException;
-+
-+ /**
-+ * Derives a new Datatype from a Datatype by parameters that
-+ * were already set through the addParameter method.
-+ *
-+ * @exception DatatypeException
-+ * DatatypeException must be thrown if the derivation is
-+ * somehow invalid. For example, a required parameter is missing,
-+ * etc. The exception should contain a diagnosis message
-+ * if possible.
-+ */
-+ Datatype createDatatype() throws DatatypeException;
-+}
-Index: gcc-4.2.3/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java
-===================================================================
---- gcc-4.2.3.orig/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java 2006-03-10 14:25:35.000000000 +0100
-+++ gcc-4.2.3/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java 2008-05-21 13:45:54.366287774 +0200
-@@ -1,39 +1,39 @@
--package org.relaxng.datatype;\r
--\r
--/**\r
-- * Signals Datatype related exceptions.\r
-- * \r
-- * @author <a href="mailto:jjc@jclark.com">James Clark</a>\r
-- * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a>\r
-- */\r
--public class DatatypeException extends Exception {\r
-- \r
-- public DatatypeException( int index, String msg ) {\r
-- super(msg);\r
-- this.index = index;\r
-- }\r
-- public DatatypeException( String msg ) {\r
-- this(UNKNOWN,msg);\r
-- }\r
-- /**\r
-- * A constructor for those datatype libraries which don't support any\r
-- * diagnostic information at all.\r
-- */\r
-- public DatatypeException() {\r
-- this(UNKNOWN,null);\r
-- }\r
-- \r
-- \r
-- private final int index;\r
-- \r
-- public static final int UNKNOWN = -1;\r
--\r
-- /**\r
-- * Gets the index of the content where the error occured.\r
-- * UNKNOWN can be returned to indicate that no index information\r
-- * is available.\r
-- */\r
-- public int getIndex() {\r
-- return index;\r
-- }\r
--}\r
-+package org.relaxng.datatype;
-+
-+/**
-+ * Signals Datatype related exceptions.
-+ *
-+ * @author <a href="mailto:jjc@jclark.com">James Clark</a>
-+ * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a>
-+ */
-+public class DatatypeException extends Exception {
-+
-+ public DatatypeException( int index, String msg ) {
-+ super(msg);
-+ this.index = index;
-+ }
-+ public DatatypeException( String msg ) {
-+ this(UNKNOWN,msg);
-+ }
-+ /**
-+ * A constructor for those datatype libraries which don't support any
-+ * diagnostic information at all.
-+ */
-+ public DatatypeException() {
-+ this(UNKNOWN,null);
-+ }
-+
-+
-+ private final int index;
-+
-+ public static final int UNKNOWN = -1;
-+
-+ /**
-+ * Gets the index of the content where the error occured.
-+ * UNKNOWN can be returned to indicate that no index information
-+ * is available.
-+ */
-+ public int getIndex() {
-+ return index;
-+ }
-+}
-Index: gcc-4.2.3/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/Datatype.java
-===================================================================
---- gcc-4.2.3.orig/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/Datatype.java 2006-03-10 14:25:35.000000000 +0100
-+++ gcc-4.2.3/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/Datatype.java 2008-05-21 13:45:54.366287774 +0200
-@@ -1,237 +1,237 @@
--package org.relaxng.datatype;\r
--\r
--/**\r
-- * Datatype object.\r
-- * \r
-- * This object has the following functionality:\r
-- * \r
-- * <ol>\r
-- * <li> functionality to identify a class of character sequences. This is\r
-- * done through the isValid method.\r
-- * \r
-- * <li> functionality to produce a "value object" from a character sequence and\r
-- * context information.\r
-- * \r
-- * <li> functionality to test the equality of two value objects.\r
-- * </ol>\r
-- * \r
-- * This interface also defines the createStreamingValidator method,\r
-- * which is intended to efficiently support the validation of\r
-- * large character sequences.\r
-- * \r
-- * @author <a href="mailto:jjc@jclark.com">James Clark</a>\r
-- * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a>\r
-- */\r
--public interface Datatype {\r
-- \r
-- /**\r
-- * Checks if the specified 'literal' matches this Datatype\r
-- * with respect to the current context.\r
-- * \r
-- * @param literal\r
-- * the lexical representation to be checked.\r
-- * @param context\r
-- * If this datatype is context-dependent\r
-- * (i.e. the {@link #isContextDependent} method returns true),\r
-- * then the caller must provide a non-null valid context object.\r
-- * Otherwise, the caller can pass null.\r
-- * \r
-- * @return\r
-- * true if the 'literal' is a member of this Datatype;\r
-- * false if it's not a member of this Datatype.\r
-- */\r
-- boolean isValid( String literal, ValidationContext context );\r
-- \r
-- /**\r
-- * Similar to the isValid method but throws an exception with diagnosis\r
-- * in case of errors.\r
-- * \r
-- * <p>\r
-- * If the specified 'literal' is a valid lexical representation for this\r
-- * datatype, then this method must return without throwing any exception.\r
-- * If not, the callee must throw an exception (with diagnosis message,\r
-- * if possible.)\r
-- * \r
-- * <p>\r
-- * The application can use this method to provide detailed error message\r
-- * to users. This method is kept separate from the isValid method to\r
-- * achieve higher performance during normal validation.\r
-- * \r
-- * @exception DatatypeException\r
-- * If the given literal is invalid, then this exception is thrown.\r
-- * If the callee supports error diagnosis, then the exception should\r
-- * contain a diagnosis message.\r
-- */\r
-- void checkValid( String literal, ValidationContext context )\r
-- throws DatatypeException;\r
-- \r
-- /**\r
-- * Creates an instance of a streaming validator for this type.\r
-- * \r
-- * <p>\r
-- * By using streaming validators instead of the isValid method,\r
-- * the caller can avoid keeping the entire string, which is\r
-- * sometimes quite big, in memory.\r
-- * \r
-- * @param context\r
-- * If this datatype is context-dependent\r
-- * (i.e. the {@link #isContextDependent} method returns true),\r
-- * then the caller must provide a non-null valid context object.\r
-- * Otherwise, the caller can pass null.\r
-- * The callee may keep a reference to this context object\r
-- * only while the returned streaming validator is being used.\r
-- */\r
-- DatatypeStreamingValidator createStreamingValidator( ValidationContext context );\r
-- \r
-- /**\r
-- * Converts lexcial value and the current context to the corresponding\r
-- * value object.\r
-- * \r
-- * <p>\r
-- * The caller cannot generally assume that the value object is\r
-- * a meaningful Java object. For example, the caller cannot expect\r
-- * this method to return <code>java.lang.Number</code> type for\r
-- * the "integer" type of XML Schema Part 2.\r
-- * \r
-- * <p>\r
-- * Also, the caller cannot assume that the equals method and\r
-- * the hashCode method of the value object are consistent with\r
-- * the semantics of the datatype. For that purpose, the sameValue\r
-- * method and the valueHashCode method have to be used. Note that\r
-- * this means you cannot use classes like\r
-- * <code>java.util.Hashtable</code> to store the value objects.\r
-- * \r
-- * <p>\r
-- * The returned value object should be used solely for the sameValue\r
-- * and valueHashCode methods.\r
-- * \r
-- * @param context\r
-- * If this datatype is context-dependent\r
-- * (when the {@link #isContextDependent} method returns true),\r
-- * then the caller must provide a non-null valid context object.\r
-- * Otherwise, the caller can pass null.\r
-- * \r
-- * @return null\r
-- * when the given lexical value is not a valid lexical\r
-- * value for this type.\r
-- */\r
-- Object createValue( String literal, ValidationContext context );\r
-- \r
-- /**\r
-- * Tests the equality of two value objects which were originally\r
-- * created by the createValue method of this object.\r
-- * \r
-- * The behavior is undefined if objects not created by this type\r
-- * are passed. It is the caller's responsibility to ensure that\r
-- * value objects belong to this type.\r
-- * \r
-- * @return\r
-- * true if two value objects are considered equal according to\r
-- * the definition of this datatype; false if otherwise.\r
-- */\r
-- boolean sameValue( Object value1, Object value2 );\r
-- \r
-- \r
-- /**\r
-- * Computes the hash code for a value object,\r
-- * which is consistent with the sameValue method.\r
-- * \r
-- * @return\r
-- * hash code for the specified value object.\r
-- */\r
-- int valueHashCode( Object value );\r
--\r
--\r
--\r
-- \r
-- /**\r
-- * Indicates that the datatype doesn't have ID/IDREF semantics.\r
-- * \r
-- * This value is one of the possible return values of the\r
-- * {@link #getIdType} method.\r
-- */\r
-- public static final int ID_TYPE_NULL = 0;\r
-- \r
-- /**\r
-- * Indicates that RELAX NG compatibility processors should\r
-- * treat this datatype as having ID semantics.\r
-- * \r
-- * This value is one of the possible return values of the\r
-- * {@link #getIdType} method.\r
-- */\r
-- public static final int ID_TYPE_ID = 1;\r
-- \r
-- /**\r
-- * Indicates that RELAX NG compatibility processors should\r
-- * treat this datatype as having IDREF semantics.\r
-- * \r
-- * This value is one of the possible return values of the\r
-- * {@link #getIdType} method.\r
-- */\r
-- public static final int ID_TYPE_IDREF = 2;\r
-- \r
-- /**\r
-- * Indicates that RELAX NG compatibility processors should\r
-- * treat this datatype as having IDREFS semantics.\r
-- * \r
-- * This value is one of the possible return values of the\r
-- * {@link #getIdType} method.\r
-- */\r
-- public static final int ID_TYPE_IDREFS = 3;\r
-- \r
-- /**\r
-- * Checks if the ID/IDREF semantics is associated with this\r
-- * datatype.\r
-- * \r
-- * <p>\r
-- * This method is introduced to support the RELAX NG DTD\r
-- * compatibility spec. (Of course it's always free to use\r
-- * this method for other purposes.)\r
-- * \r
-- * <p>\r
-- * If you are implementing a datatype library and have no idea about\r
-- * the "RELAX NG DTD compatibility" thing, just return\r
-- * <code>ID_TYPE_NULL</code> is fine.\r
-- * \r
-- * @return\r
-- * If this datatype doesn't have any ID/IDREF semantics,\r
-- * it returns {@link #ID_TYPE_NULL}. If it has such a semantics\r
-- * (for example, XSD:ID, XSD:IDREF and comp:ID type), then\r
-- * it returns {@link #ID_TYPE_ID}, {@link #ID_TYPE_IDREF} or\r
-- * {@link #ID_TYPE_IDREFS}.\r
-- */\r
-- public int getIdType();\r
-- \r
-- \r
-- /**\r
-- * Checks if this datatype may need a context object for\r
-- * the validation.\r
-- * \r
-- * <p>\r
-- * The callee must return true even when the context\r
-- * is not always necessary. (For example, the "QName" type\r
-- * doesn't need a context object when validating unprefixed\r
-- * string. But nonetheless QName must return true.)\r
-- * \r
-- * <p>\r
-- * XSD's <code>string</code> and <code>short</code> types\r
-- * are examples of context-independent datatypes.\r
-- * Its <code>QName</code> and <code>ENTITY</code> types\r
-- * are examples of context-dependent datatypes.\r
-- * \r
-- * <p>\r
-- * When a datatype is context-independent, then\r
-- * the {@link #isValid} method, the {@link #checkValid} method,\r
-- * the {@link #createStreamingValidator} method and\r
-- * the {@link #createValue} method can be called without\r
-- * providing a context object.\r
-- * \r
-- * @return\r
-- * <b>true</b> if this datatype is context-dependent\r
-- * (it needs a context object sometimes);\r
-- * \r
-- * <b>false</b> if this datatype is context-<b>in</b>dependent\r
-- * (it never needs a context object).\r
-- */\r
-- public boolean isContextDependent();\r
--}\r
-+package org.relaxng.datatype;
-+
-+/**
-+ * Datatype object.
-+ *
-+ * This object has the following functionality:
-+ *
-+ * <ol>
-+ * <li> functionality to identify a class of character sequences. This is
-+ * done through the isValid method.
-+ *
-+ * <li> functionality to produce a "value object" from a character sequence and
-+ * context information.
-+ *
-+ * <li> functionality to test the equality of two value objects.
-+ * </ol>
-+ *
-+ * This interface also defines the createStreamingValidator method,
-+ * which is intended to efficiently support the validation of
-+ * large character sequences.
-+ *
-+ * @author <a href="mailto:jjc@jclark.com">James Clark</a>
-+ * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a>
-+ */
-+public interface Datatype {
-+
-+ /**
-+ * Checks if the specified 'literal' matches this Datatype
-+ * with respect to the current context.
-+ *
-+ * @param literal
-+ * the lexical representation to be checked.
-+ * @param context
-+ * If this datatype is context-dependent
-+ * (i.e. the {@link #isContextDependent} method returns true),
-+ * then the caller must provide a non-null valid context object.
-+ * Otherwise, the caller can pass null.
-+ *
-+ * @return
-+ * true if the 'literal' is a member of this Datatype;
-+ * false if it's not a member of this Datatype.
-+ */
-+ boolean isValid( String literal, ValidationContext context );
-+
-+ /**
-+ * Similar to the isValid method but throws an exception with diagnosis
-+ * in case of errors.
-+ *
-+ * <p>
-+ * If the specified 'literal' is a valid lexical representation for this
-+ * datatype, then this method must return without throwing any exception.
-+ * If not, the callee must throw an exception (with diagnosis message,
-+ * if possible.)
-+ *
-+ * <p>
-+ * The application can use this method to provide detailed error message
-+ * to users. This method is kept separate from the isValid method to
-+ * achieve higher performance during normal validation.
-+ *
-+ * @exception DatatypeException
-+ * If the given literal is invalid, then this exception is thrown.
-+ * If the callee supports error diagnosis, then the exception should
-+ * contain a diagnosis message.
-+ */
-+ void checkValid( String literal, ValidationContext context )
-+ throws DatatypeException;
-+
-+ /**
-+ * Creates an instance of a streaming validator for this type.
-+ *
-+ * <p>
-+ * By using streaming validators instead of the isValid method,
-+ * the caller can avoid keeping the entire string, which is
-+ * sometimes quite big, in memory.
-+ *
-+ * @param context
-+ * If this datatype is context-dependent
-+ * (i.e. the {@link #isContextDependent} method returns true),
-+ * then the caller must provide a non-null valid context object.
-+ * Otherwise, the caller can pass null.
-+ * The callee may keep a reference to this context object
-+ * only while the returned streaming validator is being used.
-+ */
-+ DatatypeStreamingValidator createStreamingValidator( ValidationContext context );
-+
-+ /**
-+ * Converts lexcial value and the current context to the corresponding
-+ * value object.
-+ *
-+ * <p>
-+ * The caller cannot generally assume that the value object is
-+ * a meaningful Java object. For example, the caller cannot expect
-+ * this method to return <code>java.lang.Number</code> type for
-+ * the "integer" type of XML Schema Part 2.
-+ *
-+ * <p>
-+ * Also, the caller cannot assume that the equals method and
-+ * the hashCode method of the value object are consistent with
-+ * the semantics of the datatype. For that purpose, the sameValue
-+ * method and the valueHashCode method have to be used. Note that
-+ * this means you cannot use classes like
-+ * <code>java.util.Hashtable</code> to store the value objects.
-+ *
-+ * <p>
-+ * The returned value object should be used solely for the sameValue
-+ * and valueHashCode methods.
-+ *
-+ * @param context
-+ * If this datatype is context-dependent
-+ * (when the {@link #isContextDependent} method returns true),
-+ * then the caller must provide a non-null valid context object.
-+ * Otherwise, the caller can pass null.
-+ *
-+ * @return null
-+ * when the given lexical value is not a valid lexical
-+ * value for this type.
-+ */
-+ Object createValue( String literal, ValidationContext context );
-+
-+ /**
-+ * Tests the equality of two value objects which were originally
-+ * created by the createValue method of this object.
-+ *
-+ * The behavior is undefined if objects not created by this type
-+ * are passed. It is the caller's responsibility to ensure that
-+ * value objects belong to this type.
-+ *
-+ * @return
-+ * true if two value objects are considered equal according to
-+ * the definition of this datatype; false if otherwise.
-+ */
-+ boolean sameValue( Object value1, Object value2 );
-+
-+
-+ /**
-+ * Computes the hash code for a value object,
-+ * which is consistent with the sameValue method.
-+ *
-+ * @return
-+ * hash code for the specified value object.
-+ */
-+ int valueHashCode( Object value );
-+
-+
-+
-+
-+ /**
-+ * Indicates that the datatype doesn't have ID/IDREF semantics.
-+ *
-+ * This value is one of the possible return values of the
-+ * {@link #getIdType} method.
-+ */
-+ public static final int ID_TYPE_NULL = 0;
-+
-+ /**
-+ * Indicates that RELAX NG compatibility processors should
-+ * treat this datatype as having ID semantics.
-+ *
-+ * This value is one of the possible return values of the
-+ * {@link #getIdType} method.
-+ */
-+ public static final int ID_TYPE_ID = 1;
-+
-+ /**
-+ * Indicates that RELAX NG compatibility processors should
-+ * treat this datatype as having IDREF semantics.
-+ *
-+ * This value is one of the possible return values of the
-+ * {@link #getIdType} method.
-+ */
-+ public static final int ID_TYPE_IDREF = 2;
-+
-+ /**
-+ * Indicates that RELAX NG compatibility processors should
-+ * treat this datatype as having IDREFS semantics.
-+ *
-+ * This value is one of the possible return values of the
-+ * {@link #getIdType} method.
-+ */
-+ public static final int ID_TYPE_IDREFS = 3;
-+
-+ /**
-+ * Checks if the ID/IDREF semantics is associated with this
-+ * datatype.
-+ *
-+ * <p>
-+ * This method is introduced to support the RELAX NG DTD
-+ * compatibility spec. (Of course it's always free to use
-+ * this method for other purposes.)
-+ *
-+ * <p>
-+ * If you are implementing a datatype library and have no idea about
-+ * the "RELAX NG DTD compatibility" thing, just return
-+ * <code>ID_TYPE_NULL</code> is fine.
-+ *
-+ * @return
-+ * If this datatype doesn't have any ID/IDREF semantics,
-+ * it returns {@link #ID_TYPE_NULL}. If it has such a semantics
-+ * (for example, XSD:ID, XSD:IDREF and comp:ID type), then
-+ * it returns {@link #ID_TYPE_ID}, {@link #ID_TYPE_IDREF} or
-+ * {@link #ID_TYPE_IDREFS}.
-+ */
-+ public int getIdType();
-+
-+
-+ /**
-+ * Checks if this datatype may need a context object for
-+ * the validation.
-+ *
-+ * <p>
-+ * The callee must return true even when the context
-+ * is not always necessary. (For example, the "QName" type
-+ * doesn't need a context object when validating unprefixed
-+ * string. But nonetheless QName must return true.)
-+ *
-+ * <p>
-+ * XSD's <code>string</code> and <code>short</code> types
-+ * are examples of context-independent datatypes.
-+ * Its <code>QName</code> and <code>ENTITY</code> types
-+ * are examples of context-dependent datatypes.
-+ *
-+ * <p>
-+ * When a datatype is context-independent, then
-+ * the {@link #isValid} method, the {@link #checkValid} method,
-+ * the {@link #createStreamingValidator} method and
-+ * the {@link #createValue} method can be called without
-+ * providing a context object.
-+ *
-+ * @return
-+ * <b>true</b> if this datatype is context-dependent
-+ * (it needs a context object sometimes);
-+ *
-+ * <b>false</b> if this datatype is context-<b>in</b>dependent
-+ * (it never needs a context object).
-+ */
-+ public boolean isContextDependent();
-+}
-Index: gcc-4.2.3/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java
-===================================================================
---- gcc-4.2.3.orig/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java 2006-03-10 14:25:35.000000000 +0100
-+++ gcc-4.2.3/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java 2008-05-21 13:45:54.366287774 +0200
-@@ -1,26 +1,26 @@
--package org.relaxng.datatype;\r
--\r
--/**\r
-- * Factory class for the DatatypeLibrary class.\r
-- * \r
-- * <p>\r
-- * The datatype library should provide the implementation of\r
-- * this interface if it wants to be found by the schema processors.\r
-- * The implementor also have to place a file in your jar file.\r
-- * See the reference datatype library implementation for detail.\r
-- * \r
-- * @author <a href="mailto:jjc@jclark.com">James Clark</a>\r
-- * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a>\r
-- */\r
--public interface DatatypeLibraryFactory\r
--{\r
-- /**\r
-- * Creates a new instance of a DatatypeLibrary that supports \r
-- * the specified namespace URI.\r
-- * \r
-- * @return\r
-- * <code>null</code> if the specified namespace URI is not\r
-- * supported. \r
-- */\r
-- DatatypeLibrary createDatatypeLibrary( String namespaceURI );\r
--}\r
-+package org.relaxng.datatype;
-+
-+/**
-+ * Factory class for the DatatypeLibrary class.
-+ *
-+ * <p>
-+ * The datatype library should provide the implementation of
-+ * this interface if it wants to be found by the schema processors.
-+ * The implementor also have to place a file in your jar file.
-+ * See the reference datatype library implementation for detail.
-+ *
-+ * @author <a href="mailto:jjc@jclark.com">James Clark</a>
-+ * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a>
-+ */
-+public interface DatatypeLibraryFactory
-+{
-+ /**
-+ * Creates a new instance of a DatatypeLibrary that supports
-+ * the specified namespace URI.
-+ *
-+ * @return
-+ * <code>null</code> if the specified namespace URI is not
-+ * supported.
-+ */
-+ DatatypeLibrary createDatatypeLibrary( String namespaceURI );
-+}
-Index: gcc-4.2.3/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java
-===================================================================
---- gcc-4.2.3.orig/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java 2006-03-10 14:25:35.000000000 +0100
-+++ gcc-4.2.3/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java 2008-05-21 13:45:54.366287774 +0200
-@@ -1,37 +1,37 @@
--package org.relaxng.datatype;\r
--\r
--/**\r
-- * A Datatype library\r
-- * \r
-- * @author <a href="mailto:jjc@jclark.com">James Clark</a>\r
-- * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a>\r
-- */\r
--public interface DatatypeLibrary {\r
-- \r
-- /**\r
-- * Creates a new instance of DatatypeBuilder.\r
-- * \r
-- * The callee should throw a DatatypeException in case of an error.\r
-- * \r
-- * @param baseTypeLocalName\r
-- * The local name of the base type.\r
-- * \r
-- * @return\r
-- * A non-null valid datatype object.\r
-- */\r
-- DatatypeBuilder createDatatypeBuilder( String baseTypeLocalName )\r
-- throws DatatypeException;\r
-- \r
-- /**\r
-- * Gets or creates a pre-defined type.\r
-- * \r
-- * This is just a short-cut of\r
-- * <code>createDatatypeBuilder(typeLocalName).createDatatype();</code>\r
-- * \r
-- * The callee should throw a DatatypeException in case of an error.\r
-- * \r
-- * @return\r
-- * A non-null valid datatype object.\r
-- */\r
-- Datatype createDatatype( String typeLocalName ) throws DatatypeException;\r
--}\r
-+package org.relaxng.datatype;
-+
-+/**
-+ * A Datatype library
-+ *
-+ * @author <a href="mailto:jjc@jclark.com">James Clark</a>
-+ * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a>
-+ */
-+public interface DatatypeLibrary {
-+
-+ /**
-+ * Creates a new instance of DatatypeBuilder.
-+ *
-+ * The callee should throw a DatatypeException in case of an error.
-+ *
-+ * @param baseTypeLocalName
-+ * The local name of the base type.
-+ *
-+ * @return
-+ * A non-null valid datatype object.
-+ */
-+ DatatypeBuilder createDatatypeBuilder( String baseTypeLocalName )
-+ throws DatatypeException;
-+
-+ /**
-+ * Gets or creates a pre-defined type.
-+ *
-+ * This is just a short-cut of
-+ * <code>createDatatypeBuilder(typeLocalName).createDatatype();</code>
-+ *
-+ * The callee should throw a DatatypeException in case of an error.
-+ *
-+ * @return
-+ * A non-null valid datatype object.
-+ */
-+ Datatype createDatatype( String typeLocalName ) throws DatatypeException;
-+}
-Index: gcc-4.2.3/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java
-===================================================================
---- gcc-4.2.3.orig/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java 2006-03-10 14:25:35.000000000 +0100
-+++ gcc-4.2.3/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java 2008-05-21 13:45:54.366287774 +0200
-@@ -1,46 +1,46 @@
--package org.relaxng.datatype;\r
--\r
--/**\r
-- * Datatype streaming validator.\r
-- * \r
-- * <p>\r
-- * The streaming validator is an optional feature that is useful for\r
-- * certain Datatypes. It allows the caller to incrementally provide\r
-- * the literal.\r
-- * \r
-- * @author <a href="mailto:jjc@jclark.com">James Clark</a>\r
-- * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a>\r
-- */\r
--public interface DatatypeStreamingValidator {\r
-- \r
-- /**\r
-- * Passes an additional fragment of the literal.\r
-- * \r
-- * <p>\r
-- * The application can call this method several times, then call\r
-- * the isValid method (or the checkValid method) to check the validity\r
-- * of the accumulated characters.\r
-- */\r
-- void addCharacters( char[] buf, int start, int len );\r
-- \r
-- /**\r
-- * Tells if the accumulated literal is valid with respect to\r
-- * the underlying Datatype.\r
-- * \r
-- * @return\r
-- * True if it is valid. False if otherwise.\r
-- */\r
-- boolean isValid();\r
-- \r
-- /**\r
-- * Similar to the isValid method, but this method throws\r
-- * Exception (with possibly diagnostic information), instead of\r
-- * returning false.\r
-- * \r
-- * @exception DatatypeException\r
-- * If the callee supports the diagnosis and the accumulated\r
-- * literal is invalid, then this exception that possibly\r
-- * contains diagnosis information is thrown.\r
-- */\r
-- void checkValid() throws DatatypeException;\r
--}\r
-+package org.relaxng.datatype;
-+
-+/**
-+ * Datatype streaming validator.
-+ *
-+ * <p>
-+ * The streaming validator is an optional feature that is useful for
-+ * certain Datatypes. It allows the caller to incrementally provide
-+ * the literal.
-+ *
-+ * @author <a href="mailto:jjc@jclark.com">James Clark</a>
-+ * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a>
-+ */
-+public interface DatatypeStreamingValidator {
-+
-+ /**
-+ * Passes an additional fragment of the literal.
-+ *
-+ * <p>
-+ * The application can call this method several times, then call
-+ * the isValid method (or the checkValid method) to check the validity
-+ * of the accumulated characters.
-+ */
-+ void addCharacters( char[] buf, int start, int len );
-+
-+ /**
-+ * Tells if the accumulated literal is valid with respect to
-+ * the underlying Datatype.
-+ *
-+ * @return
-+ * True if it is valid. False if otherwise.
-+ */
-+ boolean isValid();
-+
-+ /**
-+ * Similar to the isValid method, but this method throws
-+ * Exception (with possibly diagnostic information), instead of
-+ * returning false.
-+ *
-+ * @exception DatatypeException
-+ * If the callee supports the diagnosis and the accumulated
-+ * literal is invalid, then this exception that possibly
-+ * contains diagnosis information is thrown.
-+ */
-+ void checkValid() throws DatatypeException;
-+}
-Index: gcc-4.2.3/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java
-===================================================================
---- gcc-4.2.3.orig/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java 2006-03-10 14:25:35.000000000 +0100
-+++ gcc-4.2.3/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java 2008-05-21 13:45:54.370287167 +0200
-@@ -1,262 +1,262 @@
--/**\r
-- * Copyright (c) 2001, Thai Open Source Software Center Ltd\r
-- * All rights reserved.\r
-- * \r
-- * Redistribution and use in source and binary forms, with or without\r
-- * modification, are permitted provided that the following conditions are\r
-- * met:\r
-- * \r
-- * Redistributions of source code must retain the above copyright\r
-- * notice, this list of conditions and the following disclaimer.\r
-- * \r
-- * Redistributions in binary form must reproduce the above copyright\r
-- * notice, this list of conditions and the following disclaimer in\r
-- * the documentation and/or other materials provided with the\r
-- * distribution.\r
-- * \r
-- * Neither the name of the Thai Open Source Software Center Ltd nor\r
-- * the names of its contributors may be used to endorse or promote\r
-- * products derived from this software without specific prior written\r
-- * permission.\r
-- * \r
-- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\r
-- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\r
-- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\r
-- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR\r
-- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\r
-- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\r
-- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\r
-- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\r
-- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\r
-- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\r
-- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
-- */\r
--package org.relaxng.datatype.helpers;\r
--\r
--import org.relaxng.datatype.DatatypeLibraryFactory;\r
--import org.relaxng.datatype.DatatypeLibrary;\r
--import java.util.Enumeration;\r
--import java.util.NoSuchElementException;\r
--import java.util.Vector;\r
--import java.io.Reader;\r
--import java.io.InputStream;\r
--import java.io.InputStreamReader;\r
--import java.io.BufferedReader;\r
--import java.io.IOException;\r
--import java.io.UnsupportedEncodingException;\r
--import java.net.URL;\r
--\r
--/**\r
-- * Discovers the datatype library implementation from the classpath.\r
-- * \r
-- * <p>\r
-- * The call of the createDatatypeLibrary method finds an implementation\r
-- * from a given datatype library URI at run-time.\r
-- */\r
--public class DatatypeLibraryLoader implements DatatypeLibraryFactory {\r
-- private final Service service = new Service(DatatypeLibraryFactory.class);\r
--\r
-- public DatatypeLibrary createDatatypeLibrary(String uri) {\r
-- for (Enumeration e = service.getProviders();\r
-- e.hasMoreElements();) {\r
-- DatatypeLibraryFactory factory\r
-- = (DatatypeLibraryFactory)e.nextElement();\r
-- DatatypeLibrary library = factory.createDatatypeLibrary(uri);\r
-- if (library != null)\r
-- return library;\r
-- }\r
-- return null;\r
-- }\r
--\r
-- private static class Service {\r
-- private final Class serviceClass;\r
-- private final Enumeration configFiles;\r
-- private Enumeration classNames = null;\r
-- private final Vector providers = new Vector();\r
-- private Loader loader;\r
--\r
-- private class ProviderEnumeration implements Enumeration {\r
-- private int nextIndex = 0;\r
--\r
-- public boolean hasMoreElements() {\r
-- return nextIndex < providers.size() || moreProviders();\r
-- }\r
--\r
-- public Object nextElement() {\r
-- try {\r
-- return providers.elementAt(nextIndex++);\r
-- }\r
-- catch (ArrayIndexOutOfBoundsException e) {\r
-- throw new NoSuchElementException();\r
-- }\r
-- }\r
-- }\r
--\r
-- private static class Singleton implements Enumeration {\r
-- private Object obj;\r
-- private Singleton(Object obj) {\r
-- this.obj = obj;\r
-- }\r
--\r
-- public boolean hasMoreElements() {\r
-- return obj != null;\r
-- }\r
--\r
-- public Object nextElement() {\r
-- if (obj == null)\r
-- throw new NoSuchElementException();\r
-- Object tem = obj;\r
-- obj = null;\r
-- return tem;\r
-- }\r
-- }\r
--\r
-- // JDK 1.1\r
-- private static class Loader {\r
-- Enumeration getResources(String resName) {\r
-- ClassLoader cl = Loader.class.getClassLoader();\r
-- URL url;\r
-- if (cl == null)\r
-- url = ClassLoader.getSystemResource(resName);\r
-- else\r
-- url = cl.getResource(resName);\r
-- return new Singleton(url);\r
-- }\r
--\r
-- Class loadClass(String name) throws ClassNotFoundException {\r
-- return Class.forName(name);\r
-- }\r
-- }\r
--\r
-- // JDK 1.2+\r
-- private static class Loader2 extends Loader {\r
-- private ClassLoader cl;\r
--\r
-- Loader2() {\r
-- cl = Loader2.class.getClassLoader();\r
-- // If the thread context class loader has the class loader\r
-- // of this class as an ancestor, use the thread context class\r
-- // loader. Otherwise, the thread context class loader\r
-- // probably hasn't been set up properly, so don't use it.\r
-- ClassLoader clt = Thread.currentThread().getContextClassLoader();\r
-- for (ClassLoader tem = clt; tem != null; tem = tem.getParent())\r
-- if (tem == cl) {\r
-- cl = clt;\r
-- break;\r
-- }\r
-- }\r
--\r
-- Enumeration getResources(String resName) {\r
-- try {\r
-- return cl.getResources(resName);\r
-- }\r
-- catch (IOException e) {\r
-- return new Singleton(null);\r
-- }\r
-- }\r
--\r
-- Class loadClass(String name) throws ClassNotFoundException {\r
-- return Class.forName(name, true, cl);\r
-- }\r
-- }\r
--\r
-- public Service(Class cls) {\r
-- try {\r
-- loader = new Loader2();\r
-- }\r
-- catch (NoSuchMethodError e) {\r
-- loader = new Loader();\r
-- }\r
-- serviceClass = cls;\r
-- String resName = "META-INF/services/" + serviceClass.getName();\r
-- configFiles = loader.getResources(resName);\r
-- }\r
--\r
-- public Enumeration getProviders() {\r
-- return new ProviderEnumeration();\r
-- }\r
--\r
-- synchronized private boolean moreProviders() {\r
-- for (;;) {\r
-- while (classNames == null) {\r
-- if (!configFiles.hasMoreElements())\r
-- return false;\r
-- classNames = parseConfigFile((URL)configFiles.nextElement());\r
-- }\r
-- while (classNames.hasMoreElements()) {\r
-- String className = (String)classNames.nextElement();\r
-- try {\r
-- Class cls = loader.loadClass(className);\r
-- Object obj = cls.newInstance();\r
-- if (serviceClass.isInstance(obj)) {\r
-- providers.addElement(obj);\r
-- return true;\r
-- }\r
-- }\r
-- catch (ClassNotFoundException e) { }\r
-- catch (InstantiationException e) { }\r
-- catch (IllegalAccessException e) { }\r
-- catch (LinkageError e) { }\r
-- }\r
-- classNames = null;\r
-- }\r
-- }\r
--\r
-- private static final int START = 0;\r
-- private static final int IN_NAME = 1;\r
-- private static final int IN_COMMENT = 2;\r
--\r
-- private static Enumeration parseConfigFile(URL url) {\r
-- try {\r
-- InputStream in = url.openStream();\r
-- Reader r;\r
-- try {\r
-- r = new InputStreamReader(in, "UTF-8");\r
-- }\r
-- catch (UnsupportedEncodingException e) {\r
-- r = new InputStreamReader(in, "UTF8");\r
-- }\r
-- r = new BufferedReader(r);\r
-- Vector tokens = new Vector();\r
-- StringBuffer tokenBuf = new StringBuffer();\r
-- int state = START;\r
-- for (;;) {\r
-- int n = r.read();\r
-- if (n < 0)\r
-- break;\r
-- char c = (char)n;\r
-- switch (c) {\r
-- case '\r':\r
-- case '\n':\r
-- state = START;\r
-- break;\r
-- case ' ':\r
-- case '\t':\r
-- break;\r
-- case '#':\r
-- state = IN_COMMENT;\r
-- break;\r
-- default:\r
-- if (state != IN_COMMENT) {\r
-- state = IN_NAME;\r
-- tokenBuf.append(c);\r
-- }\r
-- break;\r
-- }\r
-- if (tokenBuf.length() != 0 && state != IN_NAME) {\r
-- tokens.addElement(tokenBuf.toString());\r
-- tokenBuf.setLength(0);\r
-- }\r
-- }\r
-- if (tokenBuf.length() != 0)\r
-- tokens.addElement(tokenBuf.toString());\r
-- return tokens.elements();\r
-- }\r
-- catch (IOException e) {\r
-- return null;\r
-- }\r
-- }\r
-- }\r
-- \r
--}\r
--\r
-+/**
-+ * Copyright (c) 2001, Thai Open Source Software Center Ltd
-+ * All rights reserved.
-+ *
-+ * Redistribution and use in source and binary forms, with or without
-+ * modification, are permitted provided that the following conditions are
-+ * met:
-+ *
-+ * Redistributions of source code must retain the above copyright
-+ * notice, this list of conditions and the following disclaimer.
-+ *
-+ * 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.
-+ *
-+ * Neither the name of the Thai Open Source Software Center Ltd nor
-+ * the names of its contributors may be used to endorse or promote
-+ * products derived from this software without specific prior written
-+ * permission.
-+ *
-+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-+ * "AS IS" AND ANY EXPRESS 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 REGENTS OR
-+ * 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.
-+ */
-+package org.relaxng.datatype.helpers;
-+
-+import org.relaxng.datatype.DatatypeLibraryFactory;
-+import org.relaxng.datatype.DatatypeLibrary;
-+import java.util.Enumeration;
-+import java.util.NoSuchElementException;
-+import java.util.Vector;
-+import java.io.Reader;
-+import java.io.InputStream;
-+import java.io.InputStreamReader;
-+import java.io.BufferedReader;
-+import java.io.IOException;
-+import java.io.UnsupportedEncodingException;
-+import java.net.URL;
-+
-+/**
-+ * Discovers the datatype library implementation from the classpath.
-+ *
-+ * <p>
-+ * The call of the createDatatypeLibrary method finds an implementation
-+ * from a given datatype library URI at run-time.
-+ */
-+public class DatatypeLibraryLoader implements DatatypeLibraryFactory {
-+ private final Service service = new Service(DatatypeLibraryFactory.class);
-+
-+ public DatatypeLibrary createDatatypeLibrary(String uri) {
-+ for (Enumeration e = service.getProviders();
-+ e.hasMoreElements();) {
-+ DatatypeLibraryFactory factory
-+ = (DatatypeLibraryFactory)e.nextElement();
-+ DatatypeLibrary library = factory.createDatatypeLibrary(uri);
-+ if (library != null)
-+ return library;
-+ }
-+ return null;
-+ }
-+
-+ private static class Service {
-+ private final Class serviceClass;
-+ private final Enumeration configFiles;
-+ private Enumeration classNames = null;
-+ private final Vector providers = new Vector();
-+ private Loader loader;
-+
-+ private class ProviderEnumeration implements Enumeration {
-+ private int nextIndex = 0;
-+
-+ public boolean hasMoreElements() {
-+ return nextIndex < providers.size() || moreProviders();
-+ }
-+
-+ public Object nextElement() {
-+ try {
-+ return providers.elementAt(nextIndex++);
-+ }
-+ catch (ArrayIndexOutOfBoundsException e) {
-+ throw new NoSuchElementException();
-+ }
-+ }
-+ }
-+
-+ private static class Singleton implements Enumeration {
-+ private Object obj;
-+ private Singleton(Object obj) {
-+ this.obj = obj;
-+ }
-+
-+ public boolean hasMoreElements() {
-+ return obj != null;
-+ }
-+
-+ public Object nextElement() {
-+ if (obj == null)
-+ throw new NoSuchElementException();
-+ Object tem = obj;
-+ obj = null;
-+ return tem;
-+ }
-+ }
-+
-+ // JDK 1.1
-+ private static class Loader {
-+ Enumeration getResources(String resName) {
-+ ClassLoader cl = Loader.class.getClassLoader();
-+ URL url;
-+ if (cl == null)
-+ url = ClassLoader.getSystemResource(resName);
-+ else
-+ url = cl.getResource(resName);
-+ return new Singleton(url);
-+ }
-+
-+ Class loadClass(String name) throws ClassNotFoundException {
-+ return Class.forName(name);
-+ }
-+ }
-+
-+ // JDK 1.2+
-+ private static class Loader2 extends Loader {
-+ private ClassLoader cl;
-+
-+ Loader2() {
-+ cl = Loader2.class.getClassLoader();
-+ // If the thread context class loader has the class loader
-+ // of this class as an ancestor, use the thread context class
-+ // loader. Otherwise, the thread context class loader
-+ // probably hasn't been set up properly, so don't use it.
-+ ClassLoader clt = Thread.currentThread().getContextClassLoader();
-+ for (ClassLoader tem = clt; tem != null; tem = tem.getParent())
-+ if (tem == cl) {
-+ cl = clt;
-+ break;
-+ }
-+ }
-+
-+ Enumeration getResources(String resName) {
-+ try {
-+ return cl.getResources(resName);
-+ }
-+ catch (IOException e) {
-+ return new Singleton(null);
-+ }
-+ }
-+
-+ Class loadClass(String name) throws ClassNotFoundException {
-+ return Class.forName(name, true, cl);
-+ }
-+ }
-+
-+ public Service(Class cls) {
-+ try {
-+ loader = new Loader2();
-+ }
-+ catch (NoSuchMethodError e) {
-+ loader = new Loader();
-+ }
-+ serviceClass = cls;
-+ String resName = "META-INF/services/" + serviceClass.getName();
-+ configFiles = loader.getResources(resName);
-+ }
-+
-+ public Enumeration getProviders() {
-+ return new ProviderEnumeration();
-+ }
-+
-+ synchronized private boolean moreProviders() {
-+ for (;;) {
-+ while (classNames == null) {
-+ if (!configFiles.hasMoreElements())
-+ return false;
-+ classNames = parseConfigFile((URL)configFiles.nextElement());
-+ }
-+ while (classNames.hasMoreElements()) {
-+ String className = (String)classNames.nextElement();
-+ try {
-+ Class cls = loader.loadClass(className);
-+ Object obj = cls.newInstance();
-+ if (serviceClass.isInstance(obj)) {
-+ providers.addElement(obj);
-+ return true;
-+ }
-+ }
-+ catch (ClassNotFoundException e) { }
-+ catch (InstantiationException e) { }
-+ catch (IllegalAccessException e) { }
-+ catch (LinkageError e) { }
-+ }
-+ classNames = null;
-+ }
-+ }
-+
-+ private static final int START = 0;
-+ private static final int IN_NAME = 1;
-+ private static final int IN_COMMENT = 2;
-+
-+ private static Enumeration parseConfigFile(URL url) {
-+ try {
-+ InputStream in = url.openStream();
-+ Reader r;
-+ try {
-+ r = new InputStreamReader(in, "UTF-8");
-+ }
-+ catch (UnsupportedEncodingException e) {
-+ r = new InputStreamReader(in, "UTF8");
-+ }
-+ r = new BufferedReader(r);
-+ Vector tokens = new Vector();
-+ StringBuffer tokenBuf = new StringBuffer();
-+ int state = START;
-+ for (;;) {
-+ int n = r.read();
-+ if (n < 0)
-+ break;
-+ char c = (char)n;
-+ switch (c) {
-+ case '\r':
-+ case '\n':
-+ state = START;
-+ break;
-+ case ' ':
-+ case '\t':
-+ break;
-+ case '#':
-+ state = IN_COMMENT;
-+ break;
-+ default:
-+ if (state != IN_COMMENT) {
-+ state = IN_NAME;
-+ tokenBuf.append(c);
-+ }
-+ break;
-+ }
-+ if (tokenBuf.length() != 0 && state != IN_NAME) {
-+ tokens.addElement(tokenBuf.toString());
-+ tokenBuf.setLength(0);
-+ }
-+ }
-+ if (tokenBuf.length() != 0)
-+ tokens.addElement(tokenBuf.toString());
-+ return tokens.elements();
-+ }
-+ catch (IOException e) {
-+ return null;
-+ }
-+ }
-+ }
-+
-+}
-+
-Index: gcc-4.2.3/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java
-===================================================================
---- gcc-4.2.3.orig/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java 2006-03-10 14:25:35.000000000 +0100
-+++ gcc-4.2.3/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java 2008-05-21 13:45:54.370287167 +0200
-@@ -1,42 +1,42 @@
--package org.relaxng.datatype.helpers;\r
--\r
--import org.relaxng.datatype.*;\r
--\r
--/**\r
-- * Dummy implementation of {@link DatatypeBuilder}.\r
-- * \r
-- * This implementation can be used for Datatypes which have no parameters.\r
-- * Any attempt to add parameters will be rejected.\r
-- * \r
-- * <p>\r
-- * Typical usage would be:\r
-- * <PRE><XMP>\r
-- * class MyDatatypeLibrary implements DatatypeLibrary {\r
-- * ....\r
-- * DatatypeBuilder createDatatypeBuilder( String typeName ) {\r
-- * return new ParameterleessDatatypeBuilder(createDatatype(typeName));\r
-- * }\r
-- * ....\r
-- * }\r
-- * </XMP></PRE>\r
-- * \r
-- * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a>\r
-- */\r
--public final class ParameterlessDatatypeBuilder implements DatatypeBuilder {\r
--\r
-- /** This type object is returned for the derive method. */\r
-- private final Datatype baseType;\r
-- \r
-- public ParameterlessDatatypeBuilder( Datatype baseType ) {\r
-- this.baseType = baseType;\r
-- }\r
-- \r
-- public void addParameter( String name, String strValue, ValidationContext context )\r
-- throws DatatypeException {\r
-- throw new DatatypeException();\r
-- }\r
-- \r
-- public Datatype createDatatype() throws DatatypeException {\r
-- return baseType;\r
-- }\r
--}\r
-+package org.relaxng.datatype.helpers;
-+
-+import org.relaxng.datatype.*;
-+
-+/**
-+ * Dummy implementation of {@link DatatypeBuilder}.
-+ *
-+ * This implementation can be used for Datatypes which have no parameters.
-+ * Any attempt to add parameters will be rejected.
-+ *
-+ * <p>
-+ * Typical usage would be:
-+ * <PRE><XMP>
-+ * class MyDatatypeLibrary implements DatatypeLibrary {
-+ * ....
-+ * DatatypeBuilder createDatatypeBuilder( String typeName ) {
-+ * return new ParameterleessDatatypeBuilder(createDatatype(typeName));
-+ * }
-+ * ....
-+ * }
-+ * </XMP></PRE>
-+ *
-+ * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a>
-+ */
-+public final class ParameterlessDatatypeBuilder implements DatatypeBuilder {
-+
-+ /** This type object is returned for the derive method. */
-+ private final Datatype baseType;
-+
-+ public ParameterlessDatatypeBuilder( Datatype baseType ) {
-+ this.baseType = baseType;
-+ }
-+
-+ public void addParameter( String name, String strValue, ValidationContext context )
-+ throws DatatypeException {
-+ throw new DatatypeException();
-+ }
-+
-+ public Datatype createDatatype() throws DatatypeException {
-+ return baseType;
-+ }
-+}
-Index: gcc-4.2.3/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java
-===================================================================
---- gcc-4.2.3.orig/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java 2006-03-10 14:25:35.000000000 +0100
-+++ gcc-4.2.3/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java 2008-05-21 13:45:54.370287167 +0200
-@@ -1,55 +1,55 @@
--package org.relaxng.datatype.helpers;\r
--\r
--import org.relaxng.datatype.*;\r
--\r
--/**\r
-- * Dummy implementation of {@link DatatypeStreamingValidator}.\r
-- * \r
-- * <p>\r
-- * This implementation can be used as a quick hack when the performance\r
-- * of streaming validation is not important. And this implementation\r
-- * also shows you how to implement the DatatypeStreamingValidator interface.\r
-- * \r
-- * <p>\r
-- * Typical usage would be:\r
-- * <PRE><XMP>\r
-- * class MyDatatype implements Datatype {\r
-- * ....\r
-- * public DatatypeStreamingValidator createStreamingValidator( ValidationContext context ) {\r
-- * return new StreamingValidatorImpl(this,context);\r
-- * }\r
-- * ....\r
-- * }\r
-- * </XMP></PRE>\r
-- * \r
-- * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a>\r
-- */\r
--public final class StreamingValidatorImpl implements DatatypeStreamingValidator {\r
-- \r
-- /** This buffer accumulates characters. */\r
-- private final StringBuffer buffer = new StringBuffer();\r
-- \r
-- /** Datatype obejct that creates this streaming validator. */\r
-- private final Datatype baseType;\r
-- \r
-- /** The current context. */\r
-- private final ValidationContext context;\r
-- \r
-- public void addCharacters( char[] buf, int start, int len ) {\r
-- // append characters to the current buffer.\r
-- buffer.append(buf,start,len);\r
-- }\r
-- \r
-- public boolean isValid() {\r
-- return baseType.isValid(buffer.toString(),context);\r
-- }\r
-- \r
-- public void checkValid() throws DatatypeException {\r
-- baseType.checkValid(buffer.toString(),context);\r
-- }\r
-- \r
-- public StreamingValidatorImpl( Datatype baseType, ValidationContext context ) {\r
-- this.baseType = baseType;\r
-- this.context = context;\r
-- }\r
--}\r
-+package org.relaxng.datatype.helpers;
-+
-+import org.relaxng.datatype.*;
-+
-+/**
-+ * Dummy implementation of {@link DatatypeStreamingValidator}.
-+ *
-+ * <p>
-+ * This implementation can be used as a quick hack when the performance
-+ * of streaming validation is not important. And this implementation
-+ * also shows you how to implement the DatatypeStreamingValidator interface.
-+ *
-+ * <p>
-+ * Typical usage would be:
-+ * <PRE><XMP>
-+ * class MyDatatype implements Datatype {
-+ * ....
-+ * public DatatypeStreamingValidator createStreamingValidator( ValidationContext context ) {
-+ * return new StreamingValidatorImpl(this,context);
-+ * }
-+ * ....
-+ * }
-+ * </XMP></PRE>
-+ *
-+ * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a>
-+ */
-+public final class StreamingValidatorImpl implements DatatypeStreamingValidator {
-+
-+ /** This buffer accumulates characters. */
-+ private final StringBuffer buffer = new StringBuffer();
-+
-+ /** Datatype obejct that creates this streaming validator. */
-+ private final Datatype baseType;
-+
-+ /** The current context. */
-+ private final ValidationContext context;
-+
-+ public void addCharacters( char[] buf, int start, int len ) {
-+ // append characters to the current buffer.
-+ buffer.append(buf,start,len);
-+ }
-+
-+ public boolean isValid() {
-+ return baseType.isValid(buffer.toString(),context);
-+ }
-+
-+ public void checkValid() throws DatatypeException {
-+ baseType.checkValid(buffer.toString(),context);
-+ }
-+
-+ public StreamingValidatorImpl( Datatype baseType, ValidationContext context ) {
-+ this.baseType = baseType;
-+ this.context = context;
-+ }
-+}
-Index: gcc-4.2.3/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java
-===================================================================
---- gcc-4.2.3.orig/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java 2006-03-10 14:25:35.000000000 +0100
-+++ gcc-4.2.3/libjava/classpath/external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java 2008-05-21 13:45:54.370287167 +0200
-@@ -1,66 +1,66 @@
--package org.relaxng.datatype;\r
--\r
--/**\r
-- * An interface that must be implemented by caller to\r
-- * provide context information that is necessary to \r
-- * perform validation of some Datatypes.\r
-- * \r
-- * @author <a href="mailto:jjc@jclark.com">James Clark</a>\r
-- * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a>\r
-- */\r
--public interface ValidationContext {\r
-- \r
-- /**\r
-- * Resolves a namespace prefix to the corresponding namespace URI.\r
-- * \r
-- * This method is used for validating the QName type, for example.\r
-- *\r
-- * <p>\r
-- * If the prefix is "" (empty string), it indicates\r
-- * an unprefixed value. The callee\r
-- * should resolve it as for an unprefixed\r
-- * element, rather than for an unprefixed attribute.\r
-- * \r
-- * <p>\r
-- * If the prefix is "xml", then the callee must resolve\r
-- * this prefix into "http://www.w3.org/XML/1998/namespace",\r
-- * as defined in the XML Namespaces Recommendation.\r
-- * \r
-- * @return\r
-- * namespace URI of this prefix.\r
-- * If the specified prefix is not declared,\r
-- * the implementation must return null.\r
-- */\r
-- String resolveNamespacePrefix( String prefix );\r
--\r
-- /**\r
-- * Returns the base URI of the context. The null string may be returned\r
-- * if no base URI is known.\r
-- */\r
-- String getBaseUri();\r
--\r
-- /**\r
-- * Checks if an unparsed entity is declared with the\r
-- * specified name.\r
-- * \r
-- * @return\r
-- * true\r
-- * if the DTD has an unparsed entity declaration for\r
-- * the specified name.\r
-- * false\r
-- * otherwise.\r
-- */\r
-- boolean isUnparsedEntity( String entityName );\r
--\r
-- /**\r
-- * Checks if a notation is declared with the\r
-- * specified name.\r
-- * \r
-- * @return\r
-- * true\r
-- * if the DTD has a notation declaration for the specified name.\r
-- * false\r
-- * otherwise.\r
-- */\r
-- boolean isNotation( String notationName );\r
--}\r
-+package org.relaxng.datatype;
-+
-+/**
-+ * An interface that must be implemented by caller to
-+ * provide context information that is necessary to
-+ * perform validation of some Datatypes.
-+ *
-+ * @author <a href="mailto:jjc@jclark.com">James Clark</a>
-+ * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a>
-+ */
-+public interface ValidationContext {
-+
-+ /**
-+ * Resolves a namespace prefix to the corresponding namespace URI.
-+ *
-+ * This method is used for validating the QName type, for example.
-+ *
-+ * <p>
-+ * If the prefix is "" (empty string), it indicates
-+ * an unprefixed value. The callee
-+ * should resolve it as for an unprefixed
-+ * element, rather than for an unprefixed attribute.
-+ *
-+ * <p>
-+ * If the prefix is "xml", then the callee must resolve
-+ * this prefix into "http://www.w3.org/XML/1998/namespace",
-+ * as defined in the XML Namespaces Recommendation.
-+ *
-+ * @return
-+ * namespace URI of this prefix.
-+ * If the specified prefix is not declared,
-+ * the implementation must return null.
-+ */
-+ String resolveNamespacePrefix( String prefix );
-+
-+ /**
-+ * Returns the base URI of the context. The null string may be returned
-+ * if no base URI is known.
-+ */
-+ String getBaseUri();
-+
-+ /**
-+ * Checks if an unparsed entity is declared with the
-+ * specified name.
-+ *
-+ * @return
-+ * true
-+ * if the DTD has an unparsed entity declaration for
-+ * the specified name.
-+ * false
-+ * otherwise.
-+ */
-+ boolean isUnparsedEntity( String entityName );
-+
-+ /**
-+ * Checks if a notation is declared with the
-+ * specified name.
-+ *
-+ * @return
-+ * true
-+ * if the DTD has a notation declaration for the specified name.
-+ * false
-+ * otherwise.
-+ */
-+ boolean isNotation( String notationName );
-+}
-Index: gcc-4.2.3/libjava/classpath/external/relaxngDatatype/README.txt
-===================================================================
---- gcc-4.2.3.orig/libjava/classpath/external/relaxngDatatype/README.txt 2006-03-10 14:25:35.000000000 +0100
-+++ gcc-4.2.3/libjava/classpath/external/relaxngDatatype/README.txt 2008-05-21 13:45:54.370287167 +0200
-@@ -1,54 +1,54 @@
--======================================================================\r
-- README FILE FOR DATATYPE INTERFACES FOR RELAX NG\r
--======================================================================\r
--\r
--\r
--\r
--RELAX NG supports multiple datatype vocabularies. To achive this, an\r
--interface between datatype vocabularies and schema processors is \r
--necessary. This interface is intended to be a standard Java interface\r
--for this purpose.\r
--\r
--\r
------------------------------------------------------------------------\r
--LICENSE\r
------------------------------------------------------------------------\r
--\r
--See copying.txt.\r
--\r
--Note: this license is the BSD license.\r
--\r
--\r
--\r
------------------------------------------------------------------------\r
--FOR DEVELOPER\r
------------------------------------------------------------------------\r
--\r
--If you are planning to implement a datatype library, A sample datatype\r
--library implementation by James Clark is available at [1], which\r
--comes with documentation and source code.\r
--\r
--If you are planning to implement a schema processor, then don't forget\r
--to check out org.relaxng.datatype.helpers.DatatypeLibraryLoader, as \r
--this allows you to dynamically locate datatype implementations.\r
--\r
--\r
------------------------------------------------------------------------\r
--LINKS\r
------------------------------------------------------------------------\r
--\r
--* OASIS RELAX NG TC\r
-- http://www.oasis-open.org/committees/relax-ng/\r
--* RELAX home page\r
-- http://www.xml.gr.jp/relax/\r
--\r
--\r
------------------------------------------------------------------------\r
--REFERENCES\r
------------------------------------------------------------------------\r
--[1] Sample datatype library implementation by James Clark\r
-- http://www.thaiopensource.com/relaxng/datatype-sample.zip\r
--\r
--Document written by Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)\r
--======================================================================\r
--END OF README\r
-+======================================================================
-+ README FILE FOR DATATYPE INTERFACES FOR RELAX NG
-+======================================================================
-+
-+
-+
-+RELAX NG supports multiple datatype vocabularies. To achive this, an
-+interface between datatype vocabularies and schema processors is
-+necessary. This interface is intended to be a standard Java interface
-+for this purpose.
-+
-+
-+----------------------------------------------------------------------
-+LICENSE
-+----------------------------------------------------------------------
-+
-+See copying.txt.
-+
-+Note: this license is the BSD license.
-+
-+
-+
-+----------------------------------------------------------------------
-+FOR DEVELOPER
-+----------------------------------------------------------------------
-+
-+If you are planning to implement a datatype library, A sample datatype
-+library implementation by James Clark is available at [1], which
-+comes with documentation and source code.
-+
-+If you are planning to implement a schema processor, then don't forget
-+to check out org.relaxng.datatype.helpers.DatatypeLibraryLoader, as
-+this allows you to dynamically locate datatype implementations.
-+
-+
-+----------------------------------------------------------------------
-+LINKS
-+----------------------------------------------------------------------
-+
-+* OASIS RELAX NG TC
-+ http://www.oasis-open.org/committees/relax-ng/
-+* RELAX home page
-+ http://www.xml.gr.jp/relax/
-+
-+
-+----------------------------------------------------------------------
-+REFERENCES
-+----------------------------------------------------------------------
-+[1] Sample datatype library implementation by James Clark
-+ http://www.thaiopensource.com/relaxng/datatype-sample.zip
-+
-+Document written by Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-+======================================================================
-+END OF README
-Index: gcc-4.2.3/libstdc++-v3/config/os/gnu-linux/ctype_base.h
-===================================================================
---- gcc-4.2.3.orig/libstdc++-v3/config/os/gnu-linux/ctype_base.h 2006-12-01 13:56:23.000000000 +0100
-+++ gcc-4.2.3/libstdc++-v3/config/os/gnu-linux/ctype_base.h 2008-05-21 13:45:54.370287167 +0200
-@@ -31,6 +31,8 @@
- //
- // ISO C++ 14882: 22.1 Locales
- //
-+#include <features.h>
-+#include <ctype.h>
-
- /** @file ctype_base.h
- * This is an internal header file, included by other library headers.
-@@ -45,8 +47,12 @@
- struct ctype_base
- {
- // Non-standard typedefs.
-- typedef const int* __to_type;
--
-+#ifdef __UCLIBC__
-+ typedef const __ctype_touplow_t* __to_type;
-+#else
-+ typedef const int* __to_type;
-+#endif
-+
- // NB: Offsets into ctype<char>::_M_table force a particular size
- // on the mask type. Because of this, we don't use an enum.
- typedef unsigned short mask;
-Index: gcc-4.2.3/libstdc++-v3/include/Makefile.in
-===================================================================
---- gcc-4.2.3.orig/libstdc++-v3/include/Makefile.in 2007-07-05 13:46:00.000000000 +0200
-+++ gcc-4.2.3/libstdc++-v3/include/Makefile.in 2008-05-21 13:45:54.374287956 +0200
-@@ -36,6 +36,7 @@