xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mk...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xml/res XMLErrorResources.java XMLErrorResources_de.java XMLErrorResources_en.java XMLErrorResources_es.java XMLErrorResources_fr.java XMLErrorResources_it.java XMLErrorResources_ja.java XMLErrorResources_ko.java XMLErrorResources_sv.java XMLErrorResources_zh_CN.java XMLErrorResources_zh_TW.java XMLMessages.java
Date Wed, 22 Jan 2003 16:02:34 GMT
mkwan       2003/01/22 08:02:34

  Added:       java/src/org/apache/xml/res XMLErrorResources.java
                        XMLErrorResources_de.java XMLErrorResources_en.java
                        XMLErrorResources_es.java XMLErrorResources_fr.java
                        XMLErrorResources_it.java XMLErrorResources_ja.java
                        XMLErrorResources_ko.java XMLErrorResources_sv.java
                        XMLErrorResources_zh_CN.java
                        XMLErrorResources_zh_TW.java XMLMessages.java
  Log:
  DTM Separation -- New message files
  Move the error messages used by DTM classes from Xalan and XPath
  down to org.apache.xml.res. Created XMLErrorResources files for
  all locales. The XMLMessages class is introduced to handle error
  resources at this level. If a DTM interface needs to issue an error
  message, it will use the new XMLMessages class rather than the
  XSLMessages class in org.apache.xalan.res.
  
  Revision  Changes    Path
  1.1                  xml-xalan/java/src/org/apache/xml/res/XMLErrorResources.java
  
  Index: XMLErrorResources.java
  ===================================================================
  /*
   * 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 "Xalan" 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, Lotus
   * Development Corporation., http://www.lotus.com.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   */
  package org.apache.xml.res;
  
  
  import java.util.MissingResourceException;
  import java.util.Locale;
  import java.util.ResourceBundle;
  import java.util.ListResourceBundle;
  
  import java.text.DecimalFormat;
  
  /**
   * Set up error messages.
   * We build a two dimensional array of message keys and
   * message strings. In order to add a new message here,
   * you need to first add a String constant. And you need
   * to enter key, value pair as part of the contents
   * array. You also need to update MAX_CODE for error strings
   * and MAX_WARNING for warnings ( Needed for only information
   * purpose )
   */
  public class XMLErrorResources extends ListResourceBundle
  {
  
  /*
   * This file contains error and warning messages related to Xalan Error
   * Handling.
   *
   *  General notes to translators:
   *
   *  1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of
   *     components.
   *     XSLT is an acronym for "XML Stylesheet Language: Transformations".
   *     XSLTC is an acronym for XSLT Compiler.
   *
   *  2) A stylesheet is a description of how to transform an input XML document
   *     into a resultant XML document (or HTML document or text).  The
   *     stylesheet itself is described in the form of an XML document.
   *
   *  3) A template is a component of a stylesheet that is used to match a
   *     particular portion of an input document and specifies the form of the
   *     corresponding portion of the output document.
   *
   *  4) An element is a mark-up tag in an XML document; an attribute is a
   *     modifier on the tag.  For example, in <elem attr='val' attr2='val2'>
   *     "elem" is an element name, "attr" and "attr2" are attribute names with
   *     the values "val" and "val2", respectively.
   *
   *  5) A namespace declaration is a special attribute that is used to associate
   *     a prefix with a URI (the namespace).  The meanings of element names and
   *     attribute names that use that prefix are defined with respect to that
   *     namespace.
   *
   *  6) "Translet" is an invented term that describes the class file that
   *     results from compiling an XML stylesheet into a Java class.
   *
   *  7) XPath is a specification that describes a notation for identifying
   *     nodes in a tree-structured representation of an XML document.  An
   *     instance of that notation is referred to as an XPath expression.
   *
   */
  
    /** Maximum error messages, this is needed to keep track of the number of messages.    */
    public static final int MAX_CODE = 61;
  
    /** Maximum warnings, this is needed to keep track of the number of warnings.          */
    public static final int MAX_WARNING = 0;
  
    /** Maximum misc strings.   */
    public static final int MAX_OTHERS = 4;
  
    /** Maximum total warnings and error messages.          */
    public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
  
  
    /* 
     * Message keys
     */
    public static final String ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED";
    public static final String ER_CANNOT_OVERWRITE_CAUSE = "ER_CANNOT_OVERWRITE_CAUSE";
    public static final String ER_NO_DEFAULT_IMPL = "ER_NO_DEFAULT_IMPL";
    public static final String ER_CHUNKEDINTARRAY_NOT_SUPPORTED = "ER_CHUNKEDINTARRAY_NOT_SUPPORTED";
    public static final String ER_OFFSET_BIGGER_THAN_SLOT = "ER_OFFSET_BIGGER_THAN_SLOT";
    public static final String ER_COROUTINE_NOT_AVAIL = "ER_COROUTINE_NOT_AVAIL";
    public static final String ER_COROUTINE_CO_EXIT = "ER_COROUTINE_CO_EXIT";
    public static final String ER_COJOINROUTINESET_FAILED = "ER_COJOINROUTINESET_FAILED";
    public static final String ER_COROUTINE_PARAM = "ER_COROUTINE_PARAM";
    public static final String ER_PARSER_DOTERMINATE_ANSWERS = "ER_PARSER_DOTERMINATE_ANSWERS";
    public static final String ER_NO_PARSE_CALL_WHILE_PARSING = "ER_NO_PARSE_CALL_WHILE_PARSING";
    public static final String ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED";
    public static final String ER_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_ITERATOR_AXIS_NOT_IMPLEMENTED";
    public static final String ER_ITERATOR_CLONE_NOT_SUPPORTED = "ER_ITERATOR_CLONE_NOT_SUPPORTED";
    public static final String ER_UNKNOWN_AXIS_TYPE = "ER_UNKNOWN_AXIS_TYPE";
    public static final String ER_AXIS_NOT_SUPPORTED = "ER_AXIS_NOT_SUPPORTED";
    public static final String ER_NO_DTMIDS_AVAIL = "ER_NO_DTMIDS_AVAIL";
    public static final String ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED";
    public static final String ER_NODE_NON_NULL = "ER_NODE_NON_NULL";
    public static final String ER_COULD_NOT_RESOLVE_NODE = "ER_COULD_NOT_RESOLVE_NODE";
    public static final String ER_STARTPARSE_WHILE_PARSING = "ER_STARTPARSE_WHILE_PARSING";
    public static final String ER_STARTPARSE_NEEDS_SAXPARSER = "ER_STARTPARSE_NEEDS_SAXPARSER";
    public static final String ER_COULD_NOT_INIT_PARSER = "ER_COULD_NOT_INIT_PARSER";
    public static final String ER_EXCEPTION_CREATING_POOL = "ER_EXCEPTION_CREATING_POOL";
    public static final String ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = "ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE";
    public static final String ER_SCHEME_REQUIRED = "ER_SCHEME_REQUIRED";
    public static final String ER_NO_SCHEME_IN_URI = "ER_NO_SCHEME_IN_URI";
    public static final String ER_NO_SCHEME_INURI = "ER_NO_SCHEME_INURI";
    public static final String ER_PATH_INVALID_CHAR = "ER_PATH_INVALID_CHAR";
    public static final String ER_SCHEME_FROM_NULL_STRING = "ER_SCHEME_FROM_NULL_STRING";
    public static final String ER_SCHEME_NOT_CONFORMANT = "ER_SCHEME_NOT_CONFORMANT";
    public static final String ER_HOST_ADDRESS_NOT_WELLFORMED = "ER_HOST_ADDRESS_NOT_WELLFORMED";
    public static final String ER_PORT_WHEN_HOST_NULL = "ER_PORT_WHEN_HOST_NULL";
    public static final String ER_INVALID_PORT = "ER_INVALID_PORT";
    public static final String ER_FRAG_FOR_GENERIC_URI ="ER_FRAG_FOR_GENERIC_URI";
    public static final String ER_FRAG_WHEN_PATH_NULL = "ER_FRAG_WHEN_PATH_NULL";
    public static final String ER_FRAG_INVALID_CHAR = "ER_FRAG_INVALID_CHAR";
    public static final String ER_PARSER_IN_USE = "ER_PARSER_IN_USE";
    public static final String ER_CANNOT_CHANGE_WHILE_PARSING = "ER_CANNOT_CHANGE_WHILE_PARSING";
    public static final String ER_SELF_CAUSATION_NOT_PERMITTED = "ER_SELF_CAUSATION_NOT_PERMITTED";
    public static final String ER_NO_USERINFO_IF_NO_HOST = "ER_NO_USERINFO_IF_NO_HOST";
    public static final String ER_NO_PORT_IF_NO_HOST = "ER_NO_PORT_IF_NO_HOST";
    public static final String ER_NO_QUERY_STRING_IN_PATH = "ER_NO_QUERY_STRING_IN_PATH";
    public static final String ER_NO_FRAGMENT_STRING_IN_PATH = "ER_NO_FRAGMENT_STRING_IN_PATH";
    public static final String ER_CANNOT_INIT_URI_EMPTY_PARMS = "ER_CANNOT_INIT_URI_EMPTY_PARMS";
    public static final String ER_METHOD_NOT_SUPPORTED ="ER_METHOD_NOT_SUPPORTED";
    public static final String ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = "ER_INCRSAXSRCFILTER_NOT_RESTARTABLE";
    public static final String ER_XMLRDR_NOT_BEFORE_STARTPARSE = "ER_XMLRDR_NOT_BEFORE_STARTPARSE";
    public static final String ER_AXIS_TRAVERSER_NOT_SUPPORTED = "ER_AXIS_TRAVERSER_NOT_SUPPORTED";
    public static final String ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = "ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER";
    public static final String ER_SYSTEMID_UNKNOWN = "ER_SYSTEMID_UNKNOWN";
    public static final String ER_LOCATION_UNKNOWN = "ER_LOCATION_UNKNOWN";
    public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE";
    public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED = "ER_CREATEDOCUMENT_NOT_SUPPORTED";  
    public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT";
    public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT";  
    public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC = "ER_CANT_OUTPUT_TEXT_BEFORE_DOC";  
    public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT = "ER_CANT_HAVE_MORE_THAN_ONE_ROOT";  
    public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL";  
    public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID";  
    public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID";  
  
    /*
     * Now fill in the message text.
     * Then fill in the message text for that message code in the
     * array. Use the new error code as the index into the array.
     */
  
    // Error messages...
  
    /** The lookup table for error messages.   */
    public static final Object[][] contents = {
  
    /** Error message ID that has a null message, but takes in a single object.    */
      {"ER0000" , "{0}" },
   
      { ER_FUNCTION_NOT_SUPPORTED, 
        "Function not supported!"},
  
      { ER_CANNOT_OVERWRITE_CAUSE,
        "Cannot overwrite cause"},
  
      { ER_NO_DEFAULT_IMPL,
        "No default implementation found "},
  
      { ER_CHUNKEDINTARRAY_NOT_SUPPORTED,
        "ChunkedIntArray({0}) not currently supported"},
  
      { ER_OFFSET_BIGGER_THAN_SLOT,
        "Offset bigger than slot"},
  
      { ER_COROUTINE_NOT_AVAIL,
        "Coroutine not available, id={0}"},
      
      { ER_COROUTINE_CO_EXIT,
        "CoroutineManager received co_exit() request"},
  
      { ER_COJOINROUTINESET_FAILED,
        "co_joinCoroutineSet() failed"},
  
      { ER_COROUTINE_PARAM,
        "Coroutine parameter error ({0})"},
  
      { ER_PARSER_DOTERMINATE_ANSWERS,
        "\nUNEXPECTED: Parser doTerminate answers {0}"},
  
      { ER_NO_PARSE_CALL_WHILE_PARSING,
        "parse may not be called while parsing"},
  
      { ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED,
        "Error: typed iterator for axis  {0} not implemented"},
  
      { ER_ITERATOR_AXIS_NOT_IMPLEMENTED,
        "Error: iterator for axis {0} not implemented "},
  
      { ER_ITERATOR_CLONE_NOT_SUPPORTED,
        "Iterator clone not supported"},
  
      { ER_UNKNOWN_AXIS_TYPE,
        "Unknown axis traversal type: {0}"},
  
      { ER_AXIS_NOT_SUPPORTED,
        "Axis traverser not supported: {0}"},
  
      { ER_NO_DTMIDS_AVAIL,
        "No more DTM IDs are available"},
  
      { ER_NOT_SUPPORTED,
        "Not supported: {0}"},
      
      { ER_NODE_NON_NULL,
        "Node must be non-null for getDTMHandleFromNode"},
  
      { ER_COULD_NOT_RESOLVE_NODE,
        "Could not resolve the node to a handle"},
  
      { ER_STARTPARSE_WHILE_PARSING,
         "startParse may not be called while parsing"},
  
      { ER_STARTPARSE_NEEDS_SAXPARSER,
         "startParse needs a non-null SAXParser"},
  
      { ER_COULD_NOT_INIT_PARSER,
         "could not initialize parser with"},
  
      { ER_EXCEPTION_CREATING_POOL,
         "exception creating new instance for pool"},
  
      { ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
         "Path contains invalid escape sequence"},
  
      { ER_SCHEME_REQUIRED,
         "Scheme is required!"},
      
      { ER_NO_SCHEME_IN_URI,
         "No scheme found in URI: {0}"},
  
      { ER_NO_SCHEME_INURI,
         "No scheme found in URI"},
  
      { ER_PATH_INVALID_CHAR,
         "Path contains invalid character: {0}"},
  
      { ER_SCHEME_FROM_NULL_STRING,
         "Cannot set scheme from null string"},
  
      { ER_SCHEME_NOT_CONFORMANT,
         "The scheme is not conformant."},
  
      { ER_HOST_ADDRESS_NOT_WELLFORMED,
         "Host is not a well formed address"},
  
      { ER_PORT_WHEN_HOST_NULL,
         "Port cannot be set when host is null"},
  
      { ER_INVALID_PORT,
         "Invalid port number"},
  
      { ER_FRAG_FOR_GENERIC_URI,
         "Fragment can only be set for a generic URI"},
  
      { ER_FRAG_WHEN_PATH_NULL,
         "Fragment cannot be set when path is null"},
  
      { ER_FRAG_INVALID_CHAR,
         "Fragment contains invalid character"},
  
      { ER_PARSER_IN_USE,
        "Parser is already in use"},
  
      { ER_CANNOT_CHANGE_WHILE_PARSING,
        "Cannot change {0} {1} while parsing"},
     
      { ER_SELF_CAUSATION_NOT_PERMITTED,
        "Self-causation not permitted"},
  
      { ER_NO_USERINFO_IF_NO_HOST,
        "Userinfo may not be specified if host is not specified"},
  
      { ER_NO_PORT_IF_NO_HOST,
        "Port may not be specified if host is not specified"},
  
      { ER_NO_QUERY_STRING_IN_PATH, 
        "Query string cannot be specified in path and query string"},
  
      { ER_NO_FRAGMENT_STRING_IN_PATH,
        "Fragment cannot be specified in both the path and fragment"},
  
      { ER_CANNOT_INIT_URI_EMPTY_PARMS, 
        "Cannot initialize URI with empty parameters"},
  
      { ER_METHOD_NOT_SUPPORTED,
        "Method not yet supported "},
      
      { ER_INCRSAXSRCFILTER_NOT_RESTARTABLE,
        "IncrementalSAXSource_Filter not currently restartable"},
  
      { ER_XMLRDR_NOT_BEFORE_STARTPARSE,
        "XMLReader not before startParse request"},
  
      { ER_AXIS_TRAVERSER_NOT_SUPPORTED,
        "Axis traverser not supported: {0}"},
  
      { ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER,
        "ListingErrorHandler created with null PrintWriter!"},
  
      { ER_SYSTEMID_UNKNOWN,
        "SystemId Unknown"},
  
      { ER_LOCATION_UNKNOWN,
        "Location of error unknown"},
  
      { ER_PREFIX_MUST_RESOLVE,
        "Prefix must resolve to a namespace: {0}"},
  
      { ER_CREATEDOCUMENT_NOT_SUPPORTED,
        "createDocument() not supported in XPathContext!"},
  
      { ER_CHILD_HAS_NO_OWNER_DOCUMENT,
        "Attribute child does not have an owner document!"},
  
      { ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
        "Attribute child does not have an owner document element!"},
  
      { ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
        "Warning: can't output text before document element!  Ignoring..."},
  
      { ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
        "Can't have more than one root on a DOM!"},
  
      { ER_ARG_LOCALNAME_NULL,
         "Argument 'localName' is null"},
   
      // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
      // The localname is the portion after the optional colon; the message indicates
      // that there is a problem with that part of the QNAME.
      { ER_ARG_LOCALNAME_INVALID,
         "Localname in QNAME should be a valid NCName"},
  
      // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
      // The prefix is the portion before the optional colon; the message indicates
      // that there is a problem with that part of the QNAME.
      { ER_ARG_PREFIX_INVALID,
         "Prefix in QNAME should be a valid NCName"},
         
      { "BAD_CODE", "Parameter to createMessage was out of bounds"},
      { "FORMAT_FAILED", "Exception thrown during messageFormat call"},
      { "line", "Line #"},
      { "column","Column #"}
    
    };
  
    /**
     * Get the association list.
     *
     * @return The association list.
     */
    public Object[][] getContents()
    {
      return contents;
    }
  
    /**
     *   Return a named ResourceBundle for a particular locale.  This method mimics the behavior
     *   of ResourceBundle.getBundle().
     *
     *   @param className the name of the class that implements the resource bundle.
     *   @return the ResourceBundle
     *   @throws MissingResourceException
     */
    public static final XMLErrorResources loadResourceBundle(String className)
            throws MissingResourceException
    {
  
      Locale locale = Locale.getDefault();
      String suffix = getResourceSuffix(locale);
  
      try
      {
  
        // first try with the given locale
        return (XMLErrorResources) ResourceBundle.getBundle(className
                + suffix, locale);
      }
      catch (MissingResourceException e)
      {
        try  // try to fall back to en_US if we can't load
        {
  
          // Since we can't find the localized property file,
          // fall back to en_US.
          return (XMLErrorResources) ResourceBundle.getBundle(className,
                  new Locale("en", "US"));
        }
        catch (MissingResourceException e2)
        {
  
          // Now we are really in trouble.
          // very bad, definitely very bad...not going to get very far
          throw new MissingResourceException(
            "Could not load any resource bundles.", className, "");
        }
      }
    }
  
    /**
     * Return the resource file suffic for the indicated locale
     * For most locales, this will be based the language code.  However
     * for Chinese, we do distinguish between Taiwan and PRC
     *
     * @param locale the locale
     * @return an String suffix which canbe appended to a resource name
     */
    private static final String getResourceSuffix(Locale locale)
    {
  
      String suffix = "_" + locale.getLanguage();
      String country = locale.getCountry();
  
      if (country.equals("TW"))
        suffix += "_" + country;
  
      return suffix;
    }
    
  }
  
  
  1.1                  xml-xalan/java/src/org/apache/xml/res/XMLErrorResources_de.java
  
  Index: XMLErrorResources_de.java
  ===================================================================
  /*
   * 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 "Xalan" 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, Lotus
   * Development Corporation., http://www.lotus.com.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   */
  package org.apache.xml.res;
  
  
  /**
   * Set up error messages.
   * We build a two dimensional array of message keys and
   * message strings. In order to add a new message here,
   * you need to first add a String constant. And you need
   * to enter key, value pair as part of the contents
   * array. You also need to update MAX_CODE for error strings
   * and MAX_WARNING for warnings ( Needed for only information
   * purpose )
   */
  public class XMLErrorResources_de extends XMLErrorResources
  {
  
    /** Maximum error messages, this is needed to keep track of the number of messages.    */
    public static final int MAX_CODE = 61;
  
    /** Maximum warnings, this is needed to keep track of the number of warnings.          */
    public static final int MAX_WARNING = 0;
  
    /** Maximum misc strings.   */
    public static final int MAX_OTHERS = 4;
  
    /** Maximum total warnings and error messages.          */
    public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
  
  
    // Error messages...
  
    /** The lookup table for error messages.   */
    public static final Object[][] contents = {
  
    /** Error message ID that has a null message, but takes in a single object.    */
      {"ER0000" , "{0}" },
  
    /** ER_FUNCTION_NOT_SUPPORTED          */
  //  public static final int ER_FUNCTION_NOT_SUPPORTED = 80;
  
    {
      ER_FUNCTION_NOT_SUPPORTED, "Funktion nicht unterst\u00fctzt!"},
   
    /** Can't overwrite cause         */
   // public static final int ER_CANNOT_OVERWRITE_CAUSE = 115;
  
    {
      ER_CANNOT_OVERWRITE_CAUSE,
  			"Ursache f\u00fcr nicht m\u00f6gliches \u00dcberschreiben"},
    
     /**  No default implementation found */
    //public static final int ER_NO_DEFAULT_IMPL = 156;
  
    {
      ER_NO_DEFAULT_IMPL,
           "Keine Standardimplementierung gefunden"},
    
     /**  ChunkedIntArray({0}) not currently supported */
    //public static final int ER_CHUNKEDINTARRAY_NOT_SUPPORTED = 157;
  
    {
      ER_CHUNKEDINTARRAY_NOT_SUPPORTED,
         "ChunkedIntArray({0}) zurzeit nicht unterst\u00fctzt"},
    
     /**  Offset bigger than slot */
    //public static final int ER_OFFSET_BIGGER_THAN_SLOT = 158;
  
    {
      ER_OFFSET_BIGGER_THAN_SLOT,
         "Offset gr\u00f6\u00dfer als Slot"},
    
     /**  Coroutine not available, id= */
    //public static final int ER_COROUTINE_NOT_AVAIL = 159;
  
    {
      ER_COROUTINE_NOT_AVAIL,
         "Coroutine nicht verf\u00fcgbar, ID={0}"},
    
     /**  CoroutineManager recieved co_exit() request */
    //public static final int ER_COROUTINE_CO_EXIT = 160;
  
    {
      ER_COROUTINE_CO_EXIT,
         "CoroutineManager empfing Anforderung co_exit()"},
    
     /**  co_joinCoroutineSet() failed */
    //public static final int ER_COJOINROUTINESET_FAILED = 161;
  
    {
      ER_COJOINROUTINESET_FAILED,
         "co_joinCoroutineSet() fehlgeschlagen"},
    
     /**  Coroutine parameter error () */
    //public static final int ER_COROUTINE_PARAM = 162;
  
    {
      ER_COROUTINE_PARAM,
         "Parameterfehler in Coroutine ({0})"},
    
     /**  UNEXPECTED: Parser doTerminate answers  */
    //public static final int ER_PARSER_DOTERMINATE_ANSWERS = 163;
  
    {
      ER_PARSER_DOTERMINATE_ANSWERS,
         "\nUNEXPECTED: Parser doTerminate antwortet {0}"},
    
     /**  parse may not be called while parsing */
    //public static final int ER_NO_PARSE_CALL_WHILE_PARSING = 164;
  
    {
      ER_NO_PARSE_CALL_WHILE_PARSING,
         "parse darf w\u00e4hrend des Parsens nicht aufgerufen werden"},
    
     /**  Error: typed iterator for axis  {0} not implemented  */
    //public static final int ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = 165;
  
    {
      ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED,
         "Fehler: Typisierter Iterator f\u00fcr Achse {0} nicht implementiert"},
    
     /**  Error: iterator for axis {0} not implemented  */
    //public static final int ER_ITERATOR_AXIS_NOT_IMPLEMENTED = 166;
  
    {
      ER_ITERATOR_AXIS_NOT_IMPLEMENTED,
         "Fehler: Iterator f\u00fcr Achse {0} nicht implementiert"},
    
     /**  Iterator clone not supported  */
    //public static final int ER_ITERATOR_CLONE_NOT_SUPPORTED = 167;
  
    {
      ER_ITERATOR_CLONE_NOT_SUPPORTED,
         "Iterator-Klone nicht unterst\u00fctzt"},
    
     /**  Unknown axis traversal type  */
    //public static final int ER_UNKNOWN_AXIS_TYPE = 168;
  
    {
      ER_UNKNOWN_AXIS_TYPE,
         "Unbekannter Achsen-Traversaltyp: {0}"},
    
     /**  Axis traverser not supported  */
    //public static final int ER_AXIS_NOT_SUPPORTED = 169;
  
    {
      ER_AXIS_NOT_SUPPORTED,
         "Achsen-Traverser nicht unterst\u00fctzt: {0}"},
    
     /**  No more DTM IDs are available  */
    //public static final int ER_NO_DTMIDS_AVAIL = 170;
  
    {
      ER_NO_DTMIDS_AVAIL,
         "Keine weiteren DTM-IDs verf\u00fcgbar"},
    
     /**  Not supported  */
    //public static final int ER_NOT_SUPPORTED = 171;
  
    {
      ER_NOT_SUPPORTED,
         "Nicht unterst\u00fctzt: {0}"},
    
     /**  node must be non-null for getDTMHandleFromNode  */
    //public static final int ER_NODE_NON_NULL = 172;
  
    {
      ER_NODE_NON_NULL,
         "Knoten darf f\u00fcr getDTMHandleFromNode nicht Null sein"},
    
     /**  Could not resolve the node to a handle  */
    //public static final int ER_COULD_NOT_RESOLVE_NODE = 173;
  
    {
      ER_COULD_NOT_RESOLVE_NODE,
         "Der Knoten zu einem Handle konnte nicht aufgel\u00f6st werden"},
    
     /**  startParse may not be called while parsing */
    //public static final int ER_STARTPARSE_WHILE_PARSING = 174;
  
    {
      ER_STARTPARSE_WHILE_PARSING,
         "startParse darf beim Parsen nicht aufgerufen werden"},
    
     /**  startParse needs a non-null SAXParser  */
    //public static final int ER_STARTPARSE_NEEDS_SAXPARSER = 175;
  
    {
      ER_STARTPARSE_NEEDS_SAXPARSER,
         "startParse ben\u00f6tigt einen SAXParser, der nicht Null ist"},
    
     /**  could not initialize parser with */
    //public static final int ER_COULD_NOT_INIT_PARSER = 176;
  
    {
      ER_COULD_NOT_INIT_PARSER,
         "Parser konnte nicht initialisiert werden"},
  
     /**  exception creating new instance for pool  */
    //public static final int ER_EXCEPTION_CREATING_POOL = 178;
  
    {
      ER_EXCEPTION_CREATING_POOL,
         "Ausnahme, die neue Instanz f\u00fcr Pool erstellt"},
    
     /**  Path contains invalid escape sequence  */
    //public static final int ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = 179;
  
    {
      ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
         "Pfad enth\u00e4lt ung\u00fcltige Escape-Sequenz"},
    
     /**  Scheme is required!  */
    //public static final int ER_SCHEME_REQUIRED = 180;
  
    {
      ER_SCHEME_REQUIRED,
         "Schema ist erforderlich!"},
    
     /**  No scheme found in URI  */
    //public static final int ER_NO_SCHEME_IN_URI = 181;
  
    {
      ER_NO_SCHEME_IN_URI,
         "Kein Schema gefunden in URI: {0}"},
    
     /**  No scheme found in URI  */
    //public static final int ER_NO_SCHEME_INURI = 182;
  
    {
      ER_NO_SCHEME_INURI,
         "Kein Schema gefunden in URI"},
    
     /**  Path contains invalid character:   */
    //public static final int ER_PATH_INVALID_CHAR = 183;
  
    {
      ER_PATH_INVALID_CHAR,
         "Pfad enth\u00e4lt ung\u00fcltiges Zeichen: {0}"},
    
     /**  Cannot set scheme from null string  */
    //public static final int ER_SCHEME_FROM_NULL_STRING = 184;
  
    {
      ER_SCHEME_FROM_NULL_STRING,
         "Schema kann ausgehend von Null-Zeichenkette nicht gesetzt werden"},
    
     /**  The scheme is not conformant. */
    //public static final int ER_SCHEME_NOT_CONFORMANT = 185;
  
    {
      ER_SCHEME_NOT_CONFORMANT,
         "Schema ist nicht konform."},
    
     /**  Host is not a well formed address  */
    //public static final int ER_HOST_ADDRESS_NOT_WELLFORMED = 186;
  
    {
      ER_HOST_ADDRESS_NOT_WELLFORMED,
         "Hostadresse nicht korrekt gebildet"},
    
     /**  Port cannot be set when host is null  */
    //public static final int ER_PORT_WHEN_HOST_NULL = 187;
  
    {
      ER_PORT_WHEN_HOST_NULL,
         "Port kann nicht gesetzt werden, wenn Host Null ist"},
    
     /**  Invalid port number  */
    //public static final int ER_INVALID_PORT = 188;
  
    {
      ER_INVALID_PORT,
         "Ung\u00fcltige Port-Nummer"},
    
     /**  Fragment can only be set for a generic URI  */
    //public static final int ER_FRAG_FOR_GENERIC_URI = 189;
  
    {
      ER_FRAG_FOR_GENERIC_URI,
         "Fragment kann nur f\u00fcr einen generischen URI gesetzt werden"},
    
     /**  Fragment cannot be set when path is null  */
    //public static final int ER_FRAG_WHEN_PATH_NULL = 190;
  
    {
      ER_FRAG_WHEN_PATH_NULL,
         "Fragment kann nicht gesetzt werden, wenn der Pfad Null ist"},
    
     /**  Fragment contains invalid character  */
    //public static final int ER_FRAG_INVALID_CHAR = 191;
  
    {
      ER_FRAG_INVALID_CHAR,
         "Fragment enth\u00e4lt ung\u00fcltiges Zeichen"},
    
   
    
     /** Parser is already in use  */
    //public static final int ER_PARSER_IN_USE = 192;
  
    {
      ER_PARSER_IN_USE,
          "Parser wird bereits verwendet"},
    
     /** Parser is already in use  */
    //public static final int ER_CANNOT_CHANGE_WHILE_PARSING = 193;
  
    {
      ER_CANNOT_CHANGE_WHILE_PARSING,
          "{0} {1} kann beim Parsen nicht ge\u00e4ndert werden"},
    
     /** Self-causation not permitted  */
    //public static final int ER_SELF_CAUSATION_NOT_PERMITTED = 194;
  
    {
      ER_SELF_CAUSATION_NOT_PERMITTED,
          "Selbst-Kausalit\u00e4t nicht erlaubt"},
    
     /** Userinfo may not be specified if host is not specified   */
    //public static final int ER_NO_USERINFO_IF_NO_HOST = 198;
  
    {
      ER_NO_USERINFO_IF_NO_HOST,
          "Userinfo kann nicht angegeben werden, wenn Host nicht angegeben ist"},
    
     /** Port may not be specified if host is not specified   */
    //public static final int ER_NO_PORT_IF_NO_HOST = 199;
  
    {
      ER_NO_PORT_IF_NO_HOST,
          "Port kann nicht angegeben werden, wenn Host nicht angegeben ist"},
    
     /** Query string cannot be specified in path and query string   */
    //public static final int ER_NO_QUERY_STRING_IN_PATH = 200;
  
    {
      ER_NO_QUERY_STRING_IN_PATH,
          "Abfragezeichenkette kann nicht sowohl im Pfad als auch in der Abfragezeichenkette angegeben werden"},
    
     /** Fragment cannot be specified in both the path and fragment   */
    //public static final int ER_NO_FRAGMENT_STRING_IN_PATH = 201;
  
    {
      ER_NO_FRAGMENT_STRING_IN_PATH,
          "Fragment kann nicht sowohl im Pfad als auch im Fragment angegeben werden"},
    
     /** Cannot initialize URI with empty parameters   */
    //public static final int ER_CANNOT_INIT_URI_EMPTY_PARMS = 202;
  
    {
      ER_CANNOT_INIT_URI_EMPTY_PARMS,
          "URI kann nicht mit leeren Parametern initialisiert werden"},
  
    /**  Method not yet supported    */
    //public static final int ER_METHOD_NOT_SUPPORTED = 210;
  
    {
      ER_METHOD_NOT_SUPPORTED,
          "Methode noch nicht unterst\u00fctzt "},
   
    /** IncrementalSAXSource_Filter not currently restartable   */
    //public static final int ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = 214;
  
    {
      ER_INCRSAXSRCFILTER_NOT_RESTARTABLE,
       "IncrementalSAXSource_Filter kann zurzeit nicht neu gestartet werden"},
    
    /** IncrementalSAXSource_Filter not currently restartable   */
    //public static final int ER_XMLRDR_NOT_BEFORE_STARTPARSE = 215;
  
    {
      ER_XMLRDR_NOT_BEFORE_STARTPARSE,
       "XMLReader nicht vor startParse-Anforderung"},
    
    // Axis traverser not supported: {0}
    //public static final int ER_AXIS_TRAVERSER_NOT_SUPPORTED = 235;
    {
      ER_AXIS_TRAVERSER_NOT_SUPPORTED,
       "Achsen-Traverser nicht unterst\u00fctzt: {0}"},
  
    // ListingErrorHandler created with null PrintWriter!
    //public static final int ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = 236;
    {
      ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER,
       "ListingErrorHandler wurde mit Null-PrintWriter erstellt!"},
  
    //public static final int ER_SYSTEMID_UNKNOWN = 240;
    {
      ER_SYSTEMID_UNKNOWN,
       "Unbekannte SystemId"},
  
    // Location of error unknown
    //public static final int ER_LOCATION_UNKNOWN = 241;
    {
      ER_LOCATION_UNKNOWN,
       "Fehler befindet sich an unbekannter Stelle"},
  
    /** Field ER_PREFIX_MUST_RESOLVE          */
    //public static final int ER_PREFIX_MUST_RESOLVE = 52;
  
  
    {
      ER_PREFIX_MUST_RESOLVE,
        "Pr\u00e4fix muss sich in Namensraum aufl\u00f6sen lassen: {0}"},
  
    /** Field ER_CREATEDOCUMENT_NOT_SUPPORTED          */
    //public static final int ER_CREATEDOCUMENT_NOT_SUPPORTED = 54;
  
    {
      ER_CREATEDOCUMENT_NOT_SUPPORTED,
        "createDocument() in XpathContext nicht unterst\u00fctzt!"},
     
  
    /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT          */
    //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT = 55;
  
  
    {
      ER_CHILD_HAS_NO_OWNER_DOCUMENT,
        "Attribut-Tochterknoten hat kein Eigent\u00fcmer-Dokument!"},
  
  
    /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT          */
    //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = 56;
  
  
    {
      ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
        "Attribut-Tochterknoten hat kein Element Eigent\u00fcmer-Dokument!"},
  
  
    /** Field ER_CANT_OUTPUT_TEXT_BEFORE_DOC          */
    //public static final int ER_CANT_OUTPUT_TEXT_BEFORE_DOC = 63;
  
  
    {
      ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
        "Warnung: Vor einem Dokumentelement kann kein Text ausgegeben werden! Wird ignoriert..."},
  
  
    /** Field ER_CANT_HAVE_MORE_THAN_ONE_ROOT          */
    //public static final int ER_CANT_HAVE_MORE_THAN_ONE_ROOT = 64;
  
  
    {
      ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
        "Ein DOM kann nur einen Stamm haben!"},
  
    
     /**  Argument 'localName' is null  */
    //public static final int ER_ARG_LOCALNAME_NULL = 70;
  
  
    {
      ER_ARG_LOCALNAME_NULL,
         "Argument 'localName' ist Null"},
  
    // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
    // The localname is the portion after the optional colon; the message indicates
    // that there is a problem with that part of the QNAME.
  
    /** localname in QNAME should be a valid NCName */
    //public static final int ER_ARG_LOCALNAME_INVALID = 101;
  
  
    {
      ER_ARG_LOCALNAME_INVALID,
         "Der lokale Name in QNAME muss einem g\u00fcltigen 'NCName' entsprechen."},
  
    // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
    // The prefix is the portion before the optional colon; the message indicates
    // that there is a problem with that part of the QNAME.
  
    /** prefix in QNAME should be a valid NCName */
    //public static final int ER_ARG_PREFIX_INVALID = 102;
  
  
    {
      ER_ARG_PREFIX_INVALID,
         "Das Pr\u00e4fix in QNAME muss einem g\u00fcltigen 'NCName' entsprechen."},
         
    { "BAD_CODE", "Parameter f\u00fcr createMessage au\u00dferhalb der Grenzwerte"},
    { "FORMAT_FAILED", "Ausnahme bei messageFormat-Aufruf"},
    { "line", "Zeile #"},
    { "column", "Spalte #"}
    
    };
  
    /**
     * Get the association list.
     *
     * @return The association list.
     */
    public Object[][] getContents()
    {
      return contents;
    }
        
  }
  
  
  1.1                  xml-xalan/java/src/org/apache/xml/res/XMLErrorResources_en.java
  
  Index: XMLErrorResources_en.java
  ===================================================================
  /*
   * 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 "Xalan" 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) 2002, Sun Microsystems,
   * Inc., http://www.sun.com.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   */
  package org.apache.xml.res;
  
  
  /**
   * <meta name="usage" content="advanced"/>
   * Default implementation of XPATHErrorResources.  This is just
   * an empty class.
   */
  public class XMLErrorResources_en extends XMLErrorResources
  {
  }
  
  
  
  1.1                  xml-xalan/java/src/org/apache/xml/res/XMLErrorResources_es.java
  
  Index: XMLErrorResources_es.java
  ===================================================================
  /*
   * 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 "Xalan" 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, Lotus
   * Development Corporation., http://www.lotus.com.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   */
  package org.apache.xml.res;
  
  
  /**
   * Set up error messages.
   * We build a two dimensional array of message keys and
   * message strings. In order to add a new message here,
   * you need to first add a String constant. And you need
   * to enter key, value pair as part of the contents
   * array. You also need to update MAX_CODE for error strings
   * and MAX_WARNING for warnings ( Needed for only information
   * purpose )
   */
  public class XMLErrorResources_es extends XMLErrorResources
  {
  
    /** Maximum error messages, this is needed to keep track of the number of messages.    */
    public static final int MAX_CODE = 61;
  
    /** Maximum warnings, this is needed to keep track of the number of warnings.          */
    public static final int MAX_WARNING = 0;
  
    /** Maximum misc strings.   */
    public static final int MAX_OTHERS = 4;
  
    /** Maximum total warnings and error messages.          */
    public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
  
  
    // Error messages...
  
    /** The lookup table for error messages.   */
    public static final Object[][] contents = {
  
    /** Error message ID that has a null message, but takes in a single object.    */
      {"ER0000" , "{0}" },
  
  
    /** ER_FUNCTION_NOT_SUPPORTED          */
    //public static final int ER_FUNCTION_NOT_SUPPORTED = 80;
  
    {
      ER_FUNCTION_NOT_SUPPORTED, "Funci\u00f3n no admitida"},
  
    /** Can't overwrite cause         */
    //public static final int ER_CANNOT_OVERWRITE_CAUSE = 115;
  
    {
      ER_CANNOT_OVERWRITE_CAUSE,
  			"No se puede sobrescribir la causa"},
  
     /**  No default implementation found */
    //public static final int ER_NO_DEFAULT_IMPL = 156;
  
    {
      ER_NO_DEFAULT_IMPL,
           "No se ha encontrado ninguna implementaci\u00f3n predeterminada "},
    
     /**  ChunkedIntArray({0}) not currently supported */
    //public static final int ER_CHUNKEDINTARRAY_NOT_SUPPORTED = 157;
  
    {
      ER_CHUNKEDINTARRAY_NOT_SUPPORTED,
         "ChunkedIntArray({0}) no se utiliza actualmente"},
    
     /**  Offset bigger than slot */
    //public static final int ER_OFFSET_BIGGER_THAN_SLOT = 158;
  
    {
      ER_OFFSET_BIGGER_THAN_SLOT,
         "La desviaci\u00f3n es mayor que el intervalo"},
    
     /**  Coroutine not available, id= */
    //public static final int ER_COROUTINE_NOT_AVAIL = 159;
  
    {
      ER_COROUTINE_NOT_AVAIL,
         "Corrutina no disponible, id={0}"},
    
     /**  CoroutineManager recieved co_exit() request */
    //public static final int ER_COROUTINE_CO_EXIT = 160;
  
    {
      ER_COROUTINE_CO_EXIT,
         "CoroutineManager ha recibido una solicitud co_exit()"},
    
     /**  co_joinCoroutineSet() failed */
    //public static final int ER_COJOINROUTINESET_FAILED = 161;
  
    {
      ER_COJOINROUTINESET_FAILED,
         "Fallo co_joinCoroutineSet()"},
    
     /**  Coroutine parameter error () */
    //public static final int ER_COROUTINE_PARAM = 162;
  
    {
      ER_COROUTINE_PARAM,
         "Error de par\u00e1metro de corrutina({0})"},
    
     /**  UNEXPECTED: Parser doTerminate answers  */
    //public static final int ER_PARSER_DOTERMINATE_ANSWERS = 163;
  
    {
      ER_PARSER_DOTERMINATE_ANSWERS,
         "\nUNEXPECTED: el analizador sint\u00e1ctico doTerminate responde {0}"},
    
     /**  parse may not be called while parsing */
    //public static final int ER_NO_PARSE_CALL_WHILE_PARSING = 164;
  
    {
      ER_NO_PARSE_CALL_WHILE_PARSING,
         "no puede invocarse el analizador sint\u00e1ctico con un an\u00e1lisis sint\u00e1ctico en curso"},
    
     /**  Error: typed iterator for axis  {0} not implemented  */
    //public static final int ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = 165;
  
    {
      ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED,
         "Error: El iterador introducido para el eje  {0} no est\u00e1 implementado"},
    
     /**  Error: iterator for axis {0} not implemented  */
    //public static final int ER_ITERATOR_AXIS_NOT_IMPLEMENTED = 166;
  
    {
      ER_ITERATOR_AXIS_NOT_IMPLEMENTED,
         "Error: el iterador para el eje {0} no est\u00e1 implementado "},
    
     /**  Iterator clone not supported  */
    //public static final int ER_ITERATOR_CLONE_NOT_SUPPORTED = 167;
  
    {
      ER_ITERATOR_CLONE_NOT_SUPPORTED,
         "no se admite clon del iterador"},
    
     /**  Unknown axis traversal type  */
    //public static final int ER_UNKNOWN_AXIS_TYPE = 168;
  
    {
      ER_UNKNOWN_AXIS_TYPE,
         "El tipo de eje transversal es desconocido: {0}"},
    
     /**  Axis traverser not supported  */
    //public static final int ER_AXIS_NOT_SUPPORTED = 169;
  
    {
      ER_AXIS_NOT_SUPPORTED,
         "No se admite traverser de eje: {0}"},
    
     /**  No more DTM IDs are available  */
    //public static final int ER_NO_DTMIDS_AVAIL = 170;
  
    {
      ER_NO_DTMIDS_AVAIL,
         "No hay m\u00e1s Id de DTM disponibles"},
    
     /**  Not supported  */
    //public static final int ER_NOT_SUPPORTED = 171;
  
    {
      ER_NOT_SUPPORTED,
         "No se admite: {0}"},
    
     /**  node must be non-null for getDTMHandleFromNode  */
    //public static final int ER_NODE_NON_NULL = 172;
  
    {
      ER_NODE_NON_NULL,
         "El nodo no puede ser nulo para getDTMHandleFromNode"},
    
     /**  Could not resolve the node to a handle  */
    //public static final int ER_COULD_NOT_RESOLVE_NODE = 173;
  
    {
      ER_COULD_NOT_RESOLVE_NODE,
         "No se ha podido convertir el nodo en un manejador"},
    
     /**  startParse may not be called while parsing */
    //public static final int ER_STARTPARSE_WHILE_PARSING = 174;
  
    {
      ER_STARTPARSE_WHILE_PARSING,
         "no se puede invocar startParse con un an\u00e1lisis sint\u00e1ctico en curso"},
    
     /**  startParse needs a non-null SAXParser  */
    //public static final int ER_STARTPARSE_NEEDS_SAXPARSER = 175;
  
    {
      ER_STARTPARSE_NEEDS_SAXPARSER,
         "startParse no admite SAXParser nulo"},
    
     /**  could not initialize parser with */
    //public static final int ER_COULD_NOT_INIT_PARSER = 176;
  
    {
      ER_COULD_NOT_INIT_PARSER,
         "No se ha podido inicializar el analizador sint\u00e1ctico con"},
    
     /**  exception creating new instance for pool  */
    //public static final int ER_EXCEPTION_CREATING_POOL = 178;
  
    {
      ER_EXCEPTION_CREATING_POOL,
         "se ha producido una excepci\u00f3n al crear una nueva instancia para pool"},
    
     /**  Path contains invalid escape sequence  */
    //public static final int ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = 179;
  
    {
      ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
         "El trayecto contiene una secuencia de escape no v\u00e1lida"},
    
     /**  Scheme is required.  */
    //public static final int ER_SCHEME_REQUIRED = 180;
  
    {
      ER_SCHEME_REQUIRED,
         "Se necesita un esquema."},
    
     /**  No scheme found in URI  */
    //public static final int ER_NO_SCHEME_IN_URI = 181;
  
    {
      ER_NO_SCHEME_IN_URI,
         "No se ha encontrado ning\u00fan esquema en el URI: {0}"},
    
     /**  No scheme found in URI  */
    //public static final int ER_NO_SCHEME_INURI = 182;
  
    {
      ER_NO_SCHEME_INURI,
         "No se ha encontrado ning\u00fan esquema en el URI"},
    
     /**  Path contains invalid character:   */
    //public static final int ER_PATH_INVALID_CHAR = 183;
  
    {
      ER_PATH_INVALID_CHAR,
         "El trayecto contiene un car\u00e1cter no v\u00e1lido: {0}"},
    
     /**  Cannot set scheme from null string  */
    //public static final int ER_SCHEME_FROM_NULL_STRING = 184;
  
    {
      ER_SCHEME_FROM_NULL_STRING,
         "No se puede establecer un esquema a partir de una cadena nula"},
    
     /**  The scheme is not conformant. */
    //public static final int ER_SCHEME_NOT_CONFORMANT = 185;
  
    {
      ER_SCHEME_NOT_CONFORMANT,
         "El esquema no es aceptable."},
    
     /**  Host is not a well formed address  */
    //public static final int ER_HOST_ADDRESS_NOT_WELLFORMED = 186;
  
    {
      ER_HOST_ADDRESS_NOT_WELLFORMED,
         "El sistema central no es una direcci\u00f3n bien construida"},
    
     /**  Port cannot be set when host is null  */
    //public static final int ER_PORT_WHEN_HOST_NULL = 187;
  
    {
      ER_PORT_WHEN_HOST_NULL,
         "No puede establecerse el puerto cuando el sistema central es nulo"},
    
     /**  Invalid port number  */
    //public static final int ER_INVALID_PORT = 188;
  
    {
      ER_INVALID_PORT,
         "N\u00famero de puerto no v\u00e1lido"},
    
     /**  Fragment can only be set for a generic URI  */
    //public static final int ER_FRAG_FOR_GENERIC_URI = 189;
  
    {
      ER_FRAG_FOR_GENERIC_URI,
         "S\u00f3lo puede establecerse el fragmento para un URI gen\u00e9rico"},
    
     /**  Fragment cannot be set when path is null  */
    //public static final int ER_FRAG_WHEN_PATH_NULL = 190;
  
    {
      ER_FRAG_WHEN_PATH_NULL,
         "No puede establecerse el fragmento cuando el trayecto es nulo"},
    
     /**  Fragment contains invalid character  */
    //public static final int ER_FRAG_INVALID_CHAR = 191;
  
    {
      ER_FRAG_INVALID_CHAR,
         "El fragmento contiene un car\u00e1cter no v\u00e1lido"}, 
    
     /** Parser is already in use  */
    //public static final int ER_PARSER_IN_USE = 192;
  
    {
      ER_PARSER_IN_USE,
          "El analizador sint\u00e1ctico est\u00e1 en uso"},
    
     /** Parser is already in use  */
    //public static final int ER_CANNOT_CHANGE_WHILE_PARSING = 193;
  
    {
      ER_CANNOT_CHANGE_WHILE_PARSING,
          "No se puede cambiar {0} {1} mientras el an\u00e1lisis sint\u00e1ctico est\u00e1 en curso"},
    
     /** Self-causation not permitted  */
    //public static final int ER_SELF_CAUSATION_NOT_PERMITTED = 194;
  
    {
      ER_SELF_CAUSATION_NOT_PERMITTED,
          "No se permite la autocausalidad"},
    
     /** Userinfo may not be specified if host is not specified   */
    //public static final int ER_NO_USERINFO_IF_NO_HOST = 198;
  
    {
      ER_NO_USERINFO_IF_NO_HOST,
          "La informaci\u00f3n de usuario no puede especificarse si no se especifica el sistema central"},
    
     /** Port may not be specified if host is not specified   */
    //public static final int ER_NO_PORT_IF_NO_HOST = 199;
  
    {
      ER_NO_PORT_IF_NO_HOST,
          "El puerto no puede especificarse si no est\u00e1 especificado el sistema central"},
    
     /** Query string cannot be specified in path and query string   */
    //public static final int ER_NO_QUERY_STRING_IN_PATH = 200;
  
    {
      ER_NO_QUERY_STRING_IN_PATH,
          "La cadena de consulta no puede especificarse a la vez en el trayecto y en la cadena de consulta"},
    
     /** Fragment cannot be specified in both the path and fragment   */
    //public static final int ER_NO_FRAGMENT_STRING_IN_PATH = 201;
  
    {
      ER_NO_FRAGMENT_STRING_IN_PATH,
          "El fragmento no puede especificarse a la vez en el trayecto y en el fragmento"},
    
     /** Cannot initialize URI with empty parameters   */
    //public static final int ER_CANNOT_INIT_URI_EMPTY_PARMS = 202;
  
    {
      ER_CANNOT_INIT_URI_EMPTY_PARMS,
          "No se puede inicializar el URI con par\u00e1metros vac\u00edos"},
    
    /**  Method not yet supported    */
    //public static final int ER_METHOD_NOT_SUPPORTED = 210;
  
    {
      ER_METHOD_NOT_SUPPORTED,
          "M\u00e9todo todav\u00eda no utilizado"},
  
    /** IncrementalSAXSource_Filter not currently restartable   */
    //public static final int ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = 214;
  
    {
      ER_INCRSAXSRCFILTER_NOT_RESTARTABLE,
       "IncrementalSAXSource_Filter no puede reiniciarse actualmente"},
    
    /** IncrementalSAXSource_Filter not currently restartable   */
    //public static final int ER_XMLRDR_NOT_BEFORE_STARTPARSE = 215;
  
    {
      ER_XMLRDR_NOT_BEFORE_STARTPARSE,
       "XMLReader no antes de una solicitud startParse"},
  
    // Axis traverser not supported: {0}
    //public static final int ER_AXIS_TRAVERSER_NOT_SUPPORTED = 235;
    {
      ER_AXIS_TRAVERSER_NOT_SUPPORTED,
       "No se admite el eje transversal: {0}"},
  
    // ListingErrorHandler created with null PrintWriter!
    //public static final int ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = 236;
    {
      ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER,
       "ListingErrorHandler creado con PrintWriter nulo"},
  
    //public static final int ER_SYSTEMID_UNKNOWN = 240;
    {
      ER_SYSTEMID_UNKNOWN,
       "Id de sistema desconocido"},
  
    // Location of error unknown
    //public static final int ER_LOCATION_UNKNOWN = 241;
    {
      ER_LOCATION_UNKNOWN,
       "Ubicaci\u00f3n del error desconocida"},
  
    /** Field ER_PREFIX_MUST_RESOLVE          */
    //public static final int ER_PREFIX_MUST_RESOLVE = 52;
  
  
    {
      ER_PREFIX_MUST_RESOLVE,
        "El prefijo debe convertirse en un espacio de nombre: {0}"},
  
    /** Field ER_CREATEDOCUMENT_NOT_SUPPORTED          */
    //public static final int ER_CREATEDOCUMENT_NOT_SUPPORTED = 54;
  
  
    {
      ER_CREATEDOCUMENT_NOT_SUPPORTED,
        "createDocument no admitido en XPathContext."},
  
  
    /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT          */
    //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT = 55;
  
  
    {
      ER_CHILD_HAS_NO_OWNER_DOCUMENT,
        "El atributo hijo no tiene documento propietario!"},
  
  
    /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT          */
    //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = 56;
  
  
    {
      ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
        "El atributo hijo no tiene elemento de documento propietario!"},
  
    /** Field ER_CANT_OUTPUT_TEXT_BEFORE_DOC          */
    //public static final int ER_CANT_OUTPUT_TEXT_BEFORE_DOC = 63;
  
  
    {
      ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
        "Advertencia: no puede enviar el texto antes del elemento de documento. Se ignora..."},
  
  
    /** Field ER_CANT_HAVE_MORE_THAN_ONE_ROOT          */
    //public static final int ER_CANT_HAVE_MORE_THAN_ONE_ROOT = 64;
  
  
    {
      ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
        "No puede haber m\u00e1s de una ra\u00edz en un DOM."},
  
    
     /**  Argument 'localName' is null  */
    //public static final int ER_ARG_LOCALNAME_NULL = 70;
  
  
    {
      ER_ARG_LOCALNAME_NULL,
         "El argumentoArgument 'localName' es nulo."},
  
    // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
    // The localname is the portion after the optional colon; the message indicates
    // that there is a problem with that part of the QNAME.
  
    /** localname in QNAME should be a valid NCName */
    //public static final int ER_ARG_LOCALNAME_INVALID = 101;
  
  
    {
      ER_ARG_LOCALNAME_INVALID,
         "El nombre local especificado en QNAME debe ser un nombre NCName v\u00e1lido"},
    
    // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
    // The prefix is the portion before the optional colon; the message indicates
    // that there is a problem with that part of the QNAME.
  
    /** prefix in QNAME should be a valid NCName */
    //public static final int ER_ARG_PREFIX_INVALID = 102;
  
  
    {
      ER_ARG_PREFIX_INVALID,
         "El prefijo especificado en QNAME debe ser un nombre NCName v\u00e1lido"},
  
    { "BAD_CODE",
        "El par\u00e1metro para crear el mensaje estaba fuera de los l\u00edmites"},
    { "FORMAT_FAILED",
        "Excepci\u00f3n generada durante la llamada messageFormat"},
    { "line", "L\u00ednea #"},
    { "column", "Columna #"}
    
    };
    
    /**
     * Get the association list.
     *
     * @return The association list.
     */
    public Object[][] getContents()
    {
      return contents;
    }
      
  }
  
  
  1.1                  xml-xalan/java/src/org/apache/xml/res/XMLErrorResources_fr.java
  
  Index: XMLErrorResources_fr.java
  ===================================================================
  /*
   * 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 "Xalan" 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, Lotus
   * Development Corporation., http://www.lotus.com.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   */
  package org.apache.xml.res;
  
  /**
   * Set up error messages.
   * We build a two dimensional array of message keys and
   * message strings. In order to add a new message here,
   * you need to first add a String constant. And you need
   * to enter key, value pair as part of the contents
   * array. You also need to update MAX_CODE for error strings
   * and MAX_WARNING for warnings ( Needed for only information
   * purpose )
   */
  public class XMLErrorResources_fr extends XMLErrorResources
  {
  
    /** Maximum error messages, this is needed to keep track of the number of messages.    */
    public static final int MAX_CODE = 61;
  
    /** Maximum warnings, this is needed to keep track of the number of warnings.          */
    public static final int MAX_WARNING = 0;
  
    /** Maximum misc strings.   */
    public static final int MAX_OTHERS = 4;
  
    /** Maximum total warnings and error messages.          */
    public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
  
  
    // Error messages...
  
    /** The lookup table for error messages.   */
    public static final Object[][] contents = {
  
    /** Error message ID that has a null message, but takes in a single object.    */
      {"ER0000" , "{0}" },
  
    /** ER_FUNCTION_NOT_SUPPORTED          */
    //public static final int ER_FUNCTION_NOT_SUPPORTED = 80;
  
    {
      ER_FUNCTION_NOT_SUPPORTED, "Fonction non prise en charge !"},
    
    /** Can't overwrite cause         */
    //public static final int ER_CANNOT_OVERWRITE_CAUSE = 115;
  
    {
      ER_CANNOT_OVERWRITE_CAUSE,
  			"Impossible d\u2019\u00e9craser la cause"},
    
     /**  No default implementation found */
    //public static final int ER_NO_DEFAULT_IMPL = 156;
  
    {
      ER_NO_DEFAULT_IMPL,
           "Aucune mise en \u0153uvre par d\u00e9faut trouv\u00e9e"},
    
     /**  ChunkedIntArray({0}) not currently supported */
    //public static final int ER_CHUNKEDINTARRAY_NOT_SUPPORTED = 157;
  
    {
      ER_CHUNKEDINTARRAY_NOT_SUPPORTED,
         "ChunkedIntArray({0}) non pris en charge pour le moment"},
    
     /**  Offset bigger than slot */
    //public static final int ER_OFFSET_BIGGER_THAN_SLOT = 158;
  
    {
      ER_OFFSET_BIGGER_THAN_SLOT,
         "Impression plus importante que l\u2019emplacement"},
    
     /**  Coroutine not available, id= */
    //public static final int ER_COROUTINE_NOT_AVAIL = 159;
  
    {
      ER_COROUTINE_NOT_AVAIL,
         "Coroutine indisponible, id={0}"},
    
     /**  CoroutineManager recieved co_exit() request */
    //public static final int ER_COROUTINE_CO_EXIT = 160;
  
    {
      ER_COROUTINE_CO_EXIT,
         "CoroutineManager a re\u00e7u une requ\u00eate co_exit()"},
    
     /**  co_joinCoroutineSet() failed */
    //public static final int ER_COJOINROUTINESET_FAILED = 161;
  
    {
      ER_COJOINROUTINESET_FAILED,
         "Echec de co_joinCoroutineSet()"},
    
     /**  Coroutine parameter error () */
    //public static final int ER_COROUTINE_PARAM = 162;
  
    {
      ER_COROUTINE_PARAM,
         "Erreur de param\u00e8tre Coroutine ({0})"},
    
     /**  UNEXPECTED: Parser doTerminate answers  */
    //public static final int ER_PARSER_DOTERMINATE_ANSWERS = 163;
  
    {
      ER_PARSER_DOTERMINATE_ANSWERS,
         "\nUNEXPECTED: R\u00e9ponses de Parser doTerminate {0}"},
    
     /**  parse may not be called while parsing */
    //public static final int ER_NO_PARSE_CALL_WHILE_PARSING = 164;
  
    {
      ER_NO_PARSE_CALL_WHILE_PARSING,
         "parse ne peut pas \u00eatre appel\u00e9 pendant l\u2019op\u00e9ration d\u2019analyse"},
    
     /**  Error: typed iterator for axis  {0} not implemented  */
    //public static final int ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = 165;
  
    {
      ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED,
         "Erreur : l\u2019it\u00e9rateur saisi pour l\u2019axe {0} n\u2019est pas mis en oeuvre"},
    
     /**  Error: iterator for axis {0} not implemented  */
    //public static final int ER_ITERATOR_AXIS_NOT_IMPLEMENTED = 166;
  
    {
      ER_ITERATOR_AXIS_NOT_IMPLEMENTED,
         "Erreur : l\u2019it\u00e9rateur pour l\u2019axe {0} n\u2019est pas mis en oeuvre "},
    
     /**  Iterator clone not supported  */
    //public static final int ER_ITERATOR_CLONE_NOT_SUPPORTED = 167;
  
    {
      ER_ITERATOR_CLONE_NOT_SUPPORTED,
         "Clone d\u2019it\u00e9rateur non pris en charge"},
    
     /**  Unknown axis traversal type  */
    //public static final int ER_UNKNOWN_AXIS_TYPE = 168;
  
    {
      ER_UNKNOWN_AXIS_TYPE,
         "Type d\u2019axe transversal inconnu : {0}"},
    
     /**  Axis traverser not supported  */
    //public static final int ER_AXIS_NOT_SUPPORTED = 169;
  
    {
      ER_AXIS_NOT_SUPPORTED,
         "Axe transversal non pris en charge : {0}"},
    
     /**  No more DTM IDs are available  */
    //public static final int ER_NO_DTMIDS_AVAIL = 170;
  
    {
      ER_NO_DTMIDS_AVAIL,
         "Aucun ID DTM disponible"},
    
     /**  Not supported  */
    //public static final int ER_NOT_SUPPORTED = 171;
  
    {
      ER_NOT_SUPPORTED,
         "Non pris en charge : {0}"},
    
     /**  node must be non-null for getDTMHandleFromNode  */
    //public static final int ER_NODE_NON_NULL = 172;
  
    {
      ER_NODE_NON_NULL,
         "Le n\u0153ud ne doit pas \u00eatre vide pour getDTMHandleFromNode"},
    
     /**  Could not resolve the node to a handle  */
    //public static final int ER_COULD_NOT_RESOLVE_NODE = 173;
  
    {
      ER_COULD_NOT_RESOLVE_NODE,
         "Impossible de r\u00e9soudre le noeud en descripteur"},
    
     /**  startParse may not be called while parsing */
    //public static final int ER_STARTPARSE_WHILE_PARSING = 174;
  
    {
      ER_STARTPARSE_WHILE_PARSING,
         "startParse ne peut pas \u00eatre appel\u00e9 pendant l\u2019analyse"},
    
     /**  startParse needs a non-null SAXParser  */
    //public static final int ER_STARTPARSE_NEEDS_SAXPARSER = 175;
  
    {
      ER_STARTPARSE_NEEDS_SAXPARSER,
         "startParse requiert un SAXParser non vide"},
    
     /**  could not initialize parser with */
    //public static final int ER_COULD_NOT_INIT_PARSER = 176;
  
    {
      ER_COULD_NOT_INIT_PARSER,
         "Impossible d\u2019initialiser l\u2019analyseur avec"},
    
     /**  exception creating new instance for pool  */
    //public static final int ER_EXCEPTION_CREATING_POOL = 178;
  
    {
      ER_EXCEPTION_CREATING_POOL,
         "Exception\u00a0de cr\u00e9ation d\u2019une nouvelle instance pour le pool"},
    
     /**  Path contains invalid escape sequence  */
    //public static final int ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = 179;
  
    {
      ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
         "Le chemin contient une s\u00e9quence de remplacement incorrecte"},
    
     /**  Scheme is required!  */
    //public static final int ER_SCHEME_REQUIRED = 180;
  
    {
      ER_SCHEME_REQUIRED,
         "Le mod\u00e8le est requis !"},
    
     /**  No scheme found in URI  */
    //public static final int ER_NO_SCHEME_IN_URI = 181;
  
    {
      ER_NO_SCHEME_IN_URI,
         "Aucun mod\u00e8le trouv\u00e9 dans l\u2019URI : {0}"},
    
     /**  No scheme found in URI  */
    //public static final int ER_NO_SCHEME_INURI = 182;
  
    {
      ER_NO_SCHEME_INURI,
         "Aucun mod\u00e8le trouv\u00e9 dans l\u2019URI"},
    
     /**  Path contains invalid character:   */
    //public static final int ER_PATH_INVALID_CHAR = 183;
  
    {
      ER_PATH_INVALID_CHAR,
         "Le chemin contient des caract\u00e8res incorrects : {0}"},
    
     /**  Cannot set scheme from null string  */
    //public static final int ER_SCHEME_FROM_NULL_STRING = 184;
  
    {
      ER_SCHEME_FROM_NULL_STRING,
         "Impossible de d\u00e9finir le mod\u00e8le \u00e0 partir d\u2019une cha\u00eene vide"},
    
     /**  The scheme is not conformant. */
    //public static final int ER_SCHEME_NOT_CONFORMANT = 185;
  
    {
      ER_SCHEME_NOT_CONFORMANT,
         "Le mod\u00e8le n\u2019est pas conforme."},
    
     /**  Host is not a well formed address  */
    //public static final int ER_HOST_ADDRESS_NOT_WELLFORMED = 186;
  
    {
      ER_HOST_ADDRESS_NOT_WELLFORMED,
         "L\u2019h\u00f4te n\u2019est pas constitu\u00e9 d\u2019une adresse bien form\u00e9e"},
    
     /**  Port cannot be set when host is null  */
    //public static final int ER_PORT_WHEN_HOST_NULL = 187;
  
    {
      ER_PORT_WHEN_HOST_NULL,
         "Le port ne peut pas \u00eatre d\u00e9fini lorsque l\u2019h\u00f4te est vide"},
    
     /**  Invalid port number  */
    //public static final int ER_INVALID_PORT = 188;
  
    {
      ER_INVALID_PORT,
         "Num\u00e9ro de port incorrect"},
    
     /**  Fragment can only be set for a generic URI  */
    //public static final int ER_FRAG_FOR_GENERIC_URI = 189;
  
    {
      ER_FRAG_FOR_GENERIC_URI,
         "Le fragment ne peut \u00eatre d\u00e9fini que pour un URI g\u00e9n\u00e9rique"},
    
     /**  Fragment cannot be set when path is null  */
    //public static final int ER_FRAG_WHEN_PATH_NULL = 190;
  
    {
      ER_FRAG_WHEN_PATH_NULL,
         "Le fragment ne peut pas \u00eatre d\u00e9fini lorsque le chemin est vide"},
    
     /**  Fragment contains invalid character  */
    //public static final int ER_FRAG_INVALID_CHAR = 191;
  
    {
      ER_FRAG_INVALID_CHAR,
         "Le fragment contient des caract\u00e8res incorrects"},
    
   
    
     /** Parser is already in use  */
    //public static final int ER_PARSER_IN_USE = 192;
  
    {
      ER_PARSER_IN_USE,
          "L\u2019analyseur est d\u00e9j\u00e0 en cours d\u2019utilisation"},
    
     /** Parser is already in use  */
    //public static final int ER_CANNOT_CHANGE_WHILE_PARSING = 193;
  
    {
      ER_CANNOT_CHANGE_WHILE_PARSING,
          "Impossible de modifier {0} {1} pendant la phase d\u2019analyse"},
    
     /** Self-causation not permitted  */
    //public static final int ER_SELF_CAUSATION_NOT_PERMITTED = 194;
  
    {
      ER_SELF_CAUSATION_NOT_PERMITTED,
          "Lien de causalit\u00e9 vers soi impossible"},
    
     /** Userinfo may not be specified if host is not specified   */
    //public static final int ER_NO_USERINFO_IF_NO_HOST = 198;
  
    {
      ER_NO_USERINFO_IF_NO_HOST,
          "Les informations sur l'utilisateur ne peuvent pas \u00eatre sp\u00e9cifi\u00e9es si l\u2019h\u00f4te n\u2019est pas sp\u00e9cifi\u00e9"},
    
     /** Port may not be specified if host is not specified   */
    //public static final int ER_NO_PORT_IF_NO_HOST = 199;
  
    {
      ER_NO_PORT_IF_NO_HOST,
          "Le port ne peut pas \u00eatre sp\u00e9cifi\u00e9 si l\u2019h\u00f4te n\u2019est pas sp\u00e9cifi\u00e9"},
    
     /** Query string cannot be specified in path and query string   */
    //public static final int ER_NO_QUERY_STRING_IN_PATH = 200;
  
    {
      ER_NO_QUERY_STRING_IN_PATH,
          "La cha\u00eene de requ\u00eate ne peut pas \u00eatre sp\u00e9cifi\u00e9e dans le chemin et dans la cha\u00eene de requ\u00eate"},
    
     /** Fragment cannot be specified in both the path and fragment   */
    //public static final int ER_NO_FRAGMENT_STRING_IN_PATH = 201;
  
    {
      ER_NO_FRAGMENT_STRING_IN_PATH,
          "Le fragment ne peut pas \u00eatre sp\u00e9cifi\u00e9 dans le chemin et dans le fragment"},
    
     /** Cannot initialize URI with empty parameters   */
    //public static final int ER_CANNOT_INIT_URI_EMPTY_PARMS = 202;
  
    {
      ER_CANNOT_INIT_URI_EMPTY_PARMS,
          "Impossible d\u2019initialiser l\u2019URI avec des param\u00e8tres vides"},
    
    /**  Method not yet supported    */
    //public static final int ER_METHOD_NOT_SUPPORTED = 210;
  
    {
      ER_METHOD_NOT_SUPPORTED,
          "M\u00e9thode non prise en charge pour le moment"},
  
    /** IncrementalSAXSource_Filter not currently restartable   */
    //public static final int ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = 214;
  
    {
      ER_INCRSAXSRCFILTER_NOT_RESTARTABLE,
       "IncrementalSAXSource_Filter ne peut pas \u00eatre relanc\u00e9 pour le moment"},
    
    /** IncrementalSAXSource_Filter not currently restartable   */
    //public static final int ER_XMLRDR_NOT_BEFORE_STARTPARSE = 215;
  
    {
      ER_XMLRDR_NOT_BEFORE_STARTPARSE,
       "XMLReader pas avant la requ\u00eate startParse"},
  
    // Axis traverser not supported: {0}
    //public static final int ER_AXIS_TRAVERSER_NOT_SUPPORTED = 235;
    {
      ER_AXIS_TRAVERSER_NOT_SUPPORTED,
       "La coupure d'axe n'est pas prise en charge : {0}"},
  
    // ListingErrorHandler created with null PrintWriter!
    //public static final int ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = 236;
    {
      ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER,
       "ListingErrorHandler a \u00e9t\u00e9 cr\u00e9\u00e9 avec PrintWriter nul !"},
  
    //public static final int ER_SYSTEMID_UNKNOWN = 240;
    {
      ER_SYSTEMID_UNKNOWN,
       "SystemId inconnu"},
  
    // Location of error unknown
    //public static final int ER_LOCATION_UNKNOWN = 241;
    {
      ER_LOCATION_UNKNOWN,
       "Emplacement de l'erreur inconnu"},
  
    /** Field ER_PREFIX_MUST_RESOLVE          */
    //public static final int ER_PREFIX_MUST_RESOLVE = 52;
  
  
    {
      ER_PREFIX_MUST_RESOLVE,
        "Le pr\u00e9fixe doit se r\u00e9soudre en nom d''espace : {0}"},
  
    /** Field ER_CREATEDOCUMENT_NOT_SUPPORTED          */
    //public static final int ER_CREATEDOCUMENT_NOT_SUPPORTED = 54;
  
  
    {
      ER_CREATEDOCUMENT_NOT_SUPPORTED,
        "createDocument() non pris en charge dans XpathContext !"},
  
  
    /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT          */
    //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT = 55;
  
  
    {
      ER_CHILD_HAS_NO_OWNER_DOCUMENT,
        "L\u2019attribut child n\u2019a pas de document propri\u00e9taire !"},
  
  
    /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT          */
    //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = 56;
  
  
    {
      ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
        "L\u2019attribute child n\u2019a pas d\u2019\u00e9l\u00e9ment de document propri\u00e9taire !"},
  
    /** Field ER_CANT_OUTPUT_TEXT_BEFORE_DOC          */
    //public static final int ER_CANT_OUTPUT_TEXT_BEFORE_DOC = 63;
  
  
    {
      ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
        "Attention : impossible de sortir le texte avant l\u2019\u00e9l\u00e9ment document !  Op\u00e9ration ignor\u00e9e ..."},
  
  
    /** Field ER_CANT_HAVE_MORE_THAN_ONE_ROOT          */
    //public static final int ER_CANT_HAVE_MORE_THAN_ONE_ROOT = 64;
  
  
    {
      ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
        "Impossible d\u2019avoir plus d\u2019une racine sur un DOM !"},
  
    
     /**  Argument 'localName' is null  */
    //public static final int ER_ARG_LOCALNAME_NULL = 70;
  
  
    {
      ER_ARG_LOCALNAME_NULL,
         "L\u2019argument 'localName' est \u00e9gal \u00e0 null"},
  
    // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
    // The localname is the portion after the optional colon; the message indicates
    // that there is a problem with that part of the QNAME.
  
    /** localname in QNAME should be a valid NCName */
    //public static final int ER_ARG_LOCALNAME_INVALID = 101;
  
  
    {
      ER_ARG_LOCALNAME_INVALID,
         "Le nom local de QNAME doit \u00eatre un NCName admis"},
  
    
    // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
    // The prefix is the portion before the optional colon; the message indicates
    // that there is a problem with that part of the QNAME.
  
    /** prefix in QNAME should be a valid NCName */
    //public static final int ER_ARG_PREFIX_INVALID = 102;
  
  
    {
      ER_ARG_PREFIX_INVALID,
         "Le pr\u00e9fixe de QNAME doit \u00eatre un NCName admis"},
  
    { "BAD_CODE",
        "Param\u00e8tre pour createMessage hors limites"},
    { "FORMAT_FAILED",
        "Exception \u00e9mise pendant l\u2019appel de messageFormat "},
    { "line", "N\u00b0 de ligne"},
    { "column", "N\u00b0 de colonne"}
    
    };
    
    /**
     * Get the association list.
     *
     * @return The association list.
     */
    public Object[][] getContents()
    {
      return contents;
    }
  }
  
  
  1.1                  xml-xalan/java/src/org/apache/xml/res/XMLErrorResources_it.java
  
  Index: XMLErrorResources_it.java
  ===================================================================
  /*
   * 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 "Xalan" 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, Lotus
   * Development Corporation., http://www.lotus.com.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   */
  package org.apache.xml.res;
  
  
  /**
   * Set up error messages.
   * We build a two dimensional array of message keys and
   * message strings. In order to add a new message here,
   * you need to first add a String constant. And you need
   * to enter key, value pair as part of the contents
   * array. You also need to update MAX_CODE for error strings
   * and MAX_WARNING for warnings ( Needed for only information
   * purpose )
   */
  public class XMLErrorResources_it extends XMLErrorResources
  {
  
    /** Maximum error messages, this is needed to keep track of the number of messages.    */
    public static final int MAX_CODE = 61;
  
    /** Maximum warnings, this is needed to keep track of the number of warnings.          */
    public static final int MAX_WARNING = 0;
  
    /** Maximum misc strings.   */
    public static final int MAX_OTHERS = 4;
  
    /** Maximum total warnings and error messages.          */
    public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
  
  
    // Error messages...
  
    /** The lookup table for error messages.   */
    public static final Object[][] contents = {
  
    /** Error message ID that has a null message, but takes in a single object.    */
      {"ER0000" , "{0}" },
   
  
   /** ER_FUNCTION_NOT_SUPPORTED          */
   //public static final int ER_FUNCTION_NOT_SUPPORTED = 80;
  
  
   {
     ER_FUNCTION_NOT_SUPPORTED, "Funzione non supportata"},
   
   /** Can't overwrite cause         */
   //public static final int ER_CANNOT_OVERWRITE_CAUSE = 115;
  
  
   {
     ER_CANNOT_OVERWRITE_CAUSE,
  			"Impossibile sovrascrivere la causa."},
   
    /**  No default implementation found */
   //public static final int ER_NO_DEFAULT_IMPL = 156;
  
  
   {
     ER_NO_DEFAULT_IMPL,
          "Non \u00e8 stata trovata alcuna implementazione predefinita "},
  
   
    /**  ChunkedIntArray({0}) not currently supported */
   //public static final int ER_CHUNKEDINTARRAY_NOT_SUPPORTED = 157;
  
  
   {
     ER_CHUNKEDINTARRAY_NOT_SUPPORTED,
        "ChunkedIntArray({0}) non \u00e8 correntemente supportato."},
  
   
    /**  Offset bigger than slot */
   //public static final int ER_OFFSET_BIGGER_THAN_SLOT = 158;
  
  
   {
     ER_OFFSET_BIGGER_THAN_SLOT,
        "L'offset \u00e8 maggiore dello slot."},
  
   
    /**  Coroutine not available, id= */
   //public static final int ER_COROUTINE_NOT_AVAIL = 159;
  
  
   {
     ER_COROUTINE_NOT_AVAIL,
        "Coroutine non disponibile, id={0}"},
  
   
    /**  CoroutineManager recieved co_exit() request */
   //public static final int ER_COROUTINE_CO_EXIT = 160;
  
  
   {
     ER_COROUTINE_CO_EXIT,
        "CoroutineManager ha ricevuto una richiesta co_exit()."},
  
   
    /**  co_joinCoroutineSet() failed */
   //public static final int ER_COJOINROUTINESET_FAILED = 161;
  
  
   {
     ER_COJOINROUTINESET_FAILED,
        "co_joinCoroutineSet() non riuscito."},
  
   
    /**  Coroutine parameter error () */
   //public static final int ER_COROUTINE_PARAM = 162;
  
  
   {
     ER_COROUTINE_PARAM,
        "Errore del parametro di coroutine ({0})."},
  
   
    /**  UNEXPECTED: Parser doTerminate answers  */
   //public static final int ER_PARSER_DOTERMINATE_ANSWERS = 163;
  
  
   {
     ER_PARSER_DOTERMINATE_ANSWERS,
        "\nUNEXPECTED: Risposte doTerminate del parser {0}"},
  
   
    /**  parse may not be called while parsing */
   //public static final int ER_NO_PARSE_CALL_WHILE_PARSING = 164;
  
  
   {
     ER_NO_PARSE_CALL_WHILE_PARSING,
        "Impossibile chiamare l'analisi mentre \u00e8 in esecuzione."},
  
   
    /**  Error: typed iterator for axis  {0} not implemented  */
   //public static final int ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = 165;
  
  
   {
     ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED,
        "Errore: tipo di iteratore per l'asse {0} non implementato."},
  
   
    /**  Error: iterator for axis {0} not implemented  */
   //public static final int ER_ITERATOR_AXIS_NOT_IMPLEMENTED = 166;
  
  
   {
     ER_ITERATOR_AXIS_NOT_IMPLEMENTED,
        "Errore: l'iteratore per l'asse {0} non \u00e8 implementato. "},
  
   
    /**  Iterator clone not supported  */
   //public static final int ER_ITERATOR_CLONE_NOT_SUPPORTED = 167;
  
  
   {
     ER_ITERATOR_CLONE_NOT_SUPPORTED,
        "Il duplicato dell'iteratore non \u00e8 supportato."},
  
   
    /**  Unknown axis traversal type  */
   //public static final int ER_UNKNOWN_AXIS_TYPE = 168;
  
  
   {
     ER_UNKNOWN_AXIS_TYPE,
        "Tipo di asse trasversale sconosciuto : {0}."},
  
   
    /**  Axis traverser not supported  */
   //public static final int ER_AXIS_NOT_SUPPORTED = 169;
  
  
   {
     ER_AXIS_NOT_SUPPORTED,
        "Attraversatore dell'asse non supportato: {0}"},
  
   
    /**  No more DTM IDs are available  */
   //public static final int ER_NO_DTMIDS_AVAIL = 170;
  
  
   {
     ER_NO_DTMIDS_AVAIL,
        "Non sono pi\u00f9 disponibili ID DTM."},
  
   
    /**  Not supported  */
   //public static final int ER_NOT_SUPPORTED = 171;
  
  
   {
     ER_NOT_SUPPORTED,
        "Non supportato: {0}"},
  
   
    /**  node must be non-null for getDTMHandleFromNode  */
   //public static final int ER_NODE_NON_NULL = 172;
  
  
   {
     ER_NODE_NON_NULL,
        "Il nodo deve essere non nullo per getDTMHandleFromNode."},
  
   
    /**  Could not resolve the node to a handle  */
   //public static final int ER_COULD_NOT_RESOLVE_NODE = 173;
  
  
   {
     ER_COULD_NOT_RESOLVE_NODE,
        "Impossibile risolvere il nodo a un handle"},
  
   
    /**  startParse may not be called while parsing */
   //public static final int ER_STARTPARSE_WHILE_PARSING = 174;
  
  
   {
     ER_STARTPARSE_WHILE_PARSING,
        "Impossibile chiamare startParse durante l'analisi."},
  
   
    /**  startParse needs a non-null SAXParser  */
   //public static final int ER_STARTPARSE_NEEDS_SAXPARSER = 175;
  
  
   {
     ER_STARTPARSE_NEEDS_SAXPARSER,
        "startParse richiede un SAXParser non nullo."},
  
   
    /**  could not initialize parser with */
   //public static final int ER_COULD_NOT_INIT_PARSER = 176;
  
  
   {
     ER_COULD_NOT_INIT_PARSER,
        "Impossibile inizializzare il parser con"},
   
    /**  exception creating new instance for pool  */
   //public static final int ER_EXCEPTION_CREATING_POOL = 178;
  
  
   {
     ER_EXCEPTION_CREATING_POOL,
        "l'eccezione crea una nuova istanza del pool"},
  
   
    /**  Path contains invalid escape sequence  */
   //public static final int ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = 179;
  
  
   {
     ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
        "Il percorso contiene una sequenza di escape non valida."},
  
   
    /**  Scheme is required!  */
   //public static final int ER_SCHEME_REQUIRED = 180;
  
  
   {
     ER_SCHEME_REQUIRED,
        "Lo schema \u00e8 necessario."},
  
   
    /**  No scheme found in URI  */
   //public static final int ER_NO_SCHEME_IN_URI = 181;
  
  
   {
     ER_NO_SCHEME_IN_URI,
        "Nessuno schema trovato nell'URI: {0}"},
  
   
    /**  No scheme found in URI  */
   //public static final int ER_NO_SCHEME_INURI = 182;
  
  
   {
     ER_NO_SCHEME_INURI,
        "Nessuno schema trovato nell'URI"},
  
   
    /**  Path contains invalid character:   */
   //public static final int ER_PATH_INVALID_CHAR = 183;
  
  
   {
     ER_PATH_INVALID_CHAR,
        "Il percorso contiene un carattere non valido: {0}"},
  
   
    /**  Cannot set scheme from null string  */
   //public static final int ER_SCHEME_FROM_NULL_STRING = 184;
  
  
   {
     ER_SCHEME_FROM_NULL_STRING,
        "Impossibile impostare lo schema da una stringa nulla."},
  
   
    /**  The scheme is not conformant. */
   //public static final int ER_SCHEME_NOT_CONFORMANT = 185;
  
  
   {
     ER_SCHEME_NOT_CONFORMANT,
        "Lo schema non \u00e8 conforme."},
  
   
    /**  Host is not a well formed address  */
   //public static final int ER_HOST_ADDRESS_NOT_WELLFORMED = 186;
  
  
   {
     ER_HOST_ADDRESS_NOT_WELLFORMED,
        "L'host non \u00e8 un indirizzo corretto."},
  
   
    /**  Port cannot be set when host is null  */
   //public static final int ER_PORT_WHEN_HOST_NULL = 187;
  
  
   {
     ER_PORT_WHEN_HOST_NULL,
        "Impossibile impostare la porta quando l'host \u00e8 nullo."},
  
   
    /**  Invalid port number  */
   //public static final int ER_INVALID_PORT = 188;
  
  
   {
     ER_INVALID_PORT,
        "Numero di porta non valido"},
  
   
    /**  Fragment can only be set for a generic URI  */
   //public static final int ER_FRAG_FOR_GENERIC_URI = 189;
  
  
   {
     ER_FRAG_FOR_GENERIC_URI,
        "\u00c8 possibile impostare il frammento solo per un URI generico."},
  
   
    /**  Fragment cannot be set when path is null  */
   //public static final int ER_FRAG_WHEN_PATH_NULL = 190;
  
  
   {
     ER_FRAG_WHEN_PATH_NULL,
        "Impossibile impostare il frammento quando il percorso \u00e8 nullo."},
  
   
    /**  Fragment contains invalid character  */
   //public static final int ER_FRAG_INVALID_CHAR = 191;
  
  
   {
     ER_FRAG_INVALID_CHAR,
        "Il frammento contiene un carattere non valido."},
  
   
  
   
    /** Parser is already in use  */
   //public static final int ER_PARSER_IN_USE = 192;
  
  
   {
     ER_PARSER_IN_USE,
         "Il parser \u00e8 gi\u00e0 in uso."},
  
   
    /** Parser is already in use  */
   //public static final int ER_CANNOT_CHANGE_WHILE_PARSING = 193;
  
  
   {
     ER_CANNOT_CHANGE_WHILE_PARSING,
         "Impossibile cambiare {0} {1} durante l'analisi."},
  
   
    /** Self-causation not permitted  */
   //public static final int ER_SELF_CAUSATION_NOT_PERMITTED = 194;
  
  
   {
     ER_SELF_CAUSATION_NOT_PERMITTED,
         "Non \u00e8 consentito essere causa ed effetto contemporaneamente."},
  
   
    /** Userinfo may not be specified if host is not specified   */
   //public static final int ER_NO_USERINFO_IF_NO_HOST = 198;
  
  
   {
     ER_NO_USERINFO_IF_NO_HOST,
         "Impossibile specificare Userinfo se non \u00e8 specificato l'host."},
  
   
    /** Port may not be specified if host is not specified   */
   //public static final int ER_NO_PORT_IF_NO_HOST = 199;
  
  
   {
     ER_NO_PORT_IF_NO_HOST,
         "Impossibile specificare la porta se non \u00e8 specificato l'host."},
  
   
    /** Query string cannot be specified in path and query string   */
   //public static final int ER_NO_QUERY_STRING_IN_PATH = 200;
  
  
   {
     ER_NO_QUERY_STRING_IN_PATH,
         "La stringa di query non pu\u00f2 essere specificata nella stringa di percorso e di query."},
  
   
    /** Fragment cannot be specified in both the path and fragment   */
   //public static final int ER_NO_FRAGMENT_STRING_IN_PATH = 201;
  
  
   {
     ER_NO_FRAGMENT_STRING_IN_PATH,
         "Il frammento non pu\u00f2 essere specificato sia nel percorso sia nel frammento."},
  
   
    /** Cannot initialize URI with empty parameters   */
   //public static final int ER_CANNOT_INIT_URI_EMPTY_PARMS = 202;
  
  
   {
     ER_CANNOT_INIT_URI_EMPTY_PARMS,
         "Impossibile inizializzare l'URI con parametri vuoti."},
  
   
   /**  Method not yet supported    */
   //public static final int ER_METHOD_NOT_SUPPORTED = 210;
  
  
   {
     ER_METHOD_NOT_SUPPORTED,
         "Metodo non ancora supportato. "},
  
  
   /** IncrementalSAXSource_Filter not currently restartable   */
   //public static final int ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = 214;
  
  
   {
     ER_INCRSAXSRCFILTER_NOT_RESTARTABLE,
      "IncrementalSAXSource_Filter non correntemente riavviabile."},
  
   
   /** IncrementalSAXSource_Filter not currently restartable   */
   //public static final int ER_XMLRDR_NOT_BEFORE_STARTPARSE = 215;
  
  
   {
     ER_XMLRDR_NOT_BEFORE_STARTPARSE,
      "XMLReader non prima della richiesta startParse."},
    
   
   // Axis traverser not supported: {0}
     //public static final int ER_AXIS_TRAVERSER_NOT_SUPPORTED = 235;
   
     {
       ER_AXIS_TRAVERSER_NOT_SUPPORTED,
        "Secante asse non supportata: {0}"},
    
   
   // ListingErrorHandler created with null PrintWriter!
     //public static final int ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = 236;
   
     {
       ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER,
        "ListingErrorHandler creato con PrintWriter nullo."},
    
   
     //public static final int ER_SYSTEMID_UNKNOWN = 240;
   
     {
       ER_SYSTEMID_UNKNOWN,
        "ID sistema sconosciuto"},
    
   
     // Location of error unknown
     //public static final int ER_LOCATION_UNKNOWN = 241;
   
     {
       ER_LOCATION_UNKNOWN,
        "Ubicazione errore sconosciuta"},
  
  
   /** Field ER_PREFIX_MUST_RESOLVE          */
   //public static final int ER_PREFIX_MUST_RESOLVE = 52;
  
  
   {
     ER_PREFIX_MUST_RESOLVE,
       "Il prefisso deve risolvere in namespace: {0}"},
  
  
   /** Field ER_CREATEDOCUMENT_NOT_SUPPORTED          */
   //public static final int ER_CREATEDOCUMENT_NOT_SUPPORTED = 54;
  
  
   {
     ER_CREATEDOCUMENT_NOT_SUPPORTED,
       "createDocument() non supportato in XPathContext."},
  
  
   /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT          */
   //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT = 55;
  
  
   {
     ER_CHILD_HAS_NO_OWNER_DOCUMENT,
       "L'elemento secondario dell'attributo non ha un documento di propriet\u00e0."},
  
  
   /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT          */
   //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = 56;
  
  
   {
     ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
       "L'elemento secondario dell'attributo non ha un elemento del documento di propriet\u00e0."},
  
  
   /** Field ER_CANT_OUTPUT_TEXT_BEFORE_DOC          */
   //public static final int ER_CANT_OUTPUT_TEXT_BEFORE_DOC = 63;
  
  
   {
     ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
       "Avvertenza: impossibile generare un output di testo prima dell'elemento documento. Richiesta ignorata..."},
  
  
   /** Field ER_CANT_HAVE_MORE_THAN_ONE_ROOT          */
   //public static final int ER_CANT_HAVE_MORE_THAN_ONE_ROOT = 64;
  
  
   {
     ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
       "Impossibile avere pi\u00f9 di una root su un DOM."},
  
   
    /**  Argument 'localName' is null  */
   //public static final int ER_ARG_LOCALNAME_NULL = 70;
  
  
   {
     ER_ARG_LOCALNAME_NULL,
        "L'argomento 'localName' \u00e8 nullo"},
    
  
     // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
     // The localname is the portion after the optional colon; the message indicates
     // that there is a problem with that part of the QNAME.
   
     /** localname in QNAME should be a valid NCName */
     //public static final int ER_ARG_LOCALNAME_INVALID = 101;
   
   
     {
       ER_ARG_LOCALNAME_INVALID,
          "Localname in QNAME deve essere un NCName valido"},
    
     
     // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
     // The prefix is the portion before the optional colon; the message indicates
     // that there is a problem with that part of the QNAME.
   
     /** prefix in QNAME should be a valid NCName */
     //public static final int ER_ARG_PREFIX_INVALID = 102;
   
   
     {
       ER_ARG_PREFIX_INVALID,
          "Prefisso in QNAME deve essere un NCName valido"},
  
     { "BAD_CODE",
       "I parametri di createMessage sono esterni ai limiti"},
     { "FORMAT_FAILED",
       "Eccezione generata durante la chiamata di messageFormat"},
     { "line", "Linea #"},
     { "column", "Colonna #"}
     
     };
  
   /**
    * Get the association list.
    *
    * @return The association list.
    */
   public Object[][] getContents()
   {
     return contents;
   }
  }
  
  
  1.1                  xml-xalan/java/src/org/apache/xml/res/XMLErrorResources_ja.java
  
  Index: XMLErrorResources_ja.java
  ===================================================================
  /*
   * 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 "Xalan" 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, Lotus
   * Development Corporation., http://www.lotus.com.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   */
  package org.apache.xml.res;
  
  
  /**
   * Set up error messages.
   * We build a two dimensional array of message keys and
   * message strings. In order to add a new message here,
   * you need to first add a String constant. And you need
   * to enter key, value pair as part of the contents
   * array. You also need to update MAX_CODE for error strings
   * and MAX_WARNING for warnings ( Needed for only information
   * purpose )
   */
  public class XMLErrorResources_ja extends XMLErrorResources
  {
  
    /** Maximum error messages, this is needed to keep track of the number of messages.    */
    public static final int MAX_CODE = 61;
  
    /** Maximum warnings, this is needed to keep track of the number of warnings.          */
    public static final int MAX_WARNING = 0;
  
    /** Maximum misc strings.   */
    public static final int MAX_OTHERS = 4;
  
    /** Maximum total warnings and error messages.          */
    public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
  
  
    // Error messages...
  
    /** The lookup table for error messages.   */
    public static final Object[][] contents = {
  
    /** Error message ID that has a null message, but takes in a single object.    */
      {"ER0000" , "{0}" },
   
  
  
    /** ER_FUNCTION_NOT_SUPPORTED          */
    //public static final int ER_FUNCTION_NOT_SUPPORTED = 80;
  
  
    {
      ER_FUNCTION_NOT_SUPPORTED, "Function \u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u307e\u305b\u3093\u3002"},
  
    
    /** Can't overwrite cause         */
    //public static final int ER_CANNOT_OVERWRITE_CAUSE = 115;
  
  
    {
      ER_CANNOT_OVERWRITE_CAUSE,
  			"cause \u3092\u4e0a\u66f8\u304d\u3067\u304d\u307e\u305b\u3093"},
  
    
     /**  No default implementation found */
    //public static final int ER_NO_DEFAULT_IMPL = 156;
  
  
    {
      ER_NO_DEFAULT_IMPL,
           "\u30c7\u30d5\u30a9\u30eb\u30c8\u5b9f\u88c5\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093"},
  //         "No default implementation found "},
  
    
     /**  ChunkedIntArray({0}) not currently supported */
    //public static final int ER_CHUNKEDINTARRAY_NOT_SUPPORTED = 157;
  
  
    {
      ER_CHUNKEDINTARRAY_NOT_SUPPORTED,
         "ChunkedIntArray({0}) \u306f\u73fe\u5728\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093"},
  //       "ChunkedIntArray({0}) not currently supported"},
  
    
     /**  Offset bigger than slot */
    //public static final int ER_OFFSET_BIGGER_THAN_SLOT = 158;
  
  
    {
      ER_OFFSET_BIGGER_THAN_SLOT,
         "\u30b9\u30ed\u30c3\u30c8\u3088\u308a\u3082\u5927\u304d\u3044\u30aa\u30d5\u30bb\u30c3\u30c8"},
  //       "Offset bigger than slot"},
  
    
     /**  Coroutine not available, id= */
    //public static final int ER_COROUTINE_NOT_AVAIL = 159;
  
  
    {
      ER_COROUTINE_NOT_AVAIL,
         "\u30b3\u30eb\u30fc\u30c1\u30f3\u306f\u7121\u52b9\u3067\u3059\u3002id={0}"},
  //       "Coroutine not available, id={0}"},
  
    
     /**  CoroutineManager recieved co_exit() request */
    //public static final int ER_COROUTINE_CO_EXIT = 160;
  
  
    {
      ER_COROUTINE_CO_EXIT,
         "CoroutineManager \u306f co_exit() \u8981\u6c42\u3092\u53d7\u3051\u53d6\u308a\u307e\u3057\u305f"},
  //       "CoroutineManager received co_exit() request"},
  
    
     /**  co_joinCoroutineSet() failed */
    //public static final int ER_COJOINROUTINESET_FAILED = 161;
  
  
    {
      ER_COJOINROUTINESET_FAILED,
         "co_joinCoroutineSet() \u306f\u5931\u6557\u3057\u307e\u3057\u305f"},
  //       "co_joinCoroutineSet() failed"},
  
    
     /**  Coroutine parameter error () */
    //public static final int ER_COROUTINE_PARAM = 162;
  
  
    {
      ER_COROUTINE_PARAM,
         "\u30b3\u30eb\u30fc\u30c1\u30f3\u30d1\u30e9\u30e1\u30fc\u30bf\u30a8\u30e9\u30fc ({0})"},
  //       "Coroutine parameter error ({0})"},
  
    
     /**  UNEXPECTED: Parser doTerminate answers  */
    //public static final int ER_PARSER_DOTERMINATE_ANSWERS = 163;
  
  
    {
      ER_PARSER_DOTERMINATE_ANSWERS,
         "\nUNEXPECTED: \u30d1\u30fc\u30b5 doTerminate \u306e\u7b54\u3048 {0}"},
  //       "\nUNEXPECTED: Parser doTerminate answers {0}"},
  
    
     /**  parse may not be called while parsing */
    //public static final int ER_NO_PARSE_CALL_WHILE_PARSING = 164;
  
  
    {
      ER_NO_PARSE_CALL_WHILE_PARSING,
         "\u69cb\u6587\u89e3\u6790\u4e2d\u306b parse \u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093"},
  //       "parse may not be called while parsing"},
  
    
     /**  Error: typed iterator for axis  {0} not implemented  */
    //public static final int ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = 165;
  
  
    {
      ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED,
         "\u30a8\u30e9\u30fc: \u5165\u529b\u3055\u308c\u305f\u8ef8\u306e\u53cd\u5fa9\u5b50 {0} \u306f\u5b9f\u88c5\u3055\u308c\u3066\u3044\u307e\u305b\u3093"},
  //       "Error: typed iterator for axis  {0} not implemented"},
  
    
     /**  Error: iterator for axis {0} not implemented  */
    //public static final int ER_ITERATOR_AXIS_NOT_IMPLEMENTED = 166;
  
  
    {
      ER_ITERATOR_AXIS_NOT_IMPLEMENTED,
         "\u30a8\u30e9\u30fc: \u8ef8\u306e\u53cd\u5fa9\u5b50 {0} \u306f\u5b9f\u88c5\u3055\u308c\u3066\u3044\u307e\u305b\u3093"},
  //       "Error: iterator for axis {0} not implemented "},
  
    
     /**  Iterator clone not supported  */
    //public static final int ER_ITERATOR_CLONE_NOT_SUPPORTED = 167;
  
  
    {
      ER_ITERATOR_CLONE_NOT_SUPPORTED,
         "\u53cd\u5fa9\u5b50\u30af\u30ed\u30fc\u30f3\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093"},
  //       "Iterator clone not supported"},
  
    
     /**  Unknown axis traversal type  */
    //public static final int ER_UNKNOWN_AXIS_TYPE = 168;
  
  
    {
      ER_UNKNOWN_AXIS_TYPE,
         "\u672a\u77e5\u306e\u8ef8\u30c8\u30e9\u30d0\u30fc\u30b5\u30eb\u30bf\u30a4\u30d7: {0}"},
  //       "Unknown axis traversal type: {0}"},
  
    
     /**  Axis traverser not supported  */
    //public static final int ER_AXIS_NOT_SUPPORTED = 169;
  
  
    {
      ER_AXIS_NOT_SUPPORTED,
         "\u8ef8\u30c8\u30e9\u30d0\u30fc\u30b5\u30eb\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u307e\u305b\u3093: {0}"},
  //       "Axis traverser not supported: {0}"},
  
    
     /**  No more DTM IDs are available  */
    //public static final int ER_NO_DTMIDS_AVAIL = 170;
  
  
    {
      ER_NO_DTMIDS_AVAIL,
         "\u3053\u308c\u4ee5\u4e0a\u306e DTM ID \u306f\u7121\u52b9\u3067\u3059"},
  //       "No more DTM IDs are available"},
  
    
     /**  Not supported  */
    //public static final int ER_NOT_SUPPORTED = 171;
  
  
    {
      ER_NOT_SUPPORTED,
         "\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u307e\u305b\u3093: {0}"},
  //       "Not supported: {0}"},
  
    
     /**  node must be non-null for getDTMHandleFromNode  */
    //public static final int ER_NODE_NON_NULL = 172;
  
  
    {
      ER_NODE_NON_NULL,
         "getDTMHandleFromNode \u306e\u30ce\u30fc\u30c9\u306f null \u4ee5\u5916\u3067\u306a\u304f\u3066\u306f\u306a\u308a\u307e\u305b\u3093"},
  //       "Node must be non-null for getDTMHandleFromNode"},
  
    
     /**  Could not resolve the node to a handle  */
    //public static final int ER_COULD_NOT_RESOLVE_NODE = 173;
  
  
    {
      ER_COULD_NOT_RESOLVE_NODE,
         "\u30ce\u30fc\u30c9\u3092\u30cf\u30f3\u30c9\u30eb\u306b\u5909\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f"},
  //       "Could not resolve the node to a handle"},
  
    
     /**  startParse may not be called while parsing */
    //public static final int ER_STARTPARSE_WHILE_PARSING = 174;
  
  
    {
      ER_STARTPARSE_WHILE_PARSING,
         "\u69cb\u6587\u89e3\u6790\u4e2d\u306b startParse \u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093"},
  //       "startParse may not be called while parsing"},
  
    
     /**  startParse needs a non-null SAXParser  */
    //public static final int ER_STARTPARSE_NEEDS_SAXPARSER = 175;
  
  
    {
      ER_STARTPARSE_NEEDS_SAXPARSER,
         "startParse \u306f null \u3067\u306a\u3044 SAXParser \u3092\u5fc5\u8981\u3068\u3057\u307e\u3059"},
  //       "startParse needs a non-null SAXParser"},
  
    
     /**  could not initialize parser with */
    //public static final int ER_COULD_NOT_INIT_PARSER = 176;
  
  
    {
      ER_COULD_NOT_INIT_PARSER,
         "\u30d1\u30fc\u30b5\u3092\u521d\u671f\u5316\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f"},
  //       "could not initialize parser with"},
  
    
     /**  exception creating new instance for pool  */
    //public static final int ER_EXCEPTION_CREATING_POOL = 178;
  
  
    {
      ER_EXCEPTION_CREATING_POOL,
         "\u4f8b\u5916\u306b\u3088\u308a\u30d7\u30fc\u30eb\u306b\u65b0\u3057\u3044\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059"},
  //       "exception creating new instance for pool"},
  
    
     /**  Path contains invalid escape sequence  */
    //public static final int ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = 179;
  
  
    {
      ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
         "\u30d1\u30b9\u306b\u7121\u52b9\u306a\u30a8\u30b9\u30b1\u30fc\u30d7\u30b7\u30fc\u30b1\u30f3\u30b9\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059"},
  //       "Path contains invalid escape sequence"},
  
    
     /**  Scheme is required!  */
    //public static final int ER_SCHEME_REQUIRED = 180;
  
  
    {
      ER_SCHEME_REQUIRED,
         "\u30b9\u30ad\u30fc\u30de\u304c\u5fc5\u8981\u3067\u3059\u3002"},
  //       "Scheme is required!"},
  
    
     /**  No scheme found in URI  */
    //public static final int ER_NO_SCHEME_IN_URI = 181;
  
  
    {
      ER_NO_SCHEME_IN_URI,
         "URI \u306b\u30b9\u30ad\u30fc\u30de\u304c\u3042\u308a\u307e\u305b\u3093: {0}"},
  //       "No scheme found in URI: {0}"},
  
    
     /**  No scheme found in URI  */
    //public static final int ER_NO_SCHEME_INURI = 182;
  
  
    {
      ER_NO_SCHEME_INURI,
         "URI \u306b\u30b9\u30ad\u30fc\u30de\u304c\u3042\u308a\u307e\u305b\u3093"},
  //       "No scheme found in URI"},
  
    
     /**  Path contains invalid character:   */
    //public static final int ER_PATH_INVALID_CHAR = 183;
  
  
    {
      ER_PATH_INVALID_CHAR,
         "\u30d1\u30b9\u306b\u7121\u52b9\u306a\u6587\u5b57\u5217\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059: {0}"},
  //       "Path contains invalid character: {0}"},
  
    
     /**  Cannot set scheme from null string  */
    //public static final int ER_SCHEME_FROM_NULL_STRING = 184;
  
  
    {
      ER_SCHEME_FROM_NULL_STRING,
         "null \u6587\u5b57\u5217\u304b\u3089\u30b9\u30ad\u30fc\u30de\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093"},
  //       "Cannot set scheme from null string"},
  
    
     /**  The scheme is not conformant. */
    //public static final int ER_SCHEME_NOT_CONFORMANT = 185;
  
  
    {
      ER_SCHEME_NOT_CONFORMANT,
         "\u30b9\u30ad\u30fc\u30de\u304c\u4e00\u81f4\u3057\u307e\u305b\u3093\u3002"},
  //       "The scheme is not conformant."},
  
    
     /**  Host is not a well formed address  */
    //public static final int ER_HOST_ADDRESS_NOT_WELLFORMED = 186;
  
  
    {
      ER_HOST_ADDRESS_NOT_WELLFORMED,
         "\u30db\u30b9\u30c8\u304c\u6b63\u3057\u3044\u5f62\u5f0f\u306e\u30a2\u30c9\u30ec\u30b9\u3067\u306f\u3042\u308a\u307e\u305b\u3093"},
  //      "Host is not a well formed address"},
  
    
     /**  Port cannot be set when host is null  */
    //public static final int ER_PORT_WHEN_HOST_NULL = 187;
  
  
    {
      ER_PORT_WHEN_HOST_NULL,
         "\u30db\u30b9\u30c8\u304c null \u306e\u3068\u304d\u3001\u30dd\u30fc\u30c8\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093"},
  //       "Port cannot be set when host is null"},
  
    
     /**  Invalid port number  */
    //public static final int ER_INVALID_PORT = 188;
  
  
    {
      ER_INVALID_PORT,
         "\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u756a\u53f7"},
  //       "Invalid port number"},
  
    
     /**  Fragment can only be set for a generic URI  */
    //public static final int ER_FRAG_FOR_GENERIC_URI = 189;
  
  
    {
      ER_FRAG_FOR_GENERIC_URI,
         "\u6c4e\u7528 URI \u306b\u5bfe\u3057\u3066\u306e\u307f\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059"},
  //       "Fragment can only be set for a generic URI"},
  
    
     /**  Fragment cannot be set when path is null  */
    //public static final int ER_FRAG_WHEN_PATH_NULL = 190;
  
  
    {
      ER_FRAG_WHEN_PATH_NULL,
         "\u30d1\u30b9\u304c null \u306e\u3068\u304d\u3001\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093"},
  //       "Fragment cannot be set when path is null"},
  
    
     /**  Fragment contains invalid character  */
    //public static final int ER_FRAG_INVALID_CHAR = 191;
  
  
    {
      ER_FRAG_INVALID_CHAR,
         "\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u306b\u7121\u52b9\u306a\u6587\u5b57\u5217\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059"},
  //       "Fragment contains invalid character"},
  
    
   
    
     /** Parser is already in use  */
    //public static final int ER_PARSER_IN_USE = 192;
  
  
    {
      ER_PARSER_IN_USE,
          "\u30d1\u30fc\u30b5\u306f\u3059\u3067\u306b\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059"},
  //        "Parser is already in use"},
  
    
     /** Parser is already in use  */
    //public static final int ER_CANNOT_CHANGE_WHILE_PARSING = 193;
  
  
    {
      ER_CANNOT_CHANGE_WHILE_PARSING,
          "\u69cb\u6587\u89e3\u6790\u4e2d\u3001{0} {1} \u3092\u5909\u66f4\u3067\u304d\u307e\u305b\u3093"},
  //        "Cannot change {0} {1} while parsing"},
  
    
     /** Self-causation not permitted  */
    //public static final int ER_SELF_CAUSATION_NOT_PERMITTED = 194;
  
  
    {
      ER_SELF_CAUSATION_NOT_PERMITTED,
          "\u81ea\u8eab\u304c\u539f\u56e0\u3068\u306a\u3063\u3066\u306f\u306a\u308a\u307e\u305b\u3093"},
  //        "Self-causation not permitted"},
  
    
     /** Userinfo may not be specified if host is not specified   */
    //public static final int ER_NO_USERINFO_IF_NO_HOST = 198;
  
  
    {
      ER_NO_USERINFO_IF_NO_HOST,
          "\u30db\u30b9\u30c8\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u3068\u304d\u3001Userinfo \u3092\u6307\u5b9a\u3067\u304d\u307e\u305b\u3093"},
  //        "Userinfo may not be specified if host is not specified"},
  
    
     /** Port may not be specified if host is not specified   */
    //public static final int ER_NO_PORT_IF_NO_HOST = 199;
  
  
    {
      ER_NO_PORT_IF_NO_HOST,
          "\u30db\u30b9\u30c8\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u3068\u304d\u3001Port \u3092\u6307\u5b9a\u3067\u304d\u307e\u305b\u3093"},
  //        "Port may not be specified if host is not specified"},
  
    
     /** Query string cannot be specified in path and query string   */
    //public static final int ER_NO_QUERY_STRING_IN_PATH = 200;
  
  
    {
      ER_NO_QUERY_STRING_IN_PATH,
          "\u30d1\u30b9\u304a\u3088\u3073\u7167\u4f1a\u6587\u5b57\u5217\u3067 Query \u6587\u5b57\u5217\u306f\u6307\u5b9a\u3067\u304d\u307e\u305b\u3093"},
  //        "Query string cannot be specified in path and query string"},
  
    
     /** Fragment cannot be specified in both the path and fragment   */
    //public static final int ER_NO_FRAGMENT_STRING_IN_PATH = 201;
  
  
    {
      ER_NO_FRAGMENT_STRING_IN_PATH,
          "\u30d1\u30b9\u304a\u3088\u3073\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u306e\u4e21\u65b9\u3067\u3001Fragment \u306f\u6307\u5b9a\u3067\u304d\u307e\u305b\u3093"},
  //        "Fragment cannot be specified in both the path and fragment"},
  
    
     /** Cannot initialize URI with empty parameters   */
    //public static final int ER_CANNOT_INIT_URI_EMPTY_PARMS = 202;
  
  
    {
      ER_CANNOT_INIT_URI_EMPTY_PARMS,
          "\u7a7a\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4f7f\u3063\u3066 URI \u3092\u521d\u671f\u5316\u3067\u304d\u307e\u305b\u3093"},
  //        "Cannot initialize URI with empty parameters"},
    
    /**  Method not yet supported    */
    //public static final int ER_METHOD_NOT_SUPPORTED = 210;
  
  
    {
      ER_METHOD_NOT_SUPPORTED,
          "\u30e1\u30bd\u30c3\u30c9\u306f\u307e\u3060\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093"},
  //        "Method not yet supported "},
  
  
    /** IncrementalSAXSource_Filter not currently restartable   */
    //public static final int ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = 214;
  
  
    {
      ER_INCRSAXSRCFILTER_NOT_RESTARTABLE,
       "IncrementalSAXSource_Filter \u306f\u73fe\u5728\u518d\u8d77\u52d5\u3067\u304d\u307e\u305b\u3093"},
  //     "IncrementalSAXSource_Filter not currently restartable"},
  
    
    /** IncrementalSAXSource_Filter not currently restartable   */
    //public static final int ER_XMLRDR_NOT_BEFORE_STARTPARSE = 215;
  
  
    {
      ER_XMLRDR_NOT_BEFORE_STARTPARSE,
       "XMLReader \u306f startParse \u8981\u6c42\u3088\u308a\u524d\u306b\u914d\u7f6e\u3067\u304d\u307e\u305b\u3093"},
  //     "XMLReader not before startParse request"},
  
  
  // Axis traverser not supported: {0}
    //public static final int ER_AXIS_TRAVERSER_NOT_SUPPORTED = 235;
  
    {
      ER_AXIS_TRAVERSER_NOT_SUPPORTED,
       "\u25bc\u8ef8\u30c8\u30e9\u30d0\u30fc\u30b5\u30eb\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u307e\u305b\u3093: {0}"},
  //     "Axis traverser not supported: {0}"},
  
  
  // ListingErrorHandler created with null PrintWriter!
    //public static final int ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = 236;
  
     {
      ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER,
       "\u25bcListingErrorHandler \u306e\u4f5c\u6210\u6642\u306b null PrintWriter \u304c\u6307\u5b9a\u3055\u308c\u307e\u3057\u305f!"},
  //     "ListingErrorHandler created with null PrintWriter!"},
  
  
    //public static final int ER_SYSTEMID_UNKNOWN = 240;
  
    {
      ER_SYSTEMID_UNKNOWN,
       "\u25bc\u30b7\u30b9\u30c6\u30e0 ID \u304c\u4e0d\u660e\u3067\u3059"},
  //     "SystemId Unknown"},
  
  
    // Location of error unknown
    //public static final int ER_LOCATION_UNKNOWN = 241;
  
    {
      ER_LOCATION_UNKNOWN,
       "\u25bc\u30a8\u30e9\u30fc\u306e\u5834\u6240\u304c\u4e0d\u660e\u3067\u3059"},
  //     "Location of error unknown"},
  
  
    /** Field ER_PREFIX_MUST_RESOLVE          */
    //public static final int ER_PREFIX_MUST_RESOLVE = 52;
  
  
    {
      ER_PREFIX_MUST_RESOLVE,
        "\u63a5\u982d\u8f9e\u306f\u540d\u524d\u7a7a\u9593\u306b\u5909\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059: {0}"},
  //      "Prefix must resolve to a namespace: {0}"},
  
  
    /** Field ER_CREATEDOCUMENT_NOT_SUPPORTED          */
    //public static final int ER_CREATEDOCUMENT_NOT_SUPPORTED = 54;
  
  
    {
      ER_CREATEDOCUMENT_NOT_SUPPORTED,
        "createDocument() \u306f XPathContext \u3067\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002"},
  //      "createDocument() not supported in XPathContext!"},
  
  
    /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT          */
    //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT = 55;
  
  
    {
      ER_CHILD_HAS_NO_OWNER_DOCUMENT,
        "\u5c5e\u6027 child \u306f\u6240\u6709\u8005\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u4fdd\u6301\u3057\u3066\u3044\u307e\u305b\u3093\u3002"},
  //      "Attribute child does not have an owner document!"},
  
  
    /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT          */
    //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = 56;
  
  
    {
      ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
        "\u5c5e\u6027 child \u306f\u6240\u6709\u8005\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u8981\u7d20\u3092\u4fdd\u6301\u3057\u3066\u3044\u307e\u305b\u3093\u3002"},
  //      "Attribute child does not have an owner document element!"},
  
  
    /** Field ER_CANT_OUTPUT_TEXT_BEFORE_DOC          */
    //public static final int ER_CANT_OUTPUT_TEXT_BEFORE_DOC = 63;
  
  
    {
      ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
        "\u8b66\u544a: \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u8981\u7d20\u3088\u308a\u524d\u306b\u30c6\u30ad\u30b9\u30c8\u3092\u51fa\u529b\u3067\u304d\u307e\u305b\u3093\u3002\u7121\u8996\u3057\u307e\u3059..."},
  //      "Warning: can't output text before document element!  Ignoring..."},
  
  
    /** Field ER_CANT_HAVE_MORE_THAN_ONE_ROOT          */
    //public static final int ER_CANT_HAVE_MORE_THAN_ONE_ROOT = 64;
  
  
    {
      ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
        "DOM \u306b\u306f\u8907\u6570\u306e\u30eb\u30fc\u30c8\u3092\u4fdd\u6301\u3067\u304d\u307e\u305b\u3093\u3002"},
  //      "Can't have more than one root on a DOM!"},
  
    
     /**  Argument 'localName' is null  */
    //public static final int ER_ARG_LOCALNAME_NULL = 70;
  
  
    {
      ER_ARG_LOCALNAME_NULL,
         "\u5f15\u6570 'localName' \u304c null \u3067\u3059"},
  //       "Argument 'localName' is null"},
  
  
    // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
    // The localname is the portion after the optional colon; the message indicates
    // that there is a problem with that part of the QNAME.
  
    /** localname in QNAME should be a valid NCName */
    //public static final int ER_ARG_LOCALNAME_INVALID = 101;
  
  
    {
      ER_ARG_LOCALNAME_INVALID,
         "\u25bcQNAME \u5185\u306e\u30ed\u30fc\u30ab\u30eb\u540d\u306f\u6709\u52b9\u306a NCName \u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093"},
  
    
    // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
    // The prefix is the portion before the optional colon; the message indicates
    // that there is a problem with that part of the QNAME.
  
    /** prefix in QNAME should be a valid NCName */
    //public static final int ER_ARG_PREFIX_INVALID = 102;
  
  
    {
      ER_ARG_PREFIX_INVALID,
         "\u25bcQNAME \u5185\u306e\u63a5\u982d\u8f9e\u306f\u6709\u52b9\u306a NCName \u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093"},
  
    { "BAD_CODE",
        "createMessage \u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u7bc4\u56f2\u5916\u3067\u3057\u305f"},
    { "FORMAT_FAILED",
        "messageFormat \u547c\u3073\u51fa\u3057\u3067\u4f8b\u5916\u304c\u30b9\u30ed\u30fc\u3055\u308c\u307e\u3057\u305f"},
    { "line", "\u884c\u756a\u53f7"},
    { "column", "\u5217\u756a\u53f7"}
    
    };
  
    /**
     * Get the association list.
     *
     * @return The association list.
     */
    public Object[][] getContents()
    {
      return contents;
    }  
  }
  
  
  1.1                  xml-xalan/java/src/org/apache/xml/res/XMLErrorResources_ko.java
  
  Index: XMLErrorResources_ko.java
  ===================================================================
  /*
   * 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 "Xalan" 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, Lotus
   * Development Corporation., http://www.lotus.com.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   */
  package org.apache.xml.res;
  
  
  /**
   * Set up error messages.
   * We build a two dimensional array of message keys and
   * message strings. In order to add a new message here,
   * you need to first add a String constant. And you need
   * to enter key, value pair as part of the contents
   * array. You also need to update MAX_CODE for error strings
   * and MAX_WARNING for warnings ( Needed for only information
   * purpose )
   */
  public class XMLErrorResources_ko extends XMLErrorResources
  {
  
    /** Maximum error messages, this is needed to keep track of the number of messages.    */
    public static final int MAX_CODE = 61;
  
    /** Maximum warnings, this is needed to keep track of the number of warnings.          */
    public static final int MAX_WARNING = 0;
  
    /** Maximum misc strings.   */
    public static final int MAX_OTHERS = 4;
  
    /** Maximum total warnings and error messages.          */
    public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
  
  
    // Error messages...
  
    /** The lookup table for error messages.   */
    public static final Object[][] contents = {
  
    /** Error message ID that has a null message, but takes in a single object.    */
      {"ER0000" , "{0}" },
  
  
    /** ER_FUNCTION_NOT_SUPPORTED          */
    //public static final int ER_FUNCTION_NOT_SUPPORTED = 80;
  
  
    {
      ER_FUNCTION_NOT_SUPPORTED, "\uae30\ub2a5\uc774 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4!"},
  
    
    /** Can't overwrite cause         */
    //public static final int ER_CANNOT_OVERWRITE_CAUSE = 115;
  
  
    {
      ER_CANNOT_OVERWRITE_CAUSE,
  			"\uacb9\uccd0\uc4f8 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4"},
  
    
     /**  No default implementation found */
    //public static final int ER_NO_DEFAULT_IMPL = 156;
  
  
    {
      ER_NO_DEFAULT_IMPL,
           "\uae30\ubcf8 \uad6c\ud604\uc744 \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4"},
  
    
     /**  ChunkedIntArray({0}) not currently supported */
    //public static final int ER_CHUNKEDINTARRAY_NOT_SUPPORTED = 157;
  
  
    {
      ER_CHUNKEDINTARRAY_NOT_SUPPORTED,
         "ChunkedIntArray({0})\ub294 \ud604\uc7ac \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4."},
  
    
     /**  Offset bigger than slot */
    //public static final int ER_OFFSET_BIGGER_THAN_SLOT = 158;
  
  
    {
      ER_OFFSET_BIGGER_THAN_SLOT,
         "\uc624\ud504\uc14b\uc774 \uc2ac\ub86f\ubcf4\ub2e4 \ud07d\ub2c8\ub2e4"},
  
    
     /**  Coroutine not available, id= */
    //public static final int ER_COROUTINE_NOT_AVAIL = 159;
  
  
    {
      ER_COROUTINE_NOT_AVAIL,
         "Coroutine\uc740 \uc0ac\uc6a9\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4, ID={0}"},
  
    
     /**  CoroutineManager recieved co_exit() request */
    //public static final int ER_COROUTINE_CO_EXIT = 160;
  
  
    {
      ER_COROUTINE_CO_EXIT,
         "CoroutineManager\uac00 co_exit() \uc694\uccad\uc744 \uc218\uc2e0\ud588\uc2b5\ub2c8\ub2e4"},
  
    
     /**  co_joinCoroutineSet() failed */
    //public static final int ER_COJOINROUTINESET_FAILED = 161;
  
  
    {
      ER_COJOINROUTINESET_FAILED,
         "co_joinCoroutineSet()\uc774 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4"},
  
    
     /**  Coroutine parameter error () */
    //public static final int ER_COROUTINE_PARAM = 162;
  
  
    {
      ER_COROUTINE_PARAM,
         "Coroutine \ub9e4\uac1c\ubcc0\uc218 \uc624\ub958({0})"},
  
    
     /**  UNEXPECTED: Parser doTerminate answers  */
    //public static final int ER_PARSER_DOTERMINATE_ANSWERS = 163;
  
  
    {
      ER_PARSER_DOTERMINATE_ANSWERS,
         "\n\uc608\uc0c1\uce58 \ubabb\ud55c \ubb38\uc81c: doTerminate \uad6c\ubb38 \ubd84\uc11d\uae30\uac00 {0}\uc5d0 \uc751\ub2f5\ud588\uc2b5\ub2c8\ub2e4. "},
  
    
     /**  parse may not be called while parsing */
    //public static final int ER_NO_PARSE_CALL_WHILE_PARSING = 164;
  
  
    {
      ER_NO_PARSE_CALL_WHILE_PARSING,
         "\uad6c\ubb38 \ubd84\uc11d\ud558\ub294 \ub3d9\uc548\uc5d0\ub294 \uad6c\ubb38 \ubd84\uc11d\uc744 \ud638\ucd9c\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4"},
  
    
     /**  Error: typed iterator for axis  {0} not implemented  */
    //public static final int ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = 165;
  
  
    {
      ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED,
         "\uc624\ub958: {0} \ucd95\uc5d0 \ub300\ud574 \uc785\ub825\ub41c \ubc18\ubcf5\uae30\uac00 \uad6c\ud604\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4."},
  
    
     /**  Error: iterator for axis {0} not implemented  */
    //public static final int ER_ITERATOR_AXIS_NOT_IMPLEMENTED = 166;
  
  
    {
      ER_ITERATOR_AXIS_NOT_IMPLEMENTED,
         "\uc624\ub958: {0} \ucd95\uc5d0 \ub300\ud55c \ubc18\ubcf5\uae30\uac00 \uad6c\ud604\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. "},
  
    
     /**  Iterator clone not supported  */
    //public static final int ER_ITERATOR_CLONE_NOT_SUPPORTED = 167;
  
  
    {
      ER_ITERATOR_CLONE_NOT_SUPPORTED,
         "\ubc18\ubcf5\uae30 \ubcf5\uc81c\uac00 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4"},
  
    
     /**  Unknown axis traversal type  */
    //public static final int ER_UNKNOWN_AXIS_TYPE = 168;
  
  
    {
      ER_UNKNOWN_AXIS_TYPE,
         "\uc54c \uc218 \uc5c6\ub294 \ucd95 \uc21c\ud68c \uc720\ud615: {0}"},
  
    
     /**  Axis traverser not supported  */
    //public static final int ER_AXIS_NOT_SUPPORTED = 169;
  
  
    {
      ER_AXIS_NOT_SUPPORTED,
         "\ucd95 \uc21c\ud68c\uae30\uac00 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4: {0}"},
  
    
     /**  No more DTM IDs are available  */
    //public static final int ER_NO_DTMIDS_AVAIL = 170;
  
  
    {
      ER_NO_DTMIDS_AVAIL,
         "\ub354 \uc774\uc0c1 DTM ID\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
  
    
     /**  Not supported  */
    //public static final int ER_NOT_SUPPORTED = 171;
  
  
    {
      ER_NOT_SUPPORTED,
         "\uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4: {0}"},
  
    
     /**  node must be non-null for getDTMHandleFromNode  */
    //public static final int ER_NODE_NON_NULL = 172;
  
  
    {
      ER_NODE_NON_NULL,
         "\ub178\ub4dc\ub294 getDTMHandleFromNode\uc5d0 \ub300\ud574 \ub110\uc774 \uc544\ub2c8\uc5b4\uc57c \ud569\ub2c8\ub2e4"},
  
    
     /**  Could not resolve the node to a handle  */
    //public static final int ER_COULD_NOT_RESOLVE_NODE = 173;
  
  
    {
      ER_COULD_NOT_RESOLVE_NODE,
         "\ub178\ub4dc\ub97c \ud578\ub4e4\ub85c \ubcc0\ud658\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4"},
  
    
     /**  startParse may not be called while parsing */
    //public static final int ER_STARTPARSE_WHILE_PARSING = 174;
  
  
    {
      ER_STARTPARSE_WHILE_PARSING,
         "startParse\ub294 \uad6c\ubb38 \ubd84\uc11d \uc911\uc5d0 \ud638\ucd9c\ub420 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4"},
  
    
     /**  startParse needs a non-null SAXParser  */
    //public static final int ER_STARTPARSE_NEEDS_SAXPARSER = 175;
  
  
    {
      ER_STARTPARSE_NEEDS_SAXPARSER,
         "startParse\uc5d0\ub294 \ub110\uc774 \uc544\ub2cc SAXParser\uac00 \ud544\uc694\ud569\ub2c8\ub2e4"},
  
    
     /**  could not initialize parser with */
    //public static final int ER_COULD_NOT_INIT_PARSER = 176;
  
  
    {
      ER_COULD_NOT_INIT_PARSER,
         "\ub2e4\uc74c\uc73c\ub85c \uad6c\ubb38 \ubd84\uc11d\uae30\ub97c \ucd08\uae30\ud654\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4: "},
  
    
     /**  exception creating new instance for pool  */
    //public static final int ER_EXCEPTION_CREATING_POOL = 178;
  
  
    {
      ER_EXCEPTION_CREATING_POOL,
         "\ud480\uc5d0 \ub300\ud55c \uc0c8 \uc778\uc2a4\ud134\uc2a4 \uc791\uc131 \uc911 \uc608\uc678\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4"},
  
    
     /**  Path contains invalid escape sequence  */
    //public static final int ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = 179;
  
  
    {
      ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
         "\uacbd\ub85c\uc5d0 \uc798\ubabb\ub41c \uc81c\uc5b4 \ubb38\uc790\uc5f4\uc774 \ud3ec\ud568\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4"},
  
    
     /**  Scheme is required!  */
    //public static final int ER_SCHEME_REQUIRED = 180;
  
  
    {
      ER_SCHEME_REQUIRED,
         "\uccb4\uacc4\uac00 \ud544\uc694\ud569\ub2c8\ub2e4!"},
  
    
     /**  No scheme found in URI  */
    //public static final int ER_NO_SCHEME_IN_URI = 181;
  
  
    {
      ER_NO_SCHEME_IN_URI,
         "URI\uc5d0  \uccb4\uacc4\uac00 \uc5c6\uc2b5\ub2c8\ub2e4: {0}"},
  
    
     /**  No scheme found in URI  */
    //public static final int ER_NO_SCHEME_INURI = 182;
  
  
    {
      ER_NO_SCHEME_INURI,
         "URI\uc5d0 \uccb4\uacc4\uac00 \uc5c6\uc2b5\ub2c8\ub2e4"},
  
    
     /**  Path contains invalid character:   */
    //public static final int ER_PATH_INVALID_CHAR = 183;
  
  
    {
      ER_PATH_INVALID_CHAR,
         "\uacbd\ub85c\uc5d0 \uc798\ubabb\ub41c \ubb38\uc790 {0}\uc774(\uac00) \ud3ec\ud568\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4."},
  
    
     /**  Cannot set scheme from null string  */
    //public static final int ER_SCHEME_FROM_NULL_STRING = 184;
  
  
    {
      ER_SCHEME_FROM_NULL_STRING,
         "\ub110 \ubb38\uc790\uc5f4\uc5d0\uc11c \uccb4\uacc4\ub97c \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4"},
  
    
     /**  The scheme is not conformant. */
    //public static final int ER_SCHEME_NOT_CONFORMANT = 185;
  
  
    {
      ER_SCHEME_NOT_CONFORMANT,
         "\uccb4\uacc4\uac00 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4."},
  
    
     /**  Host is not a well formed address  */
    //public static final int ER_HOST_ADDRESS_NOT_WELLFORMED = 186;
  
  
    {
      ER_HOST_ADDRESS_NOT_WELLFORMED,
         "\ud638\uc2a4\ud2b8 \uc8fc\uc18c\uac00 \uc62c\ubc14\ub978 \ud615\uc2dd\uc774 \uc544\ub2d9\ub2c8\ub2e4"},
  
    
     /**  Port cannot be set when host is null  */
    //public static final int ER_PORT_WHEN_HOST_NULL = 187;
  
  
    {
      ER_PORT_WHEN_HOST_NULL,
         "\ud638\uc2a4\ud2b8\uac00 \ub110\uc774\uba74 \ud3ec\ud2b8\ub97c \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4"},
  
    
     /**  Invalid port number  */
    //public static final int ER_INVALID_PORT = 188;
  
  
    {
      ER_INVALID_PORT,
         "\uc798\ubabb\ub41c \ud3ec\ud2b8 \ubc88\ud638\uc785\ub2c8\ub2e4"},
  
    
     /**  Fragment can only be set for a generic URI  */
    //public static final int ER_FRAG_FOR_GENERIC_URI = 189;
  
  
    {
      ER_FRAG_FOR_GENERIC_URI,
         "\ub2e8\ud3b8\uc740 \uc77c\ubc18 URI\uc5d0 \ub300\ud574\uc11c\ub9cc \uc124\uc815\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4"},
  
    
     /**  Fragment cannot be set when path is null  */
    //public static final int ER_FRAG_WHEN_PATH_NULL = 190;
  
  
    {
      ER_FRAG_WHEN_PATH_NULL,
         "\uacbd\ub85c\uac00 \ub110\uc774\uba74 \ub2e8\ud3b8\uc744 \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4"},
  
    
     /**  Fragment contains invalid character  */
    //public static final int ER_FRAG_INVALID_CHAR = 191;
  
  
    {
      ER_FRAG_INVALID_CHAR,
         "\ub2e8\ud3b8\uc5d0 \uc798\ubabb\ub41c \ubb38\uc790\uac00 \ud3ec\ud568\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4"},
  
    
   
    
     /** Parser is already in use  */
    //public static final int ER_PARSER_IN_USE = 192;
  
  
    {
      ER_PARSER_IN_USE,
          "\uad6c\ubb38 \ubd84\uc11d\uae30\uac00 \uc774\ubbf8 \uc0ac\uc6a9 \uc911\uc785\ub2c8\ub2e4"},
  
    
     /** Parser is already in use  */
    //public static final int ER_CANNOT_CHANGE_WHILE_PARSING = 193;
  
  
    {
      ER_CANNOT_CHANGE_WHILE_PARSING,
          "\uad6c\ubb38 \ubd84\uc11d \uc911\uc5d0\ub294 {0} {1}\uc744(\ub97c) \ubcc0\uacbd\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4"},
  
    
     /** Self-causation not permitted  */
    //public static final int ER_SELF_CAUSATION_NOT_PERMITTED = 194;
  
  
    {
      ER_SELF_CAUSATION_NOT_PERMITTED,
          "\uc790\uccb4 \uc6d0\uc778 \uc81c\uacf5\uc740 \ud5c8\uc6a9\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4"},
  
    
     /** Userinfo may not be specified if host is not specified   */
    //public static final int ER_NO_USERINFO_IF_NO_HOST = 198;
  
  
    {
      ER_NO_USERINFO_IF_NO_HOST,
          "\ud638\uc2a4\ud2b8\uac00 \uc9c0\uc815\ub418\uc5b4 \uc788\uc9c0 \uc54a\uc73c\uba74 Userinfo\ub97c \uc9c0\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4"},
  
    
     /** Port may not be specified if host is not specified   */
    //public static final int ER_NO_PORT_IF_NO_HOST = 199;
  
  
    {
      ER_NO_PORT_IF_NO_HOST,
          "\ud638\uc2a4\ud2b8\uac00 \uc9c0\uc815\ub418\uc5b4 \uc788\uc9c0 \uc54a\uc73c\uba74 \ud3ec\ud2b8\ub97c \uc9c0\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4"},
  
    
     /** Query string cannot be specified in path and query string   */
    //public static final int ER_NO_QUERY_STRING_IN_PATH = 200;
  
  
    {
      ER_NO_QUERY_STRING_IN_PATH,
          "\uc9c8\uc758 \ubb38\uc790\uc5f4\uc744 \uacbd\ub85c \ub610\ub294 \uc9c8\uc758 \ubb38\uc790\uc5f4 \ub0b4\uc5d0 \uc9c0\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4"},
  
    
     /** Fragment cannot be specified in both the path and fragment   */
    //public static final int ER_NO_FRAGMENT_STRING_IN_PATH = 201;
  
  
    {
      ER_NO_FRAGMENT_STRING_IN_PATH,
          "\ub2e8\ud3b8\uc744 \uacbd\ub85c\uc640 \ub2e8\ud3b8 \ubaa8\ub450\uc5d0 \uc9c0\uc815\ud560 \uc218\ub294 \uc5c6\uc2b5\ub2c8\ub2e4"},
  
    
     /** Cannot initialize URI with empty parameters   */
    //public static final int ER_CANNOT_INIT_URI_EMPTY_PARMS = 202;
  
  
    {
      ER_CANNOT_INIT_URI_EMPTY_PARMS,
          "\ube48 \ub9e4\uac1c\ubcc0\uc218\ub85c\ub294 URI\ub97c \ucd08\uae30\ud654\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4"},
  
    
    /**  Method not yet supported    */
    //public static final int ER_METHOD_NOT_SUPPORTED = 210;
  
  
    {
      ER_METHOD_NOT_SUPPORTED,
          "\uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294 \uba54\uc18c\ub4dc\uc785\ub2c8\ub2e4 "},
  
  
    /** IncrementalSAXSource_Filter not currently restartable   */
    //public static final int ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = 214;
  
  
    {
      ER_INCRSAXSRCFILTER_NOT_RESTARTABLE,
       "IncrementalSAXSource_Filter\ub97c \ub2e4\uc2dc \uc2dc\uc791\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4"},
  
    
    /** IncrementalSAXSource_Filter not currently restartable   */
    //public static final int ER_XMLRDR_NOT_BEFORE_STARTPARSE = 215;
  
  
    {
      ER_XMLRDR_NOT_BEFORE_STARTPARSE,
       "startParse \uc694\uccad \uc804\uc5d0 XMLReader\ub97c \uc218\ud589\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4"},
  
  
  // Axis traverser not supported: {0}
    //public static final int ER_AXIS_TRAVERSER_NOT_SUPPORTED = 235;
  
    {
      ER_AXIS_TRAVERSER_NOT_SUPPORTED,
       "\ucd95 \ud2b8\ub798\ubc84\uc11c\uac00 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc74c: {0}"},
  
  
  // ListingErrorHandler created with null PrintWriter!
    //public static final int ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = 236;
  
    {
      ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER,
       "ListingErrorHandler\uac00 \ub110 PrintWriter\ub85c \uc791\uc131\ub428!"},
  
  
    //public static final int ER_SYSTEMID_UNKNOWN = 240;
  
    {
      ER_SYSTEMID_UNKNOWN,
       "\uc2dc\uc2a4\ud15c ID\ub97c \uc54c \uc218 \uc5c6\uc74c"},
  
  
    // Location of error unknown
    //public static final int ER_LOCATION_UNKNOWN = 241;
  
    {
      ER_LOCATION_UNKNOWN,
       "\uc624\ub958 \uc704\uce58\ub97c \uc54c \uc218 \uc5c6\uc74c"},
   
  
    /** Field ER_PREFIX_MUST_RESOLVE          */
    //public static final int ER_PREFIX_MUST_RESOLVE = 52;
  
   
    {
      ER_PREFIX_MUST_RESOLVE,
        "\uc811\ub450\uc5b4\uac00 \uc774\ub984 \uacf5\uac04 {0}\uc73c\ub85c(\ub85c) \uacb0\uc815\ub418\uc5b4\uc57c \ud569\ub2c8\ub2e4."},
   
  
    /** Field ER_CREATEDOCUMENT_NOT_SUPPORTED          */
    //public static final int ER_CREATEDOCUMENT_NOT_SUPPORTED = 54;
  
   
    {
      ER_CREATEDOCUMENT_NOT_SUPPORTED,
        "createDocument()\ub294 XPathContext\uc5d0\uc11c \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4!"},
   
  
    /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT          */
    //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT = 55;
  
   
    {
      ER_CHILD_HAS_NO_OWNER_DOCUMENT,
        "\uc790\uc2dd \uc18d\uc131\uc5d0 \uc18c\uc720\uc790 \ubb38\uc11c\uac00 \uc5c6\uc2b5\ub2c8\ub2e4!"},
   
  
    /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT          */
    //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = 56;
  
   
    {
      ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
        "\uc790\uc2dd \uc18d\uc131\uc5d0 \uc18c\uc720\uc790 \ubb38\uc11c \uc694\uc18c\uac00 \uc5c6\uc2b5\ub2c8\ub2e4!"},
   
  
    /** Field ER_CANT_OUTPUT_TEXT_BEFORE_DOC          */
    //public static final int ER_CANT_OUTPUT_TEXT_BEFORE_DOC = 63;
  
   
    {
      ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
        "\uacbd\uace0: \ubb38\uc11c \uc694\uc18c \uc804\uc5d0 \ud14d\uc2a4\ud2b8\ub97c \ucd9c\ub825\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4! \ubb34\uc2dc\ub429\ub2c8\ub2e4..."},
   
  
    /** Field ER_CANT_HAVE_MORE_THAN_ONE_ROOT          */
    //public static final int ER_CANT_HAVE_MORE_THAN_ONE_ROOT = 64;
  
   
    {
      ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
        "DOM\uc5d0 \ub450 \uac1c \uc774\uc0c1\uc758 \ub8e8\ud2b8\ub97c \uac00\uc9c8 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4!"},
   
    
     /**  Argument 'localName' is null  */
    //public static final int ER_ARG_LOCALNAME_NULL = 70;
  
   
    {
      ER_ARG_LOCALNAME_NULL,
         "'localName' \uc778\uc790\uac00 \ub110\uc785\ub2c8\ub2e4"},
   
  
    // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
    // The localname is the portion after the optional colon; the message indicates
    // that there is a problem with that part of the QNAME.
  
    /** localname in QNAME should be a valid NCName */
    //public static final int ER_ARG_LOCALNAME_INVALID = 101;
  
   
    {
      ER_ARG_LOCALNAME_INVALID,
         "QNAME\uc758 \ub85c\uceec \uc774\ub984\uc740 \uc720\ud6a8\ud55c NCName\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4."},
   
    
    // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
    // The prefix is the portion before the optional colon; the message indicates
    // that there is a problem with that part of the QNAME.
  
    /** prefix in QNAME should be a valid NCName */
    //public static final int ER_ARG_PREFIX_INVALID = 102;
  
   
    {
      ER_ARG_PREFIX_INVALID,
         "QNAME\uc758 \uc811\ub450\uc5b4\ub294 \uc720\ud6a8\ud55c NCName\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4."},
  
    { "BAD_CODE",
        "createMessage\uc758 \ub9e4\uac1c\ubcc0\uc218\uac00 \ubc14\uc6b4\ub4dc\ub97c \ubc97\uc5b4\ub0ac\uc2b5\ub2c8\ub2e4."},
    { "FORMAT_FAILED",
        "messageFormat \ud638\ucd9c \uc2dc \uc608\uc678 \ubc1c\uc0dd"},
    { "line", "\ud589 #"},
    { "column", "\uc5f4 #"}
    
    };
  
    /**
     * Get the association list.
     *
     * @return The association list.
     */
    public Object[][] getContents()
    {
      return contents;
    }
    
  }
  
  
  1.1                  xml-xalan/java/src/org/apache/xml/res/XMLErrorResources_sv.java
  
  Index: XMLErrorResources_sv.java
  ===================================================================
  /*
   * 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 "Xalan" 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, Lotus
   * Development Corporation., http://www.lotus.com.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   */
  package org.apache.xml.res;
  
  
  /**
   * Set up error messages.
   * We build a two dimensional array of message keys and
   * message strings. In order to add a new message here,
   * you need to first add a String constant. And you need
   * to enter key, value pair as part of the contents
   * array. You also need to update MAX_CODE for error strings
   * and MAX_WARNING for warnings ( Needed for only information
   * purpose )
   */
  public class XMLErrorResources_sv extends XMLErrorResources
  {
  
    /** Maximum error messages, this is needed to keep track of the number of messages.    */
    public static final int MAX_CODE = 61;
  
    /** Maximum warnings, this is needed to keep track of the number of warnings.          */
    public static final int MAX_WARNING = 0;
  
    /** Maximum misc strings.   */
    public static final int MAX_OTHERS = 4;
  
    /** Maximum total warnings and error messages.          */
    public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
  
    
    // Error messages...
  
    /** The lookup table for error messages.   */
    public static final Object[][] contents = {
  
    /** Error message ID that has a null message, but takes in a single object.    */
      {"ER0000" , "{0}" },
  
    /** ER_FUNCTION_NOT_SUPPORTED          */
    //public static final int ER_FUNCTION_NOT_SUPPORTED = 80;
  
  
    {
      ER_FUNCTION_NOT_SUPPORTED, "Funktion inte underst\u00f6dd:"},
  
    
    /** Can't overwrite cause         */
    //public static final int ER_CANNOT_OVERWRITE_CAUSE = 115;
  
  
    {
      ER_CANNOT_OVERWRITE_CAUSE,
  			"Kan inte skriva \u00f6ver orsak"},
  
    
     /**  No default implementation found */
    //public static final int ER_NO_DEFAULT_IMPL = 156;
  
  
    {
      ER_NO_DEFAULT_IMPL,
           "Standardimplementering saknas i:"},
  
    
     /**  ChunkedIntArray({0}) not currently supported */
    //public static final int ER_CHUNKEDINTARRAY_NOT_SUPPORTED = 157;
  
  
    {
      ER_CHUNKEDINTARRAY_NOT_SUPPORTED,
         "ChunkedIntArray({0}) underst\u00f6ds f\u00f6r n\u00e4rvarande inte"},
  
    
     /**  Offset bigger than slot */
    //public static final int ER_OFFSET_BIGGER_THAN_SLOT = 158;
  
  
    {
      ER_OFFSET_BIGGER_THAN_SLOT,
         "Offset st\u00f6rre \u00e4n fack"},
  
    
     /**  Coroutine not available, id= */
    //public static final int ER_COROUTINE_NOT_AVAIL = 159;
  
  
    {
      ER_COROUTINE_NOT_AVAIL,
         "Sidorutin inte tillg\u00e4nglig, id={0}"},
  
    
     /**  CoroutineManager recieved co_exit() request */
    //public static final int ER_COROUTINE_CO_EXIT = 160;
  
  
    {
      ER_COROUTINE_CO_EXIT,
         "CoroutineManager mottog co_exit()-f\u00f6rfr\u00e5gan"},
  
    
     /**  co_joinCoroutineSet() failed */
    //public static final int ER_COJOINROUTINESET_FAILED = 161;
  
  
    {
      ER_COJOINROUTINESET_FAILED,
         "co_joinCoroutineSet() misslyckades"},
  
    
     /**  Coroutine parameter error () */
    //public static final int ER_COROUTINE_PARAM = 162;
  
  
    {
      ER_COROUTINE_PARAM,
         "Sidorutin fick parameterfel ({0})"},
  
    
     /**  UNEXPECTED: Parser doTerminate answers  */
    //public static final int ER_PARSER_DOTERMINATE_ANSWERS = 163;
  
  
    {
      ER_PARSER_DOTERMINATE_ANSWERS,
         "\nOV\u00c4NTAT: Parser doTerminate-svar {0}"},
  
    
     /**  parse may not be called while parsing */
    //public static final int ER_NO_PARSE_CALL_WHILE_PARSING = 164;
  
  
    {
      ER_NO_PARSE_CALL_WHILE_PARSING,
         "parse f\u00e5r inte anropas medan tolkning sker"},
  
    
     /**  Error: typed iterator for axis  {0} not implemented  */
    //public static final int ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = 165;
  
  
    {
      ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED,
         "Fel: typad upprepare f\u00f6r axel {0} inte implementerad"},
  
    
     /**  Error: iterator for axis {0} not implemented  */
    //public static final int ER_ITERATOR_AXIS_NOT_IMPLEMENTED = 166;
  
  
    {
      ER_ITERATOR_AXIS_NOT_IMPLEMENTED,
         "Fel: upprepare f\u00f6r axel {0} inte implementerad"},
  
    
     /**  Iterator clone not supported  */
    //public static final int ER_ITERATOR_CLONE_NOT_SUPPORTED = 167;
  
  
    {
      ER_ITERATOR_CLONE_NOT_SUPPORTED,
         "Uppreparklon underst\u00f6ds inte"},
  
    
     /**  Unknown axis traversal type  */
    //public static final int ER_UNKNOWN_AXIS_TYPE = 168;
  
  
    {
      ER_UNKNOWN_AXIS_TYPE,
         "Ok\u00e4nd axeltraverstyp: {0}"},
  
    
     /**  Axis traverser not supported  */
    //public static final int ER_AXIS_NOT_SUPPORTED = 169;
  
  
    {
      ER_AXIS_NOT_SUPPORTED,
         "Axeltravers underst\u00f6ds inte: {0}"},
  
    
     /**  No more DTM IDs are available  */
    //public static final int ER_NO_DTMIDS_AVAIL = 170;
  
  
    {
      ER_NO_DTMIDS_AVAIL,
         "Inga fler DTM-IDs \u00e4r tillg\u00e4ngliga"},
  
    
     /**  Not supported  */
    //public static final int ER_NOT_SUPPORTED = 171;
  
  
    {
      ER_NOT_SUPPORTED,
         "Underst\u00f6ds inte: {0}"},
  
    
     /**  node must be non-null for getDTMHandleFromNode  */
    //public static final int ER_NODE_NON_NULL = 172;
  
  
    {
      ER_NODE_NON_NULL,
         "Nod m\u00e5ste vara icke-null f\u00f6r getDTMHandleFromNode"},
  
    
     /**  Could not resolve the node to a handle  */
    //public static final int ER_COULD_NOT_RESOLVE_NODE = 173;
  
  
    {
      ER_COULD_NOT_RESOLVE_NODE,
         "Kunde inte l\u00f6sa nod till ett handtag"},
  
    
     /**  startParse may not be called while parsing */
    //public static final int ER_STARTPARSE_WHILE_PARSING = 174;
  
  
    {
      ER_STARTPARSE_WHILE_PARSING,
         "startParse f\u00e5r inte anropas medan tolkning sker"},
  
    
     /**  startParse needs a non-null SAXParser  */
    //public static final int ER_STARTPARSE_NEEDS_SAXPARSER = 175;
  
  
    {
      ER_STARTPARSE_NEEDS_SAXPARSER,
         "startParse beh\u00f6ver en SAXParser som \u00e4r icke-null"},
  
    
     /**  could not initialize parser with */
    //public static final int ER_COULD_NOT_INIT_PARSER = 176;
  
  
    {
      ER_COULD_NOT_INIT_PARSER,
         "kunde inte initialisera tolk med"},
  
    
     /**  exception creating new instance for pool  */
    //public static final int ER_EXCEPTION_CREATING_POOL = 178;
  
  
    {
      ER_EXCEPTION_CREATING_POOL,
         "undantag skapar ny instans f\u00f6r pool"},
  
    
     /**  Path contains invalid escape sequence  */
    //public static final int ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = 179;
  
  
    {
      ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
         "V\u00e4g inneh\u00e5ller ogiltig flyktsekvens"},
  
    
     /**  Scheme is required!  */
    //public static final int ER_SCHEME_REQUIRED = 180;
  
  
    {
      ER_SCHEME_REQUIRED,
         "Schema kr\u00e4vs!"},
  
    
     /**  No scheme found in URI  */
    //public static final int ER_NO_SCHEME_IN_URI = 181;
  
  
    {
      ER_NO_SCHEME_IN_URI,
         "Schema saknas i URI: {0}"},
  
    
     /**  No scheme found in URI  */
    //public static final int ER_NO_SCHEME_INURI = 182;
  
  
    {
      ER_NO_SCHEME_INURI,
         "Schema saknas i URI"},
  
    
     /**  Path contains invalid character:   */
    //public static final int ER_PATH_INVALID_CHAR = 183;
  
  
    {
      ER_PATH_INVALID_CHAR,
         "V\u00e4g inneh\u00e5ller ogiltigt tecken: {0}"},
  
    
     /**  Cannot set scheme from null string  */
    //public static final int ER_SCHEME_FROM_NULL_STRING = 184;
  
  
    {
      ER_SCHEME_FROM_NULL_STRING,
         "Kan inte s\u00e4tta schema fr\u00e5n null-str\u00e4ng"},
  
    
     /**  The scheme is not conformant. */
    //public static final int ER_SCHEME_NOT_CONFORMANT = 185;
  
  
    {
      ER_SCHEME_NOT_CONFORMANT,
         "Schemat \u00e4r inte likformigt."},
  
    
     /**  Host is not a well formed address  */
    //public static final int ER_HOST_ADDRESS_NOT_WELLFORMED = 186;
  
  
    {
      ER_HOST_ADDRESS_NOT_WELLFORMED,
         "V\u00e4rd \u00e4r inte en v\u00e4lformulerad adress"},
  
    
     /**  Port cannot be set when host is null  */
    //public static final int ER_PORT_WHEN_HOST_NULL = 187;
  
  
    {
      ER_PORT_WHEN_HOST_NULL,
         "Port kan inte s\u00e4ttas n\u00e4r v\u00e4rd \u00e4r null"},
  
    
     /**  Invalid port number  */
    //public static final int ER_INVALID_PORT = 188;
  
  
    {
      ER_INVALID_PORT,
         "Ogiltigt portnummer"},
  
    
     /**  Fragment can only be set for a generic URI  */
    //public static final int ER_FRAG_FOR_GENERIC_URI = 189;
  
  
    {
      ER_FRAG_FOR_GENERIC_URI,
         "Fragment kan bara s\u00e4ttas f\u00f6r en allm\u00e4n URI"},
  
    
     /**  Fragment cannot be set when path is null  */
    //public static final int ER_FRAG_WHEN_PATH_NULL = 190;
  
  
    {
      ER_FRAG_WHEN_PATH_NULL,
         "Fragment kan inte s\u00e4ttas n\u00e4r v\u00e4g \u00e4r null"},
  
    
     /**  Fragment contains invalid character  */
    //public static final int ER_FRAG_INVALID_CHAR = 191;
  
  
    {
      ER_FRAG_INVALID_CHAR,
         "Fragment inneh\u00e5ller ogiltigt tecken"},
  
    
   
    
     /** Parser is already in use  */
    //public static final int ER_PARSER_IN_USE = 192;
  
  
    {
      ER_PARSER_IN_USE,
          "Tolk anv\u00e4nds redan"},
  
    
     /** Parser is already in use  */
    //public static final int ER_CANNOT_CHANGE_WHILE_PARSING = 193;
  
  
    {
      ER_CANNOT_CHANGE_WHILE_PARSING,
          "Kan inte \u00e4ndra {0} {1} medan tolkning sker"},
  
    
     /** Self-causation not permitted  */
    //public static final int ER_SELF_CAUSATION_NOT_PERMITTED = 194;
  
  
    {
      ER_SELF_CAUSATION_NOT_PERMITTED,
          "Sj\u00e4lvorsakande inte till\u00e5ten"},
  
    
     /** Userinfo may not be specified if host is not specified   */
    //public static final int ER_NO_USERINFO_IF_NO_HOST = 198;
  
  
    {
      ER_NO_USERINFO_IF_NO_HOST,
          "Userinfo f\u00e5r inte anges om v\u00e4rden inte \u00e4r angiven"},
  
    
     /** Port may not be specified if host is not specified   */
    //public static final int ER_NO_PORT_IF_NO_HOST = 199;
  
  
    {
      ER_NO_PORT_IF_NO_HOST,
          "Port f\u00e5r inte anges om v\u00e4rden inte \u00e4r angiven"},
  
    
     /** Query string cannot be specified in path and query string   */
    //public static final int ER_NO_QUERY_STRING_IN_PATH = 200;
  
  
    {
      ER_NO_QUERY_STRING_IN_PATH,
          "F\u00f6rfr\u00e5gan-str\u00e4ng kan inte anges i v\u00e4g och f\u00f6rfr\u00e5gan-str\u00e4ng"},
  
    
     /** Fragment cannot be specified in both the path and fragment   */
    //public static final int ER_NO_FRAGMENT_STRING_IN_PATH = 201;
  
  
    {
      ER_NO_FRAGMENT_STRING_IN_PATH,
          "Fragment kan inte anges i b\u00e5de v\u00e4gen och fragmentet"},
  
    
     /** Cannot initialize URI with empty parameters   */
    //public static final int ER_CANNOT_INIT_URI_EMPTY_PARMS = 202;
  
  
    {
      ER_CANNOT_INIT_URI_EMPTY_PARMS,
          "Kan inte initialisera URI med tomma parametrar"},
  
    
    /**  Method not yet supported    */
    //public static final int ER_METHOD_NOT_SUPPORTED = 210;
  
  
    {
      ER_METHOD_NOT_SUPPORTED,
          "Metod \u00e4nnu inte underst\u00f6dd "},
  
  
    /** IncrementalSAXSource_Filter not currently restartable   */
    //public static final int ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = 214;
  
  
    {
      ER_INCRSAXSRCFILTER_NOT_RESTARTABLE,
       "IncrementalSAXSource_Filter kan f\u00f6r n\u00e4rvarande inte startas om"},
  
    
    /** IncrementalSAXSource_Filter not currently restartable   */
    //public static final int ER_XMLRDR_NOT_BEFORE_STARTPARSE = 215;
  
  
    {
      ER_XMLRDR_NOT_BEFORE_STARTPARSE,
       "XMLReader inte innan startParse-beg\u00e4ran"},
  
  
  // Axis traverser not supported: {0}
    //public static final int ER_AXIS_TRAVERSER_NOT_SUPPORTED = 235;
  
    {
      ER_AXIS_TRAVERSER_NOT_SUPPORTED,
       "Det g\u00e5r inte att v\u00e4nda axeln: {0}"},
  
  
  // ListingErrorHandler created with null PrintWriter!
    //public static final int ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = 236;
  
    {
      ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER,
       "ListingErrorHandler skapad med null PrintWriter!"},
  
  
    //public static final int ER_SYSTEMID_UNKNOWN = 240;
  
    {
      ER_SYSTEMID_UNKNOWN,
       "SystemId ok\u00e4nt"},
  
  
    // Location of error unknown
    //public static final int ER_LOCATION_UNKNOWN = 241;
  
    {
      ER_LOCATION_UNKNOWN,
       "Platsen f\u00f6r felet \u00e4r ok\u00e4nd"},
  
  
    /** Field ER_PREFIX_MUST_RESOLVE          */
    //public static final int ER_PREFIX_MUST_RESOLVE = 52;
  
  
    {
      ER_PREFIX_MUST_RESOLVE,
        "Prefix must resolve to a namespace: {0}"},
  
  
    /** Field ER_CREATEDOCUMENT_NOT_SUPPORTED          */
    //public static final int ER_CREATEDOCUMENT_NOT_SUPPORTED = 54;
  
  
    {
      ER_CREATEDOCUMENT_NOT_SUPPORTED,
        "createDocument() underst\u00f6ds inte av XPathContext!"},
  
  
    /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT          */
    //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT = 55;
  
  
    {
      ER_CHILD_HAS_NO_OWNER_DOCUMENT,
        "Attributbarn saknar \u00e4gardokument!"},
  
  
    /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT          */
    //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = 56;
  
  
    {
      ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
        "Attributbarn saknar \u00e4gardokumentelement!"},
  
  
    /** Field ER_CANT_OUTPUT_TEXT_BEFORE_DOC          */
    //public static final int ER_CANT_OUTPUT_TEXT_BEFORE_DOC = 63;
  
  
    {
      ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
        "Varning: kan inte skriva ut text innan dokumentelement!  Ignorerar..."},
  
  
    /** Field ER_CANT_HAVE_MORE_THAN_ONE_ROOT          */
    //public static final int ER_CANT_HAVE_MORE_THAN_ONE_ROOT = 64;
  
  
    {
      ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
        "Kan inte ha mer \u00e4n en rot p\u00e5 en DOM!"},
  
    
     /**  Argument 'localName' is null  */
    //public static final int ER_ARG_LOCALNAME_NULL = 70;
  
  
    {
      ER_ARG_LOCALNAME_NULL,
         "Argument 'localName' \u00e4r null"},
  
  
    // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
    // The localname is the portion after the optional colon; the message indicates
    // that there is a problem with that part of the QNAME.
  
    /** localname in QNAME should be a valid NCName */
    //public static final int ER_ARG_LOCALNAME_INVALID = 101;
  
  
    {
      ER_ARG_LOCALNAME_INVALID,
         "Localname i QNAME b\u00f6r vara ett giltigt NCName"},
  
    
    // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
    // The prefix is the portion before the optional colon; the message indicates
    // that there is a problem with that part of the QNAME.
  
    /** prefix in QNAME should be a valid NCName */
    //public static final int ER_ARG_PREFIX_INVALID = 102;
  
  
    {
      ER_ARG_PREFIX_INVALID,
         "Prefixet i QNAME b\u00f6r vara ett giltigt NCName"},
  
    { "BAD_CODE",
        "Parameter till createMessage ligger utanf\u00f6r till\u00e5tet intervall"},
    { "FORMAT_FAILED",
        "Undantag utl\u00f6st vid messageFormat-anrop"},
    { "line",  "Rad #"},
    { "column", "Kolumn #"}
           
    };
   
    /**
     * Get the association list.
     *
     * @return The association list.
     */
    public Object[][] getContents()
    {
      return contents;
    }
   
  }
  
  
  1.1                  xml-xalan/java/src/org/apache/xml/res/XMLErrorResources_zh_CN.java
  
  Index: XMLErrorResources_zh_CN.java
  ===================================================================
  /*
   * 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 "Xalan" 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, Lotus
   * Development Corporation., http://www.lotus.com.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   */
  package org.apache.xml.res;
  
  
  /**
   * Set up error messages.
   * We build a two dimensional array of message keys and
   * message strings. In order to add a new message here,
   * you need to first add a String constant. And you need
   * to enter key, value pair as part of the contents
   * array. You also need to update MAX_CODE for error strings
   * and MAX_WARNING for warnings ( Needed for only information
   * purpose )
   */
  public class XMLErrorResources_zh_CN extends XMLErrorResources
  {
  
    /** Maximum error messages, this is needed to keep track of the number of messages.    */
    public static final int MAX_CODE = 61;
  
    /** Maximum warnings, this is needed to keep track of the number of warnings.          */
    public static final int MAX_WARNING = 0;
  
    /** Maximum misc strings.   */
    public static final int MAX_OTHERS = 4;
  
    /** Maximum total warnings and error messages.          */
    public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
  
  
    // Error messages...
  
    /** The lookup table for error messages.   */
    public static final Object[][] contents = {
  
    /** Error message ID that has a null message, but takes in a single object.    */
      {"ER0000" , "{0}" },
  
  
    /** ER_FUNCTION_NOT_SUPPORTED          */
    //public static final int ER_FUNCTION_NOT_SUPPORTED = 80;
  
  
    {
      ER_FUNCTION_NOT_SUPPORTED, "\u51fd\u6570\u4e0d\u53d7\u652f\u6301\uff01 "},
  
    
    /** Can't overwrite cause         */
    //public static final int ER_CANNOT_OVERWRITE_CAUSE = 115;
  
  
    {
      ER_CANNOT_OVERWRITE_CAUSE,
  			"\u65e0\u6cd5\u8986\u5199\u4e8b\u7531 "},
  
    
     /**  No default implementation found */
    //public static final int ER_NO_DEFAULT_IMPL = 156;
  
  
    {
      ER_NO_DEFAULT_IMPL,
           "\u672a\u627e\u5230\u7f3a\u7701\u6267\u884c  "},
  
    
     /**  ChunkedIntArray({0}) not currently supported */
    //public static final int ER_CHUNKEDINTARRAY_NOT_SUPPORTED = 157;
  
  
    {
      ER_CHUNKEDINTARRAY_NOT_SUPPORTED,
         "\u76ee\u524d\u4e0d\u652f\u6301  ChunkedIntArray({0}) "},
  
    
     /**  Offset bigger than slot */
    //public static final int ER_OFFSET_BIGGER_THAN_SLOT = 158;
  
  
    {
      ER_OFFSET_BIGGER_THAN_SLOT,
         "\u504f\u79fb\u6bd4\u69fd\u7565\u5927 "},
  
    
     /**  Coroutine not available, id= */
    //public static final int ER_COROUTINE_NOT_AVAIL = 159;
  
  
    {
      ER_COROUTINE_NOT_AVAIL,
         "\u534f\u540c\u7a0b\u5e8f\u4e0d\u53ef\u7528\uff0c id={0}"},
  
    
     /**  CoroutineManager recieved co_exit() request */
    //public static final int ER_COROUTINE_CO_EXIT = 160;
  
  
    {
      ER_COROUTINE_CO_EXIT,
         "CoroutineManager \u63a5\u6536\u5230  co_exit() \u8bf7\u6c42 "},
  
    
     /**  co_joinCoroutineSet() failed */
    //public static final int ER_COJOINROUTINESET_FAILED = 161;
  
  
    {
      ER_COJOINROUTINESET_FAILED,
         "co_joinCoroutineSet() \u5931\u8d25 "},
  
    
     /**  Coroutine parameter error () */
    //public static final int ER_COROUTINE_PARAM = 162;
  
  
    {
      ER_COROUTINE_PARAM,
         "\u534f\u540c\u7a0b\u5e8f\u53c2\u6570\u9519\u8bef  ({0})"},
  
    
     /**  UNEXPECTED: Parser doTerminate answers  */
    //public static final int ER_PARSER_DOTERMINATE_ANSWERS = 163;
  
  
    {
      ER_PARSER_DOTERMINATE_ANSWERS,
         "\nUNEXPECTED: \u5206\u6790\u5668  doTerminate \u56de\u7b54  {0}"},
  
    
     /**  parse may not be called while parsing */
    //public static final int ER_NO_PARSE_CALL_WHILE_PARSING = 164;
  
  
    {
      ER_NO_PARSE_CALL_WHILE_PARSING,
         "\u5f53\u5206\u6790\u65f6\u53ef\u80fd\u4e0d\u4f1a\u8c03\u7528\u5206\u6790\u51fd\u6570 "},
  
    
     /**  Error: typed iterator for axis  {0} not implemented  */
    //public static final int ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = 165;
  
  
    {
      ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED,
         "\u9519\u8bef\uff1a\u5728  axis {0} \u4e2d\u8f93\u5165\u7684\u8fed\u4ee3\u7a0b\u5e8f\u65e0\u6cd5\u6267\u884c "},
  
    
     /**  Error: iterator for axis {0} not implemented  */
    //public static final int ER_ITERATOR_AXIS_NOT_IMPLEMENTED = 166;
  
  
    {
      ER_ITERATOR_AXIS_NOT_IMPLEMENTED,
         "\u9519\u8bef\uff1a\u5728  axis {0} \u4e2d\u7684\u8fed\u4ee3\u7a0b\u5e8f\u65e0\u6cd5\u6267\u884c "},
  
    
     /**  Iterator clone not supported  */
    //public static final int ER_ITERATOR_CLONE_NOT_SUPPORTED = 167;
  
  
    {
      ER_ITERATOR_CLONE_NOT_SUPPORTED,
         "\u4e0d\u652f\u6301\u590d\u5236\u8fed\u4ee3\u7a0b\u5e8f "},
  
    
     /**  Unknown axis traversal type  */
    //public static final int ER_UNKNOWN_AXIS_TYPE = 168;
  
  
    {
      ER_UNKNOWN_AXIS_TYPE,
         "\u672a\u77e5\u7684  axis \u904d\u5386\u7c7b\u578b\uff1a {0}"},
  
    
     /**  Axis traverser not supported  */
    //public static final int ER_AXIS_NOT_SUPPORTED = 169;
  
  
    {
      ER_AXIS_NOT_SUPPORTED,
         "\u4e0d\u652f\u6301  axis \u904d\u5386\u5668\uff1a {0}"},
  
    
     /**  No more DTM IDs are available  */
    //public static final int ER_NO_DTMIDS_AVAIL = 170;
  
  
    {
      ER_NO_DTMIDS_AVAIL,
         "\u65e0\u6cd5\u4f7f\u7528\u591a\u4e2a  DTM ID"},
  
    
     /**  Not supported  */
    //public static final int ER_NOT_SUPPORTED = 171;
  
  
    {
      ER_NOT_SUPPORTED,
         "\u4e0d\u652f\u6301\uff1a {0}"},
  
    
     /**  node must be non-null for getDTMHandleFromNode  */
    //public static final int ER_NODE_NON_NULL = 172;
  
  
    {
      ER_NODE_NON_NULL,
         "\u8282\u70b9\u5728  getDTMHandleFromNode \u4e2d\u5fc5\u987b\u975e\u7a7a "},
  
    
     /**  Could not resolve the node to a handle  */
    //public static final int ER_COULD_NOT_RESOLVE_NODE = 173;
  
  
    {
      ER_COULD_NOT_RESOLVE_NODE,
         "\u65e0\u6cd5\u5c06\u8282\u70b9\u89e3\u6790\u4e3a\u53e5\u67c4 "},
  
    
     /**  startParse may not be called while parsing */
    //public static final int ER_STARTPARSE_WHILE_PARSING = 174;
  
  
    {
      ER_STARTPARSE_WHILE_PARSING,
         "\u5728\u5206\u6790\u65f6\u53ef\u80fd\u4f1a\u8c03\u7528  startParse "},
  
    
     /**  startParse needs a non-null SAXParser  */
    //public static final int ER_STARTPARSE_NEEDS_SAXPARSER = 175;
  
  
    {
      ER_STARTPARSE_NEEDS_SAXPARSER,
         "startParse \u9700\u8981\u4e00\u4e2a\u975e\u7a7a\u7684  SAXParser"},
  
    
     /**  could not initialize parser with */
    //public static final int ER_COULD_NOT_INIT_PARSER = 176;
  
  
    {
      ER_COULD_NOT_INIT_PARSER,
         "\u65e0\u6cd5\u521d\u59cb\u5316\u5206\u6790\u5668 "},
  
    
     /**  exception creating new instance for pool  */
    //public static final int ER_EXCEPTION_CREATING_POOL = 178;
  
  
    {
      ER_EXCEPTION_CREATING_POOL,
         "\u521b\u5efa\u6c60\u7684\u65b0\u5b9e\u4f8b\u65f6\u51fa\u73b0\u5f02\u5e38 "},
  
    
     /**  Path contains invalid escape sequence  */
    //public static final int ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = 179;
  
  
    {
      ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
         "\u8def\u5f84\u5305\u542b\u65e0\u6548\u7684\u6362\u7801\u5e8f\u5217 "},
  
    
     /**  Scheme is required!  */
    //public static final int ER_SCHEME_REQUIRED = 180;
  
  
    {
      ER_SCHEME_REQUIRED,
         "\u9700\u8981\u914d\u7f6e\uff01 "},
  
    
     /**  No scheme found in URI  */
    //public static final int ER_NO_SCHEME_IN_URI = 181;
  
  
    {
      ER_NO_SCHEME_IN_URI,
         "\u5728  URI \u4e2d\u672a\u627e\u5230\u914d\u7f6e\uff1a {0}"},
  
    
     /**  No scheme found in URI  */
    //public static final int ER_NO_SCHEME_INURI = 182;
  
  
    {
      ER_NO_SCHEME_INURI,
         "\u5728  URI \u4e2d\u672a\u627e\u5230\u914d\u7f6e "},
  
    
     /**  Path contains invalid character:   */
    //public static final int ER_PATH_INVALID_CHAR = 183;
  
  
    {
      ER_PATH_INVALID_CHAR,
         "\u8def\u5f84\u5305\u542b\u65e0\u6548\u7684\u5b57\u7b26\uff1a {0}"},
  
    
     /**  Cannot set scheme from null string  */
    //public static final int ER_SCHEME_FROM_NULL_STRING = 184;
  
  
    {
      ER_SCHEME_FROM_NULL_STRING,
         "\u65e0\u6cd5\u5728\u7a7a\u7684\u5b57\u7b26\u4e32\u4e2d\u8bbe\u7f6e\u914d\u7f6e "},
  
    
     /**  The scheme is not conformant. */
    //public static final int ER_SCHEME_NOT_CONFORMANT = 185;
  
  
    {
      ER_SCHEME_NOT_CONFORMANT,
         "\u914d\u7f6e\u4e0d\u4e00\u81f4\u3002 "},
  
    
     /**  Host is not a well formed address  */
    //public static final int ER_HOST_ADDRESS_NOT_WELLFORMED = 186;
  
  
    {
      ER_HOST_ADDRESS_NOT_WELLFORMED,
         "\u4e3b\u673a\u5730\u5740\u7684\u683c\u5f0f\u4e0d\u6b63\u786e "},
  
    
     /**  Port cannot be set when host is null  */
    //public static final int ER_PORT_WHEN_HOST_NULL = 187;
  
  
    {
      ER_PORT_WHEN_HOST_NULL,
         "\u5f53\u4e3b\u673a\u4e3a\u7a7a\u65f6\u65e0\u6cd5\u8bbe\u7f6e\u7aef\u53e3 "},
  
    
     /**  Invalid port number  */
    //public static final int ER_INVALID_PORT = 188;
  
  
    {
      ER_INVALID_PORT,
         "\u65e0\u6548\u7684\u7aef\u53e3\u53f7 "},
  
    
     /**  Fragment can only be set for a generic URI  */
    //public static final int ER_FRAG_FOR_GENERIC_URI = 189;
  
  
    {
      ER_FRAG_FOR_GENERIC_URI,
         "\u4ec5\u5728\u4e00\u822c\u7684  URI \u4e2d\u8bbe\u7f6e\u6bb5 "},
  
    
     /**  Fragment cannot be set when path is null  */
    //public static final int ER_FRAG_WHEN_PATH_NULL = 190;
  
  
    {
      ER_FRAG_WHEN_PATH_NULL,
         "\u5f53\u8def\u5f84\u4e3a\u7a7a\u65f6\u65e0\u6cd5\u8bbe\u7f6e\u6bb5 "},
  
    
     /**  Fragment contains invalid character  */
    //public static final int ER_FRAG_INVALID_CHAR = 191;
  
  
    {
      ER_FRAG_INVALID_CHAR,
         "\u6bb5\u4e2d\u5305\u542b\u65e0\u6548\u5b57\u7b26 "},
  
    
   
    
     /** Parser is already in use  */
    //public static final int ER_PARSER_IN_USE = 192;
  
  
    {
      ER_PARSER_IN_USE,
          "\u5206\u6790\u5668\u6b63\u5728\u4f7f\u7528 "},
  
    
     /** Parser is already in use  */
    //public static final int ER_CANNOT_CHANGE_WHILE_PARSING = 193;
  
  
    {
      ER_CANNOT_CHANGE_WHILE_PARSING,
          "\u5728\u5206\u6790\u65f6\u65e0\u6cd5\u6539\u53d8  {0} {1}"},
  
    
     /** Self-causation not permitted  */
    //public static final int ER_SELF_CAUSATION_NOT_PERMITTED = 194;
  
  
    {
      ER_SELF_CAUSATION_NOT_PERMITTED,
          "\u4e0d\u5141\u8bb8\u81ea\u8eab\u5f15\u8d77\u7ed3\u679c "},
  
    
     /** Userinfo may not be specified if host is not specified   */
    //public static final int ER_NO_USERINFO_IF_NO_HOST = 198;
  
  
    {
      ER_NO_USERINFO_IF_NO_HOST,
          "\u5982\u679c\u672a\u6307\u5b9a\u4e3b\u673a\uff0c\u53ef\u80fd\u4e0d\u4f1a\u6307\u5b9a\u7528\u6237\u4fe1\u606f "},
  
    
     /** Port may not be specified if host is not specified   */
    //public static final int ER_NO_PORT_IF_NO_HOST = 199;
  
  
    {
      ER_NO_PORT_IF_NO_HOST,
          "\u5982\u679c\u672a\u6307\u5b9a\u4e3b\u673a\uff0c\u53ef\u80fd\u4e0d\u4f1a\u6307\u5b9a\u7aef\u53e3 "},
  
    
     /** Query string cannot be specified in path and query string   */
    //public static final int ER_NO_QUERY_STRING_IN_PATH = 200;
  
  
    {
      ER_NO_QUERY_STRING_IN_PATH,
          "\u5728\u8def\u5f84\u548c\u67e5\u8be2\u5b57\u7b26\u4e32\u4e2d\uff0c\u65e0\u6cd5\u6307\u5b9a\u67e5\u8be2\u5b57\u7b26\u4e32  "},
  
    
     /** Fragment cannot be specified in both the path and fragment   */
    //public static final int ER_NO_FRAGMENT_STRING_IN_PATH = 201;
  
  
    {
      ER_NO_FRAGMENT_STRING_IN_PATH,
          "\u5728\u8def\u5f84\u548c\u6bb5\u4e2d\u65e0\u6cd5\u6307\u5b9a\u6bb5  "},
  
    
     /** Cannot initialize URI with empty parameters   */
    //public static final int ER_CANNOT_INIT_URI_EMPTY_PARMS = 202;
  
  
    {
      ER_CANNOT_INIT_URI_EMPTY_PARMS,
          "\u65e0\u6cd5\u4f7f\u7528\u7a7a\u7684\u53c2\u6570\u521d\u59cb\u5316  URI"},
  
    
    /**  Method not yet supported    */
    //public static final int ER_METHOD_NOT_SUPPORTED = 210;
  
  
    {
      ER_METHOD_NOT_SUPPORTED,
          "\u65b9\u6cd5\u4ecd\u4e0d\u53d7\u652f\u6301  "},
  
  
    /** IncrementalSAXSource_Filter not currently restartable   */
    //public static final int ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = 214;
  
  
    {
      ER_INCRSAXSRCFILTER_NOT_RESTARTABLE,
       "\u5f53\u524d\u65e0\u6cd5\u91cd\u65b0\u542f\u52a8  IncrementalSAXSource_Filter"},
  
    
    /** IncrementalSAXSource_Filter not currently restartable   */
    //public static final int ER_XMLRDR_NOT_BEFORE_STARTPARSE = 215;
  
  
    {
      ER_XMLRDR_NOT_BEFORE_STARTPARSE,
       "XMLReader \u672a\u5728  startParse \u8bf7\u6c42\u4e4b\u524d\u51fa\u73b0 "},
  
  
  // Axis traverser not supported: {0}
    //public static final int ER_AXIS_TRAVERSER_NOT_SUPPORTED = 235;
  
    {
      ER_AXIS_TRAVERSER_NOT_SUPPORTED,
       "\u8f74\u904d\u5386\u7a0b\u5e8f\u4e0d\u53d7\u652f\u6301\uff1a {0}"},
  
  
  // ListingErrorHandler created with null PrintWriter!
    //public static final int ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = 236;
  
    {
      ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER,
       "\u7528\u7a7a  PrintWriter \u6765\u521b\u5efa  ListingErrorHandler\uff01 "},
  
  
    //public static final int ER_SYSTEMID_UNKNOWN = 240;
  
    {
      ER_SYSTEMID_UNKNOWN,
       "\u672a\u77e5\u7684  SystemId"},
  
  
    // Location of error unknown
    //public static final int ER_LOCATION_UNKNOWN = 241;
  
    {
      ER_LOCATION_UNKNOWN,
       "\u672a\u77e5\u7684\u9519\u8bef\u4f4d\u7f6e "},
  
  
    /** Field ER_PREFIX_MUST_RESOLVE          */
    //public static final int ER_PREFIX_MUST_RESOLVE = 52;
  
  
    {
      ER_PREFIX_MUST_RESOLVE,
        "\u5fc5\u987b\u89e3\u51b3\u540d\u79f0\u7a7a\u95f4\u7684\u524d\u7f00\uff1a{0}"},
  
  
    /** Field ER_CREATEDOCUMENT_NOT_SUPPORTED          */
    //public static final int ER_CREATEDOCUMENT_NOT_SUPPORTED = 54;
  
  
    {
      ER_CREATEDOCUMENT_NOT_SUPPORTED,
        "XPathContext \u4e2d\u4e0d\u652f\u6301 createDocument()\uff01"},
  
  
    /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT          */
    //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT = 55;
  
  
    {
      ER_CHILD_HAS_NO_OWNER_DOCUMENT,
        "\u5b50\u5c5e\u6027\u6ca1\u6709\u5c5e\u4e3b\u6587\u6863\uff01"},
  
  
    /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT          */
    //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = 56;
  
  
    {
      ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
        "\u5b50\u5c5e\u6027\u6ca1\u6709\u5c5e\u4e3b\u6587\u6863\u5143\u7d20\uff01"},
  
  
    /** Field ER_CANT_OUTPUT_TEXT_BEFORE_DOC          */
    //public static final int ER_CANT_OUTPUT_TEXT_BEFORE_DOC = 63;
  
  
    {
      ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
        "\u8b66\u544a\uff1a\u4e0d\u80fd\u8f93\u51fa\u6587\u6863\u5143\u7d20\u4e4b\u524d\u7684\u6587\u5b57\uff01\u5ffd\u7565..."},
  
  
    /** Field ER_CANT_HAVE_MORE_THAN_ONE_ROOT          */
    //public static final int ER_CANT_HAVE_MORE_THAN_ONE_ROOT = 64;
  
  
    {
      ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
        "DOM \u4e0a\u4e0d\u80fd\u6709\u591a\u4e2a\u6839\uff01"},
  
    
     /**  Argument 'localName' is null  */
    //public static final int ER_ARG_LOCALNAME_NULL = 70;
  
  
    {
      ER_ARG_LOCALNAME_NULL,
         "\u53d8\u91cf 'localName' \u4e3a\u7a7a"},
  
  
    // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
    // The localname is the portion after the optional colon; the message indicates
    // that there is a problem with that part of the QNAME.
  
    /** localname in QNAME should be a valid NCName */
    //public static final int ER_ARG_LOCALNAME_INVALID = 101;
  
  
    {
      ER_ARG_LOCALNAME_INVALID,
         "QNAME \u4e2d\u7684 Localname \u5e94\u8be5\u662f\u4e00\u4e2a\u6709\u6548\u7684 NCName"},
  
    
    // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
    // The prefix is the portion before the optional colon; the message indicates
    // that there is a problem with that part of the QNAME.
  
    /** prefix in QNAME should be a valid NCName */
    //public static final int ER_ARG_PREFIX_INVALID = 102;
  
  
    {
      ER_ARG_PREFIX_INVALID,
         "QNAME \u4e2d\u7684\u524d\u7f00\u5e94\u8be5\u662f\u4e00\u4e2a\u6709\u6548\u7684 NCName"},
  
    { "BAD_CODE",
        "createMessage \u53c2\u6570\u8d85\u8fc7\u8303\u56f4 "},
    { "FORMAT_FAILED",
        "\u8c03\u7528  messageFormat \u65f6\u51fa\u73b0\u610f\u5916\u60c5\u51b5   "},
    { "line", "\u884c  #"},
    { "column", "\u5217  #"}
    
    };
  
    /**
     * Get the association list.
     *
     * @return The association list.
     */
    public Object[][] getContents()
    {
      return contents;
    }
  
  }
  
  
  1.1                  xml-xalan/java/src/org/apache/xml/res/XMLErrorResources_zh_TW.java
  
  Index: XMLErrorResources_zh_TW.java
  ===================================================================
  /*
   * 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 "Xalan" 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, Lotus
   * Development Corporation., http://www.lotus.com.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   */
  package org.apache.xml.res;
  
  
  /**
   * Set up error messages.
   * We build a two dimensional array of message keys and
   * message strings. In order to add a new message here,
   * you need to first add a String constant. And you need
   * to enter key, value pair as part of the contents
   * array. You also need to update MAX_CODE for error strings
   * and MAX_WARNING for warnings ( Needed for only information
   * purpose )
   */
  public class XMLErrorResources_zh_TW extends XMLErrorResources
  {
  
    /** Maximum error messages, this is needed to keep track of the number of messages.    */
    public static final int MAX_CODE = 61;
  
    /** Maximum warnings, this is needed to keep track of the number of warnings.          */
    public static final int MAX_WARNING = 0;
  
    /** Maximum misc strings.   */
    public static final int MAX_OTHERS = 4;
  
    /** Maximum total warnings and error messages.          */
    public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
  
  
    // Error messages...
  
    /** The lookup table for error messages.   */
    public static final Object[][] contents = {
  
    /** Error message ID that has a null message, but takes in a single object.    */
      {"ER0000" , "{0}" },
  
  
    /** ER_FUNCTION_NOT_SUPPORTED          */
    //public static final int ER_FUNCTION_NOT_SUPPORTED = 80;
  
  
    {
      ER_FUNCTION_NOT_SUPPORTED, "\u4e0d\u652f\u63f4\u51fd\u5f0f\uff01"},
  
    
    /** Can't overwrite cause         */
    //public static final int ER_CANNOT_OVERWRITE_CAUSE = 115;
  
  
    {
      ER_CANNOT_OVERWRITE_CAUSE,
  			"\u7121\u6cd5\u6539\u5beb\u539f\u56e0"},
  
    
     /**  No default implementation found */
    //public static final int ER_NO_DEFAULT_IMPL = 156;
  
  
    {
      ER_NO_DEFAULT_IMPL,
           "\u627e\u4e0d\u5230\u9810\u8a2d\u5efa\u7f6e"},
  
    
     /**  ChunkedIntArray({0}) not currently supported */
    //public static final int ER_CHUNKEDINTARRAY_NOT_SUPPORTED = 157;
  
  
    {
      ER_CHUNKEDINTARRAY_NOT_SUPPORTED,
         "\u76ee\u524d\u4e0d\u652f\u63f4 ChunkedIntArray({0})"},
  
    
     /**  Offset bigger than slot */
    //public static final int ER_OFFSET_BIGGER_THAN_SLOT = 158;
  
  
    {
      ER_OFFSET_BIGGER_THAN_SLOT,
         "\u504f\u79fb\u5927\u65bc\u4ecb\u9762\u69fd"},
  
    
     /**  Coroutine not available, id= */
    //public static final int ER_COROUTINE_NOT_AVAIL = 159;
  
  
    {
      ER_COROUTINE_NOT_AVAIL,
         "\u6c92\u6709 Coroutine \u53ef\u7528\uff0cid={0}"},
  
    
     /**  CoroutineManager recieved co_exit() request */
    //public static final int ER_COROUTINE_CO_EXIT = 160;
  
  
    {
      ER_COROUTINE_CO_EXIT,
         "CoroutineManager \u6536\u5230 co_exit() \u8981\u6c42"},
  
    
     /**  co_joinCoroutineSet() failed */
    //public static final int ER_COJOINROUTINESET_FAILED = 161;
  
  
    {
      ER_COJOINROUTINESET_FAILED,
         "co_joinCoroutineSet() \u5931\u6548"},
  
    
     /**  Coroutine parameter error () */
    //public static final int ER_COROUTINE_PARAM = 162;
  
  
    {
      ER_COROUTINE_PARAM,
         "Coroutine \u53c3\u6578\u932f\u8aa4 ({0})"},
  
    
     /**  UNEXPECTED: Parser doTerminate answers  */
    //public static final int ER_PARSER_DOTERMINATE_ANSWERS = 163;
  
  
    {
      ER_PARSER_DOTERMINATE_ANSWERS,
         "\nUNEXPECTED: \u5256\u6790\u5668 doTerminate \u56de\u7b54 {0}"},
  
    
     /**  parse may not be called while parsing */
    //public static final int ER_NO_PARSE_CALL_WHILE_PARSING = 164;
  
  
    {
      ER_NO_PARSE_CALL_WHILE_PARSING,
         "\u5728\u9032\u884c\u5256\u6790\u6642\u672a\u80fd\u547c\u53eb\u5256\u6790"},
  
    
     /**  Error: typed iterator for axis  {0} not implemented  */
    //public static final int ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = 165;
  
  
    {
      ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED,
         "\u932f\u8aa4\uff1a\u5c0d\u8ef8 {0} \u8f38\u5165\u7684\u91cd\u8986\u5668\u6c92\u6709\u57f7\u884c"},
  
    
     /**  Error: iterator for axis {0} not implemented  */
    //public static final int ER_ITERATOR_AXIS_NOT_IMPLEMENTED = 166;
  
  
    {
      ER_ITERATOR_AXIS_NOT_IMPLEMENTED,
         "\u932f\u8aa4\uff1a\u8ef8 {0} \u7684\u91cd\u8986\u5668\u6c92\u6709\u57f7\u884c "},
  
    
     /**  Iterator clone not supported  */
    //public static final int ER_ITERATOR_CLONE_NOT_SUPPORTED = 167;
  
  
    {
      ER_ITERATOR_CLONE_NOT_SUPPORTED,
         "\u4e0d\u652f\u63f4\u91cd\u8986\u5668\u8907\u88fd"},
  
    
     /**  Unknown axis traversal type  */
    //public static final int ER_UNKNOWN_AXIS_TYPE = 168;
  
  
    {
      ER_UNKNOWN_AXIS_TYPE,
         "\u672a\u77e5\u8ef8\u904d\u6b77\u985e\u578b\uff1a{0}"},
  
    
     /**  Axis traverser not supported  */
    //public static final int ER_AXIS_NOT_SUPPORTED = 169;
  
  
    {
      ER_AXIS_NOT_SUPPORTED,
         "\u4e0d\u652f\u63f4\u8ef8\u904d\u8a2a\u5668\uff1a{0}"},
  
    
     /**  No more DTM IDs are available  */
    //public static final int ER_NO_DTMIDS_AVAIL = 170;
  
  
    {
      ER_NO_DTMIDS_AVAIL,
         "\u6c92\u6709\u53ef\u7528\u7684 DTM ID"},
  
    
     /**  Not supported  */
    //public static final int ER_NOT_SUPPORTED = 171;
  
  
    {
      ER_NOT_SUPPORTED,
         "\u4e0d\u652f\u63f4\uff1a{0}"},
  
    
     /**  node must be non-null for getDTMHandleFromNode  */
    //public static final int ER_NODE_NON_NULL = 172;
  
  
    {
      ER_NODE_NON_NULL,
         "\u5c0d getDTMHandleFromNode \u800c\u8a00\uff0c\u7bc0\u9ede\u5fc5\u9808\u70ba\u975e\u7a7a\u503c"},
  
    
     /**  Could not resolve the node to a handle  */
    //public static final int ER_COULD_NOT_RESOLVE_NODE = 173;
  
  
    {
      ER_COULD_NOT_RESOLVE_NODE,
         "\u7121\u6cd5\u89e3\u8b6f\u7bc0\u9ede\u70ba\u63a7\u9ede"},
  
    
     /**  startParse may not be called while parsing */
    //public static final int ER_STARTPARSE_WHILE_PARSING = 174;
  
  
    {
      ER_STARTPARSE_WHILE_PARSING,
         "\u5728\u9032\u884c\u5256\u6790\u6642\u672a\u547c\u53eb startParse"},
  
    
     /**  startParse needs a non-null SAXParser  */
    //public static final int ER_STARTPARSE_NEEDS_SAXPARSER = 175;
  
  
    {
      ER_STARTPARSE_NEEDS_SAXPARSER,
         "startParse \u9700\u8981\u975e\u7a7a\u503c\u7684 SAXParser"},
  
    
     /**  could not initialize parser with */
    //public static final int ER_COULD_NOT_INIT_PARSER = 176;
  
  
    {
      ER_COULD_NOT_INIT_PARSER,
         "\u7121\u6cd5\u8d77\u59cb\u8a2d\u5b9a\u5256\u6790\u5668\uff0c\u4ee5"},
  
    
     /**  exception creating new instance for pool  */
    //public static final int ER_EXCEPTION_CREATING_POOL = 178;
  
  
    {
      ER_EXCEPTION_CREATING_POOL,
         "\u5efa\u7acb\u5132\u5b58\u6c60\u7684\u65b0\u6848\u4f8b\u6642\u767c\u751f\u7570\u5e38"},
  
    
     /**  Path contains invalid escape sequence  */
    //public static final int ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = 179;
  
  
    {
      ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
         "\u8def\u5f91\u5305\u542b\u7121\u6548\u9038\u51fa\u5e8f\u5217"},
  
    
     /**  Scheme is required!  */
    //public static final int ER_SCHEME_REQUIRED = 180;
  
  
    {
      ER_SCHEME_REQUIRED,
         "\u7db1\u8981\u662f\u5fc5\u9700\u7684\uff01"},
  
    
     /**  No scheme found in URI  */
    //public static final int ER_NO_SCHEME_IN_URI = 181;
  
  
    {
      ER_NO_SCHEME_IN_URI,
         "\u5728 URI \u627e\u4e0d\u5230\u7db1\u8981\uff1a{0}"},
  
    
     /**  No scheme found in URI  */
    //public static final int ER_NO_SCHEME_INURI = 182;
  
  
    {
      ER_NO_SCHEME_INURI,
         "\u5728 URI \u627e\u4e0d\u5230\u7db1\u8981"},
  
    
     /**  Path contains invalid character:   */
    //public static final int ER_PATH_INVALID_CHAR = 183;
  
  
    {
      ER_PATH_INVALID_CHAR,
         "\u8def\u5f91\u5305\u542b\u7121\u6548\u7684\u5b57\u5143\uff1a{0}"},
  
    
     /**  Cannot set scheme from null string  */
    //public static final int ER_SCHEME_FROM_NULL_STRING = 184;
  
  
    {
      ER_SCHEME_FROM_NULL_STRING,
         "\u7121\u6cd5\u5f9e\u7a7a\u5b57\u4e32\u8a2d\u5b9a\u7db1\u8981"},
  
    
     /**  The scheme is not conformant. */
    //public static final int ER_SCHEME_NOT_CONFORMANT = 185;
  
  
    {
      ER_SCHEME_NOT_CONFORMANT,
         "\u7db1\u8981\u4e0d\u4e00\u81f4\u3002"},
  
    
     /**  Host is not a well formed address  */
    //public static final int ER_HOST_ADDRESS_NOT_WELLFORMED = 186;
  
  
    {
      ER_HOST_ADDRESS_NOT_WELLFORMED,
         "\u4e3b\u6a5f\u6c92\u6709\u5b8c\u6574\u7684\u4f4d\u5740"},
  
    
     /**  Port cannot be set when host is null  */
    //public static final int ER_PORT_WHEN_HOST_NULL = 187;
  
  
    {
      ER_PORT_WHEN_HOST_NULL,
         "\u4e3b\u6a5f\u70ba\u7a7a\u503c\u6642\uff0c\u7121\u6cd5\u8a2d\u5b9a\u901a\u8a0a\u57e0"},
  
    
     /**  Invalid port number  */
    //public static final int ER_INVALID_PORT = 188;
  
  
    {
      ER_INVALID_PORT,
         "\u7121\u6548\u7684\u901a\u8a0a\u57e0\u7de8\u865f"},
  
    
     /**  Fragment can only be set for a generic URI  */
    //public static final int ER_FRAG_FOR_GENERIC_URI = 189;
  
  
    {
      ER_FRAG_FOR_GENERIC_URI,
         "\u53ea\u80fd\u5c0d\u540c\u5c6c\u7684 URI \u8a2d\u5b9a\u7247\u6bb5"},
  
    
     /**  Fragment cannot be set when path is null  */
    //public static final int ER_FRAG_WHEN_PATH_NULL = 190;
  
  
    {
      ER_FRAG_WHEN_PATH_NULL,
         "\u8def\u5f91\u70ba\u7a7a\u503c\u6642\uff0c\u7121\u6cd5\u8a2d\u5b9a\u7247\u6bb5"},
  
    
     /**  Fragment contains invalid character  */
    //public static final int ER_FRAG_INVALID_CHAR = 191;
  
  
    {
      ER_FRAG_INVALID_CHAR,
         "\u7247\u6bb5\u5305\u542b\u7121\u6548\u5b57\u5143"},
  
    
   
    
     /** Parser is already in use  */
    //public static final int ER_PARSER_IN_USE = 192;
  
  
    {
      ER_PARSER_IN_USE,
          "\u5256\u6790\u5668\u5df2\u5728\u4f7f\u7528\u4e2d"},
  
    
     /** Parser is already in use  */
    //public static final int ER_CANNOT_CHANGE_WHILE_PARSING = 193;
  
  
    {
      ER_CANNOT_CHANGE_WHILE_PARSING,
          "\u5256\u6790\u6642\u7121\u6cd5\u8b8a\u66f4 {0} {1}"},
  
    
     /** Self-causation not permitted  */
    //public static final int ER_SELF_CAUSATION_NOT_PERMITTED = 194;
  
  
    {
      ER_SELF_CAUSATION_NOT_PERMITTED,
          "\u4e0d\u5141\u8a31\u81ea\u884c\u5f15\u8d77"},
  
    
     /** Userinfo may not be specified if host is not specified   */
    //public static final int ER_NO_USERINFO_IF_NO_HOST = 198;
  
  
    {
      ER_NO_USERINFO_IF_NO_HOST,
          "\u5982\u679c\u6c92\u6709\u6307\u5b9a\u4e3b\u6a5f\uff0c\u4e0d\u53ef\u6307\u5b9a Userinfo"},
  
    
     /** Port may not be specified if host is not specified   */
    //public static final int ER_NO_PORT_IF_NO_HOST = 199;
  
  
    {
      ER_NO_PORT_IF_NO_HOST,
          "\u5982\u679c\u6c92\u6709\u6307\u5b9a\u4e3b\u6a5f\uff0c\u4e0d\u53ef\u6307\u5b9a\u901a\u8a0a\u57e0"},
  
    
     /** Query string cannot be specified in path and query string   */
    //public static final int ER_NO_QUERY_STRING_IN_PATH = 200;
  
  
    {
      ER_NO_QUERY_STRING_IN_PATH,
          "\u5728\u8def\u5f91\u53ca\u67e5\u8a62\u5b57\u4e32\u4e2d\u4e0d\u53ef\u6307\u5b9a\u67e5\u8a62\u5b57\u4e32"},
  
    
     /** Fragment cannot be specified in both the path and fragment   */
    //public static final int ER_NO_FRAGMENT_STRING_IN_PATH = 201;
  
  
    {
      ER_NO_FRAGMENT_STRING_IN_PATH,
          "\u7121\u6cd5\u5728\u8def\u5f91\u548c\u7247\u6bb5\u4e2d\u6307\u5b9a\u7247\u6bb5"},
  
    
     /** Cannot initialize URI with empty parameters   */
    //public static final int ER_CANNOT_INIT_URI_EMPTY_PARMS = 202;
  
  
    {
      ER_CANNOT_INIT_URI_EMPTY_PARMS,
          "\u7121\u6cd5\u8d77\u59cb\u8a2d\u5b9a\u7a7a\u767d\u53c3\u6578\u7684 URI"},
  
    
    /**  Method not yet supported    */
    //public static final int ER_METHOD_NOT_SUPPORTED = 210;
  
  
    {
      ER_METHOD_NOT_SUPPORTED,
          "\u4e0d\u652f\u63f4\u65b9\u6cd5 "},
  
  
    /** IncrementalSAXSource_Filter not currently restartable   */
    //public static final int ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = 214;
  
  
    {
      ER_INCRSAXSRCFILTER_NOT_RESTARTABLE,
       "IncrementalSAXSource_Filter \u76ee\u524d\u7121\u6cd5\u91cd\u65b0\u555f\u52d5"},
  
    
    /** IncrementalSAXSource_Filter not currently restartable   */
    //public static final int ER_XMLRDR_NOT_BEFORE_STARTPARSE = 215;
  
  
    {
      ER_XMLRDR_NOT_BEFORE_STARTPARSE,
       "XMLReader \u4e0d\u5728 startParse \u8981\u6c42\u4e4b\u524d"},
    
  
    // Axis traverser not supported: {0}
      //public static final int ER_AXIS_TRAVERSER_NOT_SUPPORTED = 235;
    
      {
        ER_AXIS_TRAVERSER_NOT_SUPPORTED,
         "\u4e0d\u652f\u63f4\u8ef8\u904d\u6b77\u5668\uff1a{0}"},
    
  
    // ListingErrorHandler created with null PrintWriter!
      //public static final int ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = 236;
    
      {
        ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER,
         "\u5efa\u7acb\u7684 ListingErrorHandler \u5177\u6709\u7a7a PrintWriter\uff01"},
    
  
      //public static final int ER_SYSTEMID_UNKNOWN = 240;
    
      {
        ER_SYSTEMID_UNKNOWN,
         "SystemId \u672a\u77e5"},
    
  
     // Location of error unknown
      //public static final int ER_LOCATION_UNKNOWN = 241;
    
      {
        ER_LOCATION_UNKNOWN,
         "\u672a\u77e5\u7684\u932f\u8aa4\u4f4d\u7f6e"},
  
    /** Field ER_PREFIX_MUST_RESOLVE          */
    //public static final int ER_PREFIX_MUST_RESOLVE = 52;
  
  
    {
      ER_PREFIX_MUST_RESOLVE,
        "\u524d\u7f6e\u5fc5\u9808\u89e3\u8b6f\u70ba\u540d\u7a31\u7a7a\u9593\uff1a{0}"},
  
  
    /** Field ER_CREATEDOCUMENT_NOT_SUPPORTED          */
    //public static final int ER_CREATEDOCUMENT_NOT_SUPPORTED = 54;
  
  
    {
      ER_CREATEDOCUMENT_NOT_SUPPORTED,
        "createDocument() \u5728 XPathContext \u4e2d\u4e0d\u53d7\u652f\u63f4\uff01"},
  
  
    /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT          */
    //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT = 55;
  
  
    {
      ER_CHILD_HAS_NO_OWNER_DOCUMENT,
        "\u5c6c\u6027\u5b50\u9805\u6c92\u6709\u64c1\u6709\u8005\u6587\u4ef6\uff01"},
  
  
    /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT          */
    //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = 56;
  
  
    {
      ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
        "\u5c6c\u6027\u5b50\u9805\u6c92\u6709\u64c1\u6709\u8005\u6587\u4ef6\u5143\u7d20\uff01"},
  
  
    /** Field ER_CANT_OUTPUT_TEXT_BEFORE_DOC          */
    //public static final int ER_CANT_OUTPUT_TEXT_BEFORE_DOC = 63;
  
  
    {
      ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
        "\u8b66\u544a\uff1a\u7121\u6cd5\u8f38\u51fa\u6587\u4ef6\u5143\u7d20\u4e4b\u524d\u7684\u6587\u5b57\uff01\u5ffd\u7565..."},
  
  
    /** Field ER_CANT_HAVE_MORE_THAN_ONE_ROOT          */
    //public static final int ER_CANT_HAVE_MORE_THAN_ONE_ROOT = 64;
  
  
    {
      ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
        "\u4e00\u500b DOM \u53ea\u80fd\u6709\u4e00\u500b\u6839\uff01"},
  
    
     /**  Argument 'localName' is null  */
    //public static final int ER_ARG_LOCALNAME_NULL = 70;
  
  
    {
      ER_ARG_LOCALNAME_NULL,
         "\u5f15\u6578 'localName' \u70ba\u7a7a\u503c"},
  
  
    // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
    // The localname is the portion after the optional colon; the message indicates
    // that there is a problem with that part of the QNAME.
  
    /** localname in QNAME should be a valid NCName */
    //public static final int ER_ARG_LOCALNAME_INVALID = 101;
   
  
    {
      ER_ARG_LOCALNAME_INVALID,
         "QNAME \u4e2d\u7684 Localname \u61c9\u70ba\u6709\u6548\u7684 NCName"},
  
    
    // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
    // The prefix is the portion before the optional colon; the message indicates
    // that there is a problem with that part of the QNAME.
   
    /** prefix in QNAME should be a valid NCName */
    //public static final int ER_ARG_PREFIX_INVALID = 102;
   
  
    {
      ER_ARG_PREFIX_INVALID,
         "QNAME \u4e2d\u7684\u524d\u7f6e\u61c9\u70ba\u6709\u6548\u7684 NCName"},
  
    { "BAD_CODE",
        "createMessage \u7684\u53c3\u6578\u8d85\u51fa\u754c\u9650"},
    { "FORMAT_FAILED",
        "\u5728 messageFormat \u547c\u53eb\u671f\u9593\u4e1f\u51fa\u7570\u5e38"},
    { "line", "\u884c #"},
    { "column", "\u76f4\u6b04 #"}
    
    };
  
   
    /**
     * Get the association list.
     *
     * @return The association list.
     */
    public Object[][] getContents()
    {
      return contents;
    }
  
  }
  
  
  1.1                  xml-xalan/java/src/org/apache/xml/res/XMLMessages.java
  
  Index: XMLMessages.java
  ===================================================================
  /*
   * 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 "Xalan" 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, Lotus
   * Development Corporation., http://www.lotus.com.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   */
  package org.apache.xml.res;
  
  import java.util.Locale;
  import java.util.ResourceBundle;
  import java.util.ListResourceBundle;
  import java.util.MissingResourceException;
  
  /**
   * <meta name="usage" content="internal"/>
   * A utility class for issuing XML error messages.
   */
  public class XMLMessages
  {
  
    /** The local object to use.  */
    protected Locale fLocale = Locale.getDefault();
  
    /** The language specific resource object for XML messages.  */
    private static ListResourceBundle XMLBundle = null;
  
    /** The class name of the XML error message string table.    */
    private static final String XML_ERROR_RESOURCES =
      "org.apache.xml.res.XMLErrorResources";
  
    /** String to use if a bad message code is used. */
    protected static String BAD_CODE = "BAD_CODE";
  
    /** String to use if the message format operation failed.  */
    protected static String FORMAT_FAILED = "FORMAT_FAILED";
      
    /**
     * Set the Locale object to use.
     * 
     * @param locale non-null reference to Locale object.
     */
     public void setLocale(Locale locale)
    {
      fLocale = locale;
    }
  
    /**
     * Get the Locale object that is being used.
     * 
     * @return non-null reference to Locale object.
     */
    public Locale getLocale()
    {
      return fLocale;
    }
      
    /**
     * Creates a message from the specified key and replacement
     * arguments, localized to the given locale.
     *
     * @param errorCode The key for the message text.
     * @param args      The arguments to be used as replacement text
     *                  in the message created.
     *
     * @return The formatted message string.
     */
    public static final String createXMLMessage(String msgKey, Object args[])
    {
      if (XMLBundle == null)
        XMLBundle = loadResourceBundle(XML_ERROR_RESOURCES);
      
      if (XMLBundle != null)
      {
        return createMsg(XMLBundle, msgKey, args);
      }
      else
        return "Could not load any resource bundles.";
    }
  
    /**
     * Creates a message from the specified key and replacement
     * arguments, localized to the given locale.
     *
     * @param errorCode The key for the message text.
     *
     * @param fResourceBundle The resource bundle to use.
     * @param msgKey  The message key to use.
     * @param args      The arguments to be used as replacement text
     *                  in the message created.
     *
     * @return The formatted message string.
     */
    public static final String createMsg(ListResourceBundle fResourceBundle,
  	String msgKey, Object args[])  //throws Exception
    {
  
      String fmsg = null;
      boolean throwex = false;
      String msg = null;
  
      if (msgKey != null)
        msg = fResourceBundle.getString(msgKey);
  
      if (msg == null)
      {
        msg = fResourceBundle.getString(BAD_CODE);
        throwex = true;
      }
  
      if (args != null)
      {
        try
        {
  
          // Do this to keep format from crying.
          // This is better than making a bunch of conditional
          // code all over the place.
          int n = args.length;
  
          for (int i = 0; i < n; i++)
          {
            if (null == args[i])
              args[i] = "";
          }
  
          fmsg = java.text.MessageFormat.format(msg, args);
        }
        catch (Exception e)
        {
          fmsg = fResourceBundle.getString(FORMAT_FAILED);
          fmsg += " " + msg;
        }
      }
      else
        fmsg = msg;
  
      if (throwex)
      {
        throw new RuntimeException(fmsg);
      }
  
      return fmsg;
    }
  
    /**
     * Return a named ResourceBundle for a particular locale.  This method mimics the behavior
     * of ResourceBundle.getBundle().
     *
     * @param res the name of the resource to load.
     * @param locale the locale to prefer when searching for the bundle
     *
     * @param className The class name of the resource bundle.
     * @return the ResourceBundle
     * @throws MissingResourceException
     */
    public static ListResourceBundle loadResourceBundle(String className)
            throws MissingResourceException
    {    
      Locale locale = Locale.getDefault();
  
      try
      {
        return (ListResourceBundle)ResourceBundle.getBundle(className, locale);
      }
      catch (MissingResourceException e)
      {
        try  // try to fall back to en_US if we can't load
        {
  
          // Since we can't find the localized property file,
          // fall back to en_US.
          return (ListResourceBundle)ResourceBundle.getBundle(
            className, new Locale("en", "US"));
        }
        catch (MissingResourceException e2)
        {
  
          // Now we are really in trouble.
          // very bad, definitely very bad...not going to get very far
          throw new MissingResourceException(
            "Could not load any resource bundles." + className, className, "");
        }
      }
    }
  
    /**
     * Return the resource file suffic for the indicated locale
     * For most locales, this will be based the language code.  However
     * for Chinese, we do distinguish between Taiwan and PRC
     *
     * @param locale the locale
     * @return an String suffix which can be appended to a resource name
     */
    protected static String getResourceSuffix(Locale locale)
    {
  
      String suffix = "_" + locale.getLanguage();
      String country = locale.getCountry();
  
      if (country.equals("TW"))
        suffix += "_" + country;
  
      return suffix;
    }
  }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message