19f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson/*
29f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * Licensed to the Apache Software Foundation (ASF) under one
39f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * or more contributor license agreements. See the NOTICE file
49f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * distributed with this work for additional information
59f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * regarding copyright ownership. The ASF licenses this file
69f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * to you under the Apache License, Version 2.0 (the  "License");
79f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * you may not use this file except in compliance with the License.
89f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * You may obtain a copy of the License at
99f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *
109f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *     http://www.apache.org/licenses/LICENSE-2.0
119f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *
129f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * Unless required by applicable law or agreed to in writing, software
139f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * distributed under the License is distributed on an "AS IS" BASIS,
149f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
159f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * See the License for the specific language governing permissions and
169f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * limitations under the License.
179f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson */
189f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson/*
199f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * $Id: XSLTErrorResources.java 468641 2006-10-28 06:54:42Z minchau $
209f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson */
219f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilsonpackage org.apache.xalan.res;
229f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
239f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilsonimport java.util.ListResourceBundle;
249f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilsonimport java.util.Locale;
259f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilsonimport java.util.MissingResourceException;
269f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilsonimport java.util.ResourceBundle;
279f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
289f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson/**
299f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * Set up error messages.
309f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * We build a two dimensional array of message keys and
319f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * message strings. In order to add a new message here,
329f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * you need to first add a String constant. And
339f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *  you need to enter key , value pair as part of contents
349f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * Array. You also need to update MAX_CODE for error strings
359f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * and MAX_WARNING for warnings ( Needed for only information
369f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * purpose )
379f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson */
389f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilsonpublic class XSLTErrorResources extends ListResourceBundle
399f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson{
409f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
419f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson/*
429f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * This file contains error and warning messages related to Xalan Error
439f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * Handling.
449f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *
459f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *  General notes to translators:
469f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *
479f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *  1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of
489f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *     components.
499f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *     XSLT is an acronym for "XML Stylesheet Language: Transformations".
509f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *     XSLTC is an acronym for XSLT Compiler.
519f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *
529f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *  2) A stylesheet is a description of how to transform an input XML document
539f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *     into a resultant XML document (or HTML document or text).  The
549f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *     stylesheet itself is described in the form of an XML document.
559f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *
569f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *  3) A template is a component of a stylesheet that is used to match a
579f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *     particular portion of an input document and specifies the form of the
589f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *     corresponding portion of the output document.
599f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *
609f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *  4) An element is a mark-up tag in an XML document; an attribute is a
619f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *     modifier on the tag.  For example, in <elem attr='val' attr2='val2'>
629f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *     "elem" is an element name, "attr" and "attr2" are attribute names with
639f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *     the values "val" and "val2", respectively.
649f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *
659f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *  5) A namespace declaration is a special attribute that is used to associate
669f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *     a prefix with a URI (the namespace).  The meanings of element names and
679f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *     attribute names that use that prefix are defined with respect to that
689f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *     namespace.
699f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *
709f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *  6) "Translet" is an invented term that describes the class file that
719f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *     results from compiling an XML stylesheet into a Java class.
729f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *
739f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *  7) XPath is a specification that describes a notation for identifying
749f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *     nodes in a tree-structured representation of an XML document.  An
759f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *     instance of that notation is referred to as an XPath expression.
769f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson *
779f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson */
789f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
799f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  /*
809f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   * Static variables
819f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   */
829f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX =
839f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	"ER_INVALID_SET_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX";
849f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
859f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX_FOR_DEFAULT =
869f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	"ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX_FOR_DEFAULT";
879f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
889f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_CURLYBRACE = "ER_NO_CURLYBRACE";
899f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED";
909f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_ILLEGAL_ATTRIBUTE = "ER_ILLEGAL_ATTRIBUTE";
919f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NULL_SOURCENODE_APPLYIMPORTS = "ER_NULL_SOURCENODE_APPLYIMPORTS";
929f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CANNOT_ADD = "ER_CANNOT_ADD";
939f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES="ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES";
949f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_NAME_ATTRIB = "ER_NO_NAME_ATTRIB";
959f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_TEMPLATE_NOT_FOUND = "ER_TEMPLATE_NOT_FOUND";
969f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CANT_RESOLVE_NAME_AVT = "ER_CANT_RESOLVE_NAME_AVT";
979f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_REQUIRES_ATTRIB = "ER_REQUIRES_ATTRIB";
989f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_MUST_HAVE_TEST_ATTRIB = "ER_MUST_HAVE_TEST_ATTRIB";
999f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_BAD_VAL_ON_LEVEL_ATTRIB =
1009f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_BAD_VAL_ON_LEVEL_ATTRIB";
1019f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML =
1029f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML";
1039f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME =
1049f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME";
1059f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NEED_MATCH_ATTRIB = "ER_NEED_MATCH_ATTRIB";
1069f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NEED_NAME_OR_MATCH_ATTRIB =
1079f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_NEED_NAME_OR_MATCH_ATTRIB";
1089f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CANT_RESOLVE_NSPREFIX =
1099f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_CANT_RESOLVE_NSPREFIX";
1109f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_ILLEGAL_VALUE = "ER_ILLEGAL_VALUE";
1119f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_OWNERDOC = "ER_NO_OWNERDOC";
1129f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_ELEMTEMPLATEELEM_ERR ="ER_ELEMTEMPLATEELEM_ERR";
1139f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NULL_CHILD = "ER_NULL_CHILD";
1149f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NEED_SELECT_ATTRIB = "ER_NEED_SELECT_ATTRIB";
1159f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NEED_TEST_ATTRIB = "ER_NEED_TEST_ATTRIB";
1169f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NEED_NAME_ATTRIB = "ER_NEED_NAME_ATTRIB";
1179f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_CONTEXT_OWNERDOC = "ER_NO_CONTEXT_OWNERDOC";
1189f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_COULD_NOT_CREATE_XML_PROC_LIAISON =
1199f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_COULD_NOT_CREATE_XML_PROC_LIAISON";
1209f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_PROCESS_NOT_SUCCESSFUL =
1219f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_PROCESS_NOT_SUCCESSFUL";
1229f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NOT_SUCCESSFUL = "ER_NOT_SUCCESSFUL";
1239f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_ENCODING_NOT_SUPPORTED =
1249f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_ENCODING_NOT_SUPPORTED";
1259f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_COULD_NOT_CREATE_TRACELISTENER =
1269f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_COULD_NOT_CREATE_TRACELISTENER";
1279f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_KEY_REQUIRES_NAME_ATTRIB =
1289f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_KEY_REQUIRES_NAME_ATTRIB";
1299f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_KEY_REQUIRES_MATCH_ATTRIB =
1309f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_KEY_REQUIRES_MATCH_ATTRIB";
1319f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_KEY_REQUIRES_USE_ATTRIB =
1329f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_KEY_REQUIRES_USE_ATTRIB";
1339f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_REQUIRES_ELEMENTS_ATTRIB =
1349f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_REQUIRES_ELEMENTS_ATTRIB";
1359f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_MISSING_PREFIX_ATTRIB =
1369f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_MISSING_PREFIX_ATTRIB";
1379f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_BAD_STYLESHEET_URL = "ER_BAD_STYLESHEET_URL";
1389f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_FILE_NOT_FOUND = "ER_FILE_NOT_FOUND";
1399f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_IOEXCEPTION = "ER_IOEXCEPTION";
1409f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_HREF_ATTRIB = "ER_NO_HREF_ATTRIB";
1419f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_STYLESHEET_INCLUDES_ITSELF =
1429f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_STYLESHEET_INCLUDES_ITSELF";
1439f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_PROCESSINCLUDE_ERROR ="ER_PROCESSINCLUDE_ERROR";
1449f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_MISSING_LANG_ATTRIB = "ER_MISSING_LANG_ATTRIB";
1459f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_MISSING_CONTAINER_ELEMENT_COMPONENT =
1469f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_MISSING_CONTAINER_ELEMENT_COMPONENT";
1479f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CAN_ONLY_OUTPUT_TO_ELEMENT =
1489f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_CAN_ONLY_OUTPUT_TO_ELEMENT";
1499f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_PROCESS_ERROR = "ER_PROCESS_ERROR";
1509f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_UNIMPLNODE_ERROR = "ER_UNIMPLNODE_ERROR";
1519f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_SELECT_EXPRESSION ="ER_NO_SELECT_EXPRESSION";
1529f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CANNOT_SERIALIZE_XSLPROCESSOR =
1539f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_CANNOT_SERIALIZE_XSLPROCESSOR";
1549f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_INPUT_STYLESHEET = "ER_NO_INPUT_STYLESHEET";
1559f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_FAILED_PROCESS_STYLESHEET =
1569f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_FAILED_PROCESS_STYLESHEET";
1579f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_COULDNT_PARSE_DOC = "ER_COULDNT_PARSE_DOC";
1589f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_COULDNT_FIND_FRAGMENT =
1599f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_COULDNT_FIND_FRAGMENT";
1609f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NODE_NOT_ELEMENT = "ER_NODE_NOT_ELEMENT";
1619f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB =
1629f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB";
1639f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB =
1649f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB";
1659f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_CLONE_OF_DOCUMENT_FRAG =
1669f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_NO_CLONE_OF_DOCUMENT_FRAG";
1679f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CANT_CREATE_ITEM = "ER_CANT_CREATE_ITEM";
1689f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_XMLSPACE_ILLEGAL_VALUE =
1699f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_XMLSPACE_ILLEGAL_VALUE";
1709f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_XSLKEY_DECLARATION =
1719f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_NO_XSLKEY_DECLARATION";
1729f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CANT_CREATE_URL = "ER_CANT_CREATE_URL";
1739f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_XSLFUNCTIONS_UNSUPPORTED =
1749f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_XSLFUNCTIONS_UNSUPPORTED";
1759f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_PROCESSOR_ERROR = "ER_PROCESSOR_ERROR";
1769f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NOT_ALLOWED_INSIDE_STYLESHEET =
1779f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_NOT_ALLOWED_INSIDE_STYLESHEET";
1789f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_RESULTNS_NOT_SUPPORTED =
1799f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_RESULTNS_NOT_SUPPORTED";
1809f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_DEFAULTSPACE_NOT_SUPPORTED =
1819f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_DEFAULTSPACE_NOT_SUPPORTED";
1829f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_INDENTRESULT_NOT_SUPPORTED =
1839f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_INDENTRESULT_NOT_SUPPORTED";
1849f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_ILLEGAL_ATTRIB = "ER_ILLEGAL_ATTRIB";
1859f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_UNKNOWN_XSL_ELEM = "ER_UNKNOWN_XSL_ELEM";
1869f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_BAD_XSLSORT_USE = "ER_BAD_XSLSORT_USE";
1879f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_MISPLACED_XSLWHEN = "ER_MISPLACED_XSLWHEN";
1889f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE =
1899f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE";
1909f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_MISPLACED_XSLOTHERWISE =
1919f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_MISPLACED_XSLOTHERWISE";
1929f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE =
1939f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE";
1949f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NOT_ALLOWED_INSIDE_TEMPLATE =
1959f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_NOT_ALLOWED_INSIDE_TEMPLATE";
1969f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_UNKNOWN_EXT_NS_PREFIX =
1979f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_UNKNOWN_EXT_NS_PREFIX";
1989f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_IMPORTS_AS_FIRST_ELEM =
1999f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_IMPORTS_AS_FIRST_ELEM";
2009f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_IMPORTING_ITSELF = "ER_IMPORTING_ITSELF";
2019f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_XMLSPACE_ILLEGAL_VAL ="ER_XMLSPACE_ILLEGAL_VAL";
2029f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL =
2039f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL";
2049f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_SAX_EXCEPTION = "ER_SAX_EXCEPTION";
2059f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_XSLT_ERROR = "ER_XSLT_ERROR";
2069f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CURRENCY_SIGN_ILLEGAL=
2079f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_CURRENCY_SIGN_ILLEGAL";
2089f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM =
2099f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM";
2109f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER =
2119f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER";
2129f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_REDIRECT_COULDNT_GET_FILENAME =
2139f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_REDIRECT_COULDNT_GET_FILENAME";
2149f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT =
2159f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT";
2169f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX =
2179f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX";
2189f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_MISSING_NS_URI = "ER_MISSING_NS_URI";
2199f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_MISSING_ARG_FOR_OPTION =
2209f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_MISSING_ARG_FOR_OPTION";
2219f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_INVALID_OPTION = "ER_INVALID_OPTION";
2229f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_MALFORMED_FORMAT_STRING =
2239f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_MALFORMED_FORMAT_STRING";
2249f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_STYLESHEET_REQUIRES_VERSION_ATTRIB =
2259f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_STYLESHEET_REQUIRES_VERSION_ATTRIB";
2269f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_ILLEGAL_ATTRIBUTE_VALUE =
2279f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_ILLEGAL_ATTRIBUTE_VALUE";
2289f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CHOOSE_REQUIRES_WHEN ="ER_CHOOSE_REQUIRES_WHEN";
2299f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_APPLY_IMPORT_IN_FOR_EACH =
2309f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_NO_APPLY_IMPORT_IN_FOR_EACH";
2319f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CANT_USE_DTM_FOR_OUTPUT =
2329f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_CANT_USE_DTM_FOR_OUTPUT";
2339f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CANT_USE_DTM_FOR_INPUT =
2349f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_CANT_USE_DTM_FOR_INPUT";
2359f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CALL_TO_EXT_FAILED = "ER_CALL_TO_EXT_FAILED";
2369f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE";
2379f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_INVALID_UTF16_SURROGATE =
2389f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_INVALID_UTF16_SURROGATE";
2399f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_XSLATTRSET_USED_ITSELF =
2409f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_XSLATTRSET_USED_ITSELF";
2419f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CANNOT_MIX_XERCESDOM ="ER_CANNOT_MIX_XERCESDOM";
2429f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_TOO_MANY_LISTENERS = "ER_TOO_MANY_LISTENERS";
2439f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_IN_ELEMTEMPLATEELEM_READOBJECT =
2449f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_IN_ELEMTEMPLATEELEM_READOBJECT";
2459f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_DUPLICATE_NAMED_TEMPLATE =
2469f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_DUPLICATE_NAMED_TEMPLATE";
2479f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_INVALID_KEY_CALL = "ER_INVALID_KEY_CALL";
2489f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_REFERENCING_ITSELF = "ER_REFERENCING_ITSELF";
2499f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_ILLEGAL_DOMSOURCE_INPUT =
2509f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_ILLEGAL_DOMSOURCE_INPUT";
2519f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CLASS_NOT_FOUND_FOR_OPTION =
2529f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_CLASS_NOT_FOUND_FOR_OPTION";
2539f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_REQUIRED_ELEM_NOT_FOUND =
2549f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_REQUIRED_ELEM_NOT_FOUND";
2559f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_INPUT_CANNOT_BE_NULL ="ER_INPUT_CANNOT_BE_NULL";
2569f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_URI_CANNOT_BE_NULL = "ER_URI_CANNOT_BE_NULL";
2579f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_FILE_CANNOT_BE_NULL = "ER_FILE_CANNOT_BE_NULL";
2589f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_SOURCE_CANNOT_BE_NULL =
2599f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_SOURCE_CANNOT_BE_NULL";
2609f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CANNOT_INIT_BSFMGR = "ER_CANNOT_INIT_BSFMGR";
2619f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CANNOT_CMPL_EXTENSN = "ER_CANNOT_CMPL_EXTENSN";
2629f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CANNOT_CREATE_EXTENSN =
2639f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_CANNOT_CREATE_EXTENSN";
2649f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_INSTANCE_MTHD_CALL_REQUIRES =
2659f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_INSTANCE_MTHD_CALL_REQUIRES";
2669f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_INVALID_ELEMENT_NAME ="ER_INVALID_ELEMENT_NAME";
2679f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_ELEMENT_NAME_METHOD_STATIC =
2689f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_ELEMENT_NAME_METHOD_STATIC";
2699f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_EXTENSION_FUNC_UNKNOWN =
2709f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_EXTENSION_FUNC_UNKNOWN";
2719f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_MORE_MATCH_CONSTRUCTOR =
2729f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_MORE_MATCH_CONSTRUCTOR";
2739f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_MORE_MATCH_METHOD = "ER_MORE_MATCH_METHOD";
2749f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_MORE_MATCH_ELEMENT = "ER_MORE_MATCH_ELEMENT";
2759f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_INVALID_CONTEXT_PASSED =
2769f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_INVALID_CONTEXT_PASSED";
2779f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_POOL_EXISTS = "ER_POOL_EXISTS";
2789f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_DRIVER_NAME = "ER_NO_DRIVER_NAME";
2799f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_URL = "ER_NO_URL";
2809f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_POOL_SIZE_LESSTHAN_ONE =
2819f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_POOL_SIZE_LESSTHAN_ONE";
2829f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_INVALID_DRIVER = "ER_INVALID_DRIVER";
2839f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_STYLESHEETROOT = "ER_NO_STYLESHEETROOT";
2849f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_ILLEGAL_XMLSPACE_VALUE =
2859f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_ILLEGAL_XMLSPACE_VALUE";
2869f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_PROCESSFROMNODE_FAILED =
2879f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_PROCESSFROMNODE_FAILED";
2889f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_RESOURCE_COULD_NOT_LOAD =
2899f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_RESOURCE_COULD_NOT_LOAD";
2909f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO =
2919f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_BUFFER_SIZE_LESSTHAN_ZERO";
2929f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_UNKNOWN_ERROR_CALLING_EXTENSION =
2939f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_UNKNOWN_ERROR_CALLING_EXTENSION";
2949f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_NAMESPACE_DECL = "ER_NO_NAMESPACE_DECL";
2959f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_ELEM_CONTENT_NOT_ALLOWED =
2969f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_ELEM_CONTENT_NOT_ALLOWED";
2979f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_STYLESHEET_DIRECTED_TERMINATION =
2989f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_STYLESHEET_DIRECTED_TERMINATION";
2999f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_ONE_OR_TWO = "ER_ONE_OR_TWO";
3009f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_TWO_OR_THREE = "ER_TWO_OR_THREE";
3019f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_COULD_NOT_LOAD_RESOURCE =
3029f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_COULD_NOT_LOAD_RESOURCE";
3039f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CANNOT_INIT_DEFAULT_TEMPLATES =
3049f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_CANNOT_INIT_DEFAULT_TEMPLATES";
3059f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_RESULT_NULL = "ER_RESULT_NULL";
3069f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_RESULT_COULD_NOT_BE_SET =
3079f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_RESULT_COULD_NOT_BE_SET";
3089f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_OUTPUT_SPECIFIED = "ER_NO_OUTPUT_SPECIFIED";
3099f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CANNOT_TRANSFORM_TO_RESULT_TYPE =
3109f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_CANNOT_TRANSFORM_TO_RESULT_TYPE";
3119f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CANNOT_TRANSFORM_SOURCE_TYPE =
3129f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_CANNOT_TRANSFORM_SOURCE_TYPE";
3139f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NULL_CONTENT_HANDLER ="ER_NULL_CONTENT_HANDLER";
3149f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NULL_ERROR_HANDLER = "ER_NULL_ERROR_HANDLER";
3159f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CANNOT_CALL_PARSE = "ER_CANNOT_CALL_PARSE";
3169f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_PARENT_FOR_FILTER ="ER_NO_PARENT_FOR_FILTER";
3179f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_STYLESHEET_IN_MEDIA =
3189f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_NO_STYLESHEET_IN_MEDIA";
3199f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_STYLESHEET_PI = "ER_NO_STYLESHEET_PI";
3209f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED";
3219f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_PROPERTY_VALUE_BOOLEAN =
3229f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_PROPERTY_VALUE_BOOLEAN";
3239f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_COULD_NOT_FIND_EXTERN_SCRIPT =
3249f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_COULD_NOT_FIND_EXTERN_SCRIPT";
3259f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_RESOURCE_COULD_NOT_FIND =
3269f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_RESOURCE_COULD_NOT_FIND";
3279f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_OUTPUT_PROPERTY_NOT_RECOGNIZED =
3289f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_OUTPUT_PROPERTY_NOT_RECOGNIZED";
3299f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_FAILED_CREATING_ELEMLITRSLT =
3309f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_FAILED_CREATING_ELEMLITRSLT";
3319f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_VALUE_SHOULD_BE_NUMBER =
3329f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_VALUE_SHOULD_BE_NUMBER";
3339f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_VALUE_SHOULD_EQUAL = "ER_VALUE_SHOULD_EQUAL";
3349f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_FAILED_CALLING_METHOD =
3359f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_FAILED_CALLING_METHOD";
3369f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_FAILED_CREATING_ELEMTMPL =
3379f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_FAILED_CREATING_ELEMTMPL";
3389f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CHARS_NOT_ALLOWED = "ER_CHARS_NOT_ALLOWED";
3399f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_ATTR_NOT_ALLOWED = "ER_ATTR_NOT_ALLOWED";
3409f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_BAD_VALUE = "ER_BAD_VALUE";
3419f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_ATTRIB_VALUE_NOT_FOUND =
3429f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_ATTRIB_VALUE_NOT_FOUND";
3439f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_ATTRIB_VALUE_NOT_RECOGNIZED =
3449f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_ATTRIB_VALUE_NOT_RECOGNIZED";
3459f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NULL_URI_NAMESPACE = "ER_NULL_URI_NAMESPACE";
3469f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NUMBER_TOO_BIG = "ER_NUMBER_TOO_BIG";
3479f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String  ER_CANNOT_FIND_SAX1_DRIVER =
3489f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_CANNOT_FIND_SAX1_DRIVER";
3499f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String  ER_SAX1_DRIVER_NOT_LOADED =
3509f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_SAX1_DRIVER_NOT_LOADED";
3519f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String  ER_SAX1_DRIVER_NOT_INSTANTIATED =
3529f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_SAX1_DRIVER_NOT_INSTANTIATED" ;
3539f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER =
3549f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER";
3559f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String  ER_PARSER_PROPERTY_NOT_SPECIFIED =
3569f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_PARSER_PROPERTY_NOT_SPECIFIED";
3579f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String  ER_PARSER_ARG_CANNOT_BE_NULL =
3589f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_PARSER_ARG_CANNOT_BE_NULL" ;
3599f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String  ER_FEATURE = "ER_FEATURE";
3609f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_PROPERTY = "ER_PROPERTY" ;
3619f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NULL_ENTITY_RESOLVER ="ER_NULL_ENTITY_RESOLVER";
3629f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String  ER_NULL_DTD_HANDLER = "ER_NULL_DTD_HANDLER" ;
3639f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_DRIVER_NAME_SPECIFIED =
3649f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_NO_DRIVER_NAME_SPECIFIED";
3659f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_URL_SPECIFIED = "ER_NO_URL_SPECIFIED";
3669f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_POOLSIZE_LESS_THAN_ONE =
3679f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_POOLSIZE_LESS_THAN_ONE";
3689f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_INVALID_DRIVER_NAME = "ER_INVALID_DRIVER_NAME";
3699f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_ERRORLISTENER = "ER_ERRORLISTENER";
3709f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_ASSERT_NO_TEMPLATE_PARENT =
3719f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_ASSERT_NO_TEMPLATE_PARENT";
3729f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR =
3739f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR";
3749f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NOT_ALLOWED_IN_POSITION =
3759f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_NOT_ALLOWED_IN_POSITION";
3769f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION =
3779f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION";
3789f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NAMESPACE_CONTEXT_NULL_NAMESPACE =
3799f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  	 "ER_NAMESPACE_CONTEXT_NULL_NAMESPACE";
3809f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NAMESPACE_CONTEXT_NULL_PREFIX =
3819f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 	 "ER_NAMESPACE_CONTEXT_NULL_PREFIX";
3829f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_XPATH_RESOLVER_NULL_QNAME =
3839f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_XPATH_RESOLVER_NULL_QNAME";
3849f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_XPATH_RESOLVER_NEGATIVE_ARITY =
3859f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_XPATH_RESOLVER_NEGATIVE_ARITY";
3869f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String INVALID_TCHAR = "INVALID_TCHAR";
3879f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String INVALID_QNAME = "INVALID_QNAME";
3889f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String INVALID_ENUM = "INVALID_ENUM";
3899f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String INVALID_NMTOKEN = "INVALID_NMTOKEN";
3909f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String INVALID_NCNAME = "INVALID_NCNAME";
3919f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String INVALID_BOOLEAN = "INVALID_BOOLEAN";
3929f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String INVALID_NUMBER = "INVALID_NUMBER";
3939f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_ARG_LITERAL = "ER_ARG_LITERAL";
3949f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_DUPLICATE_GLOBAL_VAR ="ER_DUPLICATE_GLOBAL_VAR";
3959f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_DUPLICATE_VAR = "ER_DUPLICATE_VAR";
3969f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_TEMPLATE_NAME_MATCH = "ER_TEMPLATE_NAME_MATCH";
3979f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_INVALID_PREFIX = "ER_INVALID_PREFIX";
3989f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_NO_ATTRIB_SET = "ER_NO_ATTRIB_SET";
3999f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_FUNCTION_NOT_FOUND =
4009f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "ER_FUNCTION_NOT_FOUND";
4019f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_CANT_HAVE_CONTENT_AND_SELECT =
4029f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "ER_CANT_HAVE_CONTENT_AND_SELECT";
4039f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_INVALID_SET_PARAM_VALUE = "ER_INVALID_SET_PARAM_VALUE";
4049f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_SET_FEATURE_NULL_NAME =
4059f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  	"ER_SET_FEATURE_NULL_NAME";
4069f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_GET_FEATURE_NULL_NAME =
4079f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  	"ER_GET_FEATURE_NULL_NAME";
4089f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_UNSUPPORTED_FEATURE =
4099f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  	"ER_UNSUPPORTED_FEATURE";
4109f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ER_EXTENSION_ELEMENT_NOT_ALLOWED_IN_SECURE_PROCESSING =
4119f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  	"ER_EXTENSION_ELEMENT_NOT_ALLOWED_IN_SECURE_PROCESSING";
4129f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
4139f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_FOUND_CURLYBRACE = "WG_FOUND_CURLYBRACE";
4149f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR =
4159f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR";
4169f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_EXPR_ATTRIB_CHANGED_TO_SELECT =
4179f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "WG_EXPR_ATTRIB_CHANGED_TO_SELECT";
4189f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_NO_LOCALE_IN_FORMATNUMBER =
4199f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "WG_NO_LOCALE_IN_FORMATNUMBER";
4209f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_LOCALE_NOT_FOUND = "WG_LOCALE_NOT_FOUND";
4219f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_CANNOT_MAKE_URL_FROM ="WG_CANNOT_MAKE_URL_FROM";
4229f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_CANNOT_LOAD_REQUESTED_DOC =
4239f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "WG_CANNOT_LOAD_REQUESTED_DOC";
4249f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_CANNOT_FIND_COLLATOR ="WG_CANNOT_FIND_COLLATOR";
4259f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_FUNCTIONS_SHOULD_USE_URL =
4269f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "WG_FUNCTIONS_SHOULD_USE_URL";
4279f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_ENCODING_NOT_SUPPORTED_USING_UTF8 =
4289f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "WG_ENCODING_NOT_SUPPORTED_USING_UTF8";
4299f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_ENCODING_NOT_SUPPORTED_USING_JAVA =
4309f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "WG_ENCODING_NOT_SUPPORTED_USING_JAVA";
4319f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_SPECIFICITY_CONFLICTS =
4329f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "WG_SPECIFICITY_CONFLICTS";
4339f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_PARSING_AND_PREPARING =
4349f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "WG_PARSING_AND_PREPARING";
4359f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_ATTR_TEMPLATE = "WG_ATTR_TEMPLATE";
4369f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE = "WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESP";
4379f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_ATTRIB_NOT_HANDLED = "WG_ATTRIB_NOT_HANDLED";
4389f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_NO_DECIMALFORMAT_DECLARATION =
4399f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "WG_NO_DECIMALFORMAT_DECLARATION";
4409f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_OLD_XSLT_NS = "WG_OLD_XSLT_NS";
4419f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED =
4429f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED";
4439f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE =
4449f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE";
4459f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_ILLEGAL_ATTRIBUTE = "WG_ILLEGAL_ATTRIBUTE";
4469f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_COULD_NOT_RESOLVE_PREFIX =
4479f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "WG_COULD_NOT_RESOLVE_PREFIX";
4489f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_STYLESHEET_REQUIRES_VERSION_ATTRIB =
4499f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "WG_STYLESHEET_REQUIRES_VERSION_ATTRIB";
4509f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_ILLEGAL_ATTRIBUTE_NAME =
4519f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "WG_ILLEGAL_ATTRIBUTE_NAME";
4529f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_ILLEGAL_ATTRIBUTE_VALUE =
4539f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "WG_ILLEGAL_ATTRIBUTE_VALUE";
4549f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_EMPTY_SECOND_ARG = "WG_EMPTY_SECOND_ARG";
4559f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML =
4569f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML";
4579f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME =
4589f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME";
4599f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WG_ILLEGAL_ATTRIBUTE_POSITION =
4609f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	 "WG_ILLEGAL_ATTRIBUTE_POSITION";
4619f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String NO_MODIFICATION_ALLOWED_ERR =
4629f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson         "NO_MODIFICATION_ALLOWED_ERR";
4639f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
4649f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  /*
4659f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   * Now fill in the message text.
4669f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   * Then fill in the message text for that message code in the
4679f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   * array. Use the new error code as the index into the array.
4689f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   */
4699f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
4709f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  // Error messages...
4719f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
4729f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  /** Get the lookup table for error messages.
4739f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   *
4749f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   * @return The int to message lookup table.
4759f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   */
4769f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public Object[][] getContents()
4779f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {
4789f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    return new Object[][] {
4799f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
4809f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  /** Error message ID that has a null message, but takes in a single object.    */
4819f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {"ER0000" , "{0}" },
4829f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
4839f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_CURLYBRACE,
4849f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Error: Can not have '{' within expression"},
4859f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
4869f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_ILLEGAL_ATTRIBUTE ,
4879f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "{0} has an illegal attribute: {1}"},
4889f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
4899f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {ER_NULL_SOURCENODE_APPLYIMPORTS ,
4909f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "sourceNode is null in xsl:apply-imports!"},
4919f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
4929f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {ER_CANNOT_ADD,
4939f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Can not add {0} to {1}"},
4949f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
4959f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES,
4969f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "sourceNode is null in handleApplyTemplatesInstruction!"},
4979f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
4989f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_NAME_ATTRIB,
4999f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "{0} must have a name attribute."},
5009f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5019f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    {ER_TEMPLATE_NOT_FOUND,
5029f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Could not find template named: {0}"},
5039f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5049f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    {ER_CANT_RESOLVE_NAME_AVT,
5059f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Could not resolve name AVT in xsl:call-template."},
5069f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5079f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    {ER_REQUIRES_ATTRIB,
5089f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "{0} requires attribute: {1}"},
5099f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5109f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_MUST_HAVE_TEST_ATTRIB,
5119f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "{0} must have a ''test'' attribute."},
5129f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5139f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    {ER_BAD_VAL_ON_LEVEL_ATTRIB,
5149f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Bad value on level attribute: {0}"},
5159f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5169f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    {ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML,
5179f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "processing-instruction name can not be 'xml'"},
5189f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5199f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME,
5209f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "processing-instruction name must be a valid NCName: {0}"},
5219f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5229f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NEED_MATCH_ATTRIB,
5239f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "{0} must have a match attribute if it has a mode."},
5249f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5259f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NEED_NAME_OR_MATCH_ATTRIB,
5269f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "{0} requires either a name or a match attribute."},
5279f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5289f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    {ER_CANT_RESOLVE_NSPREFIX,
5299f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Can not resolve namespace prefix: {0}"},
5309f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5319f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_ILLEGAL_VALUE,
5329f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "xml:space has an illegal value: {0}"},
5339f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5349f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_OWNERDOC,
5359f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Child node does not have an owner document!"},
5369f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5379f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_ELEMTEMPLATEELEM_ERR,
5389f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "ElemTemplateElement error: {0}"},
5399f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5409f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NULL_CHILD,
5419f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Trying to add a null child!"},
5429f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5439f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NEED_SELECT_ATTRIB,
5449f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "{0} requires a select attribute."},
5459f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5469f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NEED_TEST_ATTRIB ,
5479f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "xsl:when must have a 'test' attribute."},
5489f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5499f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NEED_NAME_ATTRIB,
5509f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "xsl:with-param must have a 'name' attribute."},
5519f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5529f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_CONTEXT_OWNERDOC,
5539f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "context does not have an owner document!"},
5549f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5559f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    {ER_COULD_NOT_CREATE_XML_PROC_LIAISON,
5569f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Could not create XML TransformerFactory Liaison: {0}"},
5579f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5589f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    {ER_PROCESS_NOT_SUCCESSFUL,
5599f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Xalan: Process was not successful."},
5609f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5619f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NOT_SUCCESSFUL,
5629f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Xalan: was not successful."},
5639f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5649f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_ENCODING_NOT_SUPPORTED,
5659f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Encoding not supported: {0}"},
5669f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5679f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    {ER_COULD_NOT_CREATE_TRACELISTENER,
5689f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Could not create TraceListener: {0}"},
5699f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5709f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    {ER_KEY_REQUIRES_NAME_ATTRIB,
5719f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "xsl:key requires a 'name' attribute!"},
5729f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5739f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_KEY_REQUIRES_MATCH_ATTRIB,
5749f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "xsl:key requires a 'match' attribute!"},
5759f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5769f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_KEY_REQUIRES_USE_ATTRIB,
5779f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "xsl:key requires a 'use' attribute!"},
5789f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5799f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_REQUIRES_ELEMENTS_ATTRIB,
5809f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "(StylesheetHandler) {0} requires an ''elements'' attribute!"},
5819f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5829f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_MISSING_PREFIX_ATTRIB,
5839f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "(StylesheetHandler) {0} attribute ''prefix'' is missing"},
5849f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5859f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_BAD_STYLESHEET_URL,
5869f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Stylesheet URL is bad: {0}"},
5879f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5889f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_FILE_NOT_FOUND,
5899f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Stylesheet file was not found: {0}"},
5909f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5919f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_IOEXCEPTION,
5929f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Had IO Exception with stylesheet file: {0}"},
5939f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5949f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_HREF_ATTRIB,
5959f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "(StylesheetHandler) Could not find href attribute for {0}"},
5969f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
5979f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_STYLESHEET_INCLUDES_ITSELF,
5989f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "(StylesheetHandler) {0} is directly or indirectly including itself!"},
5999f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6009f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_PROCESSINCLUDE_ERROR,
6019f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "StylesheetHandler.processInclude error, {0}"},
6029f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6039f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_MISSING_LANG_ATTRIB,
6049f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "(StylesheetHandler) {0} attribute ''lang'' is missing"},
6059f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6069f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_MISSING_CONTAINER_ELEMENT_COMPONENT,
6079f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "(StylesheetHandler) misplaced {0} element?? Missing container element ''component''"},
6089f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6099f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CAN_ONLY_OUTPUT_TO_ELEMENT,
6109f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Can only output to an Element, DocumentFragment, Document, or PrintWriter."},
6119f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6129f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_PROCESS_ERROR,
6139f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "StylesheetRoot.process error"},
6149f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6159f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_UNIMPLNODE_ERROR,
6169f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "UnImplNode error: {0}"},
6179f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6189f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_SELECT_EXPRESSION,
6199f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Error! Did not find xpath select expression (-select)."},
6209f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6219f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CANNOT_SERIALIZE_XSLPROCESSOR,
6229f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Can not serialize an XSLProcessor!"},
6239f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6249f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_INPUT_STYLESHEET,
6259f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Stylesheet input was not specified!"},
6269f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6279f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_FAILED_PROCESS_STYLESHEET,
6289f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Failed to process stylesheet!"},
6299f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6309f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_COULDNT_PARSE_DOC,
6319f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Could not parse {0} document!"},
6329f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6339f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_COULDNT_FIND_FRAGMENT,
6349f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Could not find fragment: {0}"},
6359f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6369f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NODE_NOT_ELEMENT,
6379f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Node pointed to by fragment identifier was not an element: {0}"},
6389f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6399f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB,
6409f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "for-each must have either a match or name attribute"},
6419f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6429f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB,
6439f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "templates must have either a match or name attribute"},
6449f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6459f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_CLONE_OF_DOCUMENT_FRAG,
6469f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "No clone of a document fragment!"},
6479f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6489f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CANT_CREATE_ITEM,
6499f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Can not create item in result tree: {0}"},
6509f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6519f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_XMLSPACE_ILLEGAL_VALUE,
6529f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "xml:space in the source XML has an illegal value: {0}"},
6539f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6549f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_XSLKEY_DECLARATION,
6559f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "There is no xsl:key declaration for {0}!"},
6569f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6579f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CANT_CREATE_URL,
6589f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Error! Cannot create url for: {0}"},
6599f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6609f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_XSLFUNCTIONS_UNSUPPORTED,
6619f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "xsl:functions is unsupported"},
6629f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6639f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_PROCESSOR_ERROR,
6649f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "XSLT TransformerFactory Error"},
6659f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6669f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NOT_ALLOWED_INSIDE_STYLESHEET,
6679f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "(StylesheetHandler) {0} not allowed inside a stylesheet!"},
6689f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6699f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_RESULTNS_NOT_SUPPORTED,
6709f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "result-ns no longer supported!  Use xsl:output instead."},
6719f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6729f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_DEFAULTSPACE_NOT_SUPPORTED,
6739f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "default-space no longer supported!  Use xsl:strip-space or xsl:preserve-space instead."},
6749f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6759f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_INDENTRESULT_NOT_SUPPORTED,
6769f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "indent-result no longer supported!  Use xsl:output instead."},
6779f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6789f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_ILLEGAL_ATTRIB,
6799f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "(StylesheetHandler) {0} has an illegal attribute: {1}"},
6809f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6819f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_UNKNOWN_XSL_ELEM,
6829f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Unknown XSL element: {0}"},
6839f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6849f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_BAD_XSLSORT_USE,
6859f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "(StylesheetHandler) xsl:sort can only be used with xsl:apply-templates or xsl:for-each."},
6869f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6879f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_MISPLACED_XSLWHEN,
6889f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "(StylesheetHandler) misplaced xsl:when!"},
6899f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6909f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE,
6919f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "(StylesheetHandler) xsl:when not parented by xsl:choose!"},
6929f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6939f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_MISPLACED_XSLOTHERWISE,
6949f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "(StylesheetHandler) misplaced xsl:otherwise!"},
6959f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6969f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE,
6979f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "(StylesheetHandler) xsl:otherwise not parented by xsl:choose!"},
6989f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
6999f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NOT_ALLOWED_INSIDE_TEMPLATE,
7009f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "(StylesheetHandler) {0} is not allowed inside a template!"},
7019f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7029f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_UNKNOWN_EXT_NS_PREFIX,
7039f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "(StylesheetHandler) {0} extension namespace prefix {1} unknown"},
7049f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7059f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_IMPORTS_AS_FIRST_ELEM,
7069f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "(StylesheetHandler) Imports can only occur as the first elements in the stylesheet!"},
7079f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7089f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_IMPORTING_ITSELF,
7099f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "(StylesheetHandler) {0} is directly or indirectly importing itself!"},
7109f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7119f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_XMLSPACE_ILLEGAL_VAL,
7129f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "(StylesheetHandler) " + "xml:space has an illegal value: {0}"},
7139f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7149f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL,
7159f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "processStylesheet not succesfull!"},
7169f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7179f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_SAX_EXCEPTION,
7189f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "SAX Exception"},
7199f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7209f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson//  add this message to fix bug 21478
7219f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_FUNCTION_NOT_SUPPORTED,
7229f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Function not supported!"},
7239f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7249f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_XSLT_ERROR,
7259f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "XSLT Error"},
7269f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7279f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CURRENCY_SIGN_ILLEGAL,
7289f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "currency sign is not allowed in format pattern string"},
7299f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7309f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM,
7319f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Document function not supported in Stylesheet DOM!"},
7329f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7339f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER,
7349f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Can't resolve prefix of non-Prefix resolver!"},
7359f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7369f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_REDIRECT_COULDNT_GET_FILENAME,
7379f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Redirect extension: Could not get filename - file or select attribute must return vald string."},
7389f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7399f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT,
7409f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Can not build FormatterListener in Redirect extension!"},
7419f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7429f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX,
7439f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Prefix in exclude-result-prefixes is not valid: {0}"},
7449f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7459f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_MISSING_NS_URI,
7469f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Missing namespace URI for specified prefix"},
7479f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7489f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_MISSING_ARG_FOR_OPTION,
7499f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Missing argument for option: {0}"},
7509f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7519f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_INVALID_OPTION,
7529f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Invalid option: {0}"},
7539f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7549f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_MALFORMED_FORMAT_STRING,
7559f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Malformed format string: {0}"},
7569f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7579f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_STYLESHEET_REQUIRES_VERSION_ATTRIB,
7589f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "xsl:stylesheet requires a 'version' attribute!"},
7599f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7609f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_ILLEGAL_ATTRIBUTE_VALUE,
7619f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Attribute: {0} has an illegal value: {1}"},
7629f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7639f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CHOOSE_REQUIRES_WHEN,
7649f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "xsl:choose requires an xsl:when"},
7659f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7669f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_APPLY_IMPORT_IN_FOR_EACH,
7679f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "xsl:apply-imports not allowed in a xsl:for-each"},
7689f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7699f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CANT_USE_DTM_FOR_OUTPUT,
7709f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Cannot use a DTMLiaison for an output DOM node... pass a org.apache.xpath.DOM2Helper instead!"},
7719f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7729f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CANT_USE_DTM_FOR_INPUT,
7739f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Cannot use a DTMLiaison for a input DOM node... pass a org.apache.xpath.DOM2Helper instead!"},
7749f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7759f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CALL_TO_EXT_FAILED,
7769f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Call to extension element failed: {0}"},
7779f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7789f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_PREFIX_MUST_RESOLVE,
7799f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Prefix must resolve to a namespace: {0}"},
7809f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7819f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_INVALID_UTF16_SURROGATE,
7829f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Invalid UTF-16 surrogate detected: {0} ?"},
7839f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7849f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_XSLATTRSET_USED_ITSELF,
7859f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "xsl:attribute-set {0} used itself, which will cause an infinite loop."},
7869f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7879f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CANNOT_MIX_XERCESDOM,
7889f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Can not mix non Xerces-DOM input with Xerces-DOM output!"},
7899f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7909f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_TOO_MANY_LISTENERS,
7919f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "addTraceListenersToStylesheet - TooManyListenersException"},
7929f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7939f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_IN_ELEMTEMPLATEELEM_READOBJECT,
7949f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "In ElemTemplateElement.readObject: {0}"},
7959f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7969f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_DUPLICATE_NAMED_TEMPLATE,
7979f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Found more than one template named: {0}"},
7989f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
7999f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_INVALID_KEY_CALL,
8009f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Invalid function call: recursive key() calls are not allowed"},
8019f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8029f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_REFERENCING_ITSELF,
8039f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Variable {0} is directly or indirectly referencing itself!"},
8049f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8059f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_ILLEGAL_DOMSOURCE_INPUT,
8069f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "The input node can not be null for a DOMSource for newTemplates!"},
8079f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8089f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CLASS_NOT_FOUND_FOR_OPTION,
8099f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	"Class file not found for option {0}"},
8109f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8119f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_REQUIRED_ELEM_NOT_FOUND,
8129f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	"Required Element not found: {0}"},
8139f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8149f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_INPUT_CANNOT_BE_NULL,
8159f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	"InputStream cannot be null"},
8169f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8179f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_URI_CANNOT_BE_NULL,
8189f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	"URI cannot be null"},
8199f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8209f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_FILE_CANNOT_BE_NULL,
8219f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson	"File cannot be null"},
8229f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8239f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_SOURCE_CANNOT_BE_NULL,
8249f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson		"InputSource cannot be null"},
8259f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8269f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CANNOT_INIT_BSFMGR,
8279f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson		"Could not initialize BSF Manager"},
8289f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8299f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CANNOT_CMPL_EXTENSN,
8309f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson		"Could not compile extension"},
8319f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8329f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CANNOT_CREATE_EXTENSN,
8339f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Could not create extension: {0} because of: {1}"},
8349f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8359f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_INSTANCE_MTHD_CALL_REQUIRES,
8369f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Instance method call to method {0} requires an Object instance as first argument"},
8379f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8389f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_INVALID_ELEMENT_NAME,
8399f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Invalid element name specified {0}"},
8409f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8419f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_ELEMENT_NAME_METHOD_STATIC,
8429f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Element name method must be static {0}"},
8439f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8449f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_EXTENSION_FUNC_UNKNOWN,
8459f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson             "Extension function {0} : {1} is unknown"},
8469f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8479f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_MORE_MATCH_CONSTRUCTOR,
8489f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson             "More than one best match for constructor for {0}"},
8499f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8509f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_MORE_MATCH_METHOD,
8519f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson             "More than one best match for method {0}"},
8529f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8539f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_MORE_MATCH_ELEMENT,
8549f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson             "More than one best match for element method {0}"},
8559f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8569f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_INVALID_CONTEXT_PASSED,
8579f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson             "Invalid context passed to evaluate {0}"},
8589f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8599f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_POOL_EXISTS,
8609f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson             "Pool already exists"},
8619f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8629f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_DRIVER_NAME,
8639f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson             "No driver Name specified"},
8649f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8659f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_URL,
8669f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson             "No URL specified"},
8679f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8689f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_POOL_SIZE_LESSTHAN_ONE,
8699f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson             "Pool size is less than one!"},
8709f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8719f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_INVALID_DRIVER,
8729f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson             "Invalid driver name specified!"},
8739f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8749f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_STYLESHEETROOT,
8759f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson             "Did not find the stylesheet root!"},
8769f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8779f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_ILLEGAL_XMLSPACE_VALUE,
8789f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson         "Illegal value for xml:space"},
8799f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8809f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_PROCESSFROMNODE_FAILED,
8819f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson         "processFromNode failed"},
8829f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8839f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_RESOURCE_COULD_NOT_LOAD,
8849f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "The resource [ {0} ] could not load: {1} \n {2} \t {3}"},
8859f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8869f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_BUFFER_SIZE_LESSTHAN_ZERO,
8879f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "Buffer size <=0"},
8889f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8899f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_UNKNOWN_ERROR_CALLING_EXTENSION,
8909f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "Unknown error when calling extension"},
8919f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8929f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_NAMESPACE_DECL,
8939f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "Prefix {0} does not have a corresponding namespace declaration"},
8949f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8959f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_ELEM_CONTENT_NOT_ALLOWED,
8969f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "Element content not allowed for lang=javaclass {0}"},
8979f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
8989f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_STYLESHEET_DIRECTED_TERMINATION,
8999f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "Stylesheet directed termination"},
9009f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9019f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_ONE_OR_TWO,
9029f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "1 or 2"},
9039f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9049f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_TWO_OR_THREE,
9059f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "2 or 3"},
9069f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9079f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_COULD_NOT_LOAD_RESOURCE,
9089f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "Could not load {0} (check CLASSPATH), now using just the defaults"},
9099f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9109f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CANNOT_INIT_DEFAULT_TEMPLATES,
9119f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "Cannot initialize default templates"},
9129f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9139f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_RESULT_NULL,
9149f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "Result should not be null"},
9159f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9169f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_RESULT_COULD_NOT_BE_SET,
9179f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "Result could not be set"},
9189f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9199f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_OUTPUT_SPECIFIED,
9209f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "No output specified"},
9219f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9229f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CANNOT_TRANSFORM_TO_RESULT_TYPE,
9239f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "Can''t transform to a Result of type {0}"},
9249f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9259f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CANNOT_TRANSFORM_SOURCE_TYPE,
9269f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "Can''t transform a Source of type {0}"},
9279f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9289f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NULL_CONTENT_HANDLER,
9299f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "Null content handler"},
9309f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9319f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NULL_ERROR_HANDLER,
9329f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "Null error handler"},
9339f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9349f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CANNOT_CALL_PARSE,
9359f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "parse can not be called if the ContentHandler has not been set"},
9369f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9379f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_PARENT_FOR_FILTER,
9389f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "No parent for filter"},
9399f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9409f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_STYLESHEET_IN_MEDIA,
9419f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson         "No stylesheet found in: {0}, media= {1}"},
9429f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9439f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_STYLESHEET_PI,
9449f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson         "No xml-stylesheet PI found in: {0}"},
9459f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9469f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NOT_SUPPORTED,
9479f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson       "Not supported: {0}"},
9489f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9499f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_PROPERTY_VALUE_BOOLEAN,
9509f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson       "Value for property {0} should be a Boolean instance"},
9519f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9529f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_COULD_NOT_FIND_EXTERN_SCRIPT,
9539f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson         "Could not get to external script at {0}"},
9549f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9559f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_RESOURCE_COULD_NOT_FIND,
9569f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "The resource [ {0} ] could not be found.\n {1}"},
9579f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9589f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_OUTPUT_PROPERTY_NOT_RECOGNIZED,
9599f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "Output property not recognized: {0}"},
9609f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9619f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_FAILED_CREATING_ELEMLITRSLT,
9629f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "Failed creating ElemLiteralResult instance"},
9639f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9649f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  //Earlier (JDK 1.4 XALAN 2.2-D11) at key code '204' the key name was ER_PRIORITY_NOT_PARSABLE
9659f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  // In latest Xalan code base key name is  ER_VALUE_SHOULD_BE_NUMBER. This should also be taken care
9669f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  //in locale specific files like XSLTErrorResources_de.java, XSLTErrorResources_fr.java etc.
9679f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  //NOTE: Not only the key name but message has also been changed.
9689f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_VALUE_SHOULD_BE_NUMBER,
9699f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "Value for {0} should contain a parsable number"},
9709f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9719f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_VALUE_SHOULD_EQUAL,
9729f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "Value for {0} should equal yes or no"},
9739f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9749f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_FAILED_CALLING_METHOD,
9759f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "Failed calling {0} method"},
9769f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9779f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_FAILED_CREATING_ELEMTMPL,
9789f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "Failed creating ElemTemplateElement instance"},
9799f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9809f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CHARS_NOT_ALLOWED,
9819f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "Characters are not allowed at this point in the document"},
9829f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9839f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_ATTR_NOT_ALLOWED,
9849f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        "\"{0}\" attribute is not allowed on the {1} element!"},
9859f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9869f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_BAD_VALUE,
9879f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "{0} bad value {1} "},
9889f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9899f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_ATTRIB_VALUE_NOT_FOUND,
9909f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "{0} attribute value not found "},
9919f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9929f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_ATTRIB_VALUE_NOT_RECOGNIZED,
9939f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "{0} attribute value not recognized "},
9949f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9959f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NULL_URI_NAMESPACE,
9969f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Attempting to generate a namespace prefix with a null URI"},
9979f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
9989f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NUMBER_TOO_BIG,
9999f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Attempting to format a number bigger than the largest Long integer"},
10009f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10019f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CANNOT_FIND_SAX1_DRIVER,
10029f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Cannot find SAX1 driver class {0}"},
10039f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10049f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_SAX1_DRIVER_NOT_LOADED,
10059f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "SAX1 driver class {0} found but cannot be loaded"},
10069f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10079f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_SAX1_DRIVER_NOT_INSTANTIATED,
10089f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "SAX1 driver class {0} loaded but cannot be instantiated"},
10099f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10109f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER,
10119f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "SAX1 driver class {0} does not implement org.xml.sax.Parser"},
10129f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10139f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_PARSER_PROPERTY_NOT_SPECIFIED,
10149f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "System property org.xml.sax.parser not specified"},
10159f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10169f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_PARSER_ARG_CANNOT_BE_NULL,
10179f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Parser argument must not be null"},
10189f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10199f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_FEATURE,
10209f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Feature: {0}"},
10219f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10229f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_PROPERTY,
10239f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Property: {0}"},
10249f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10259f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NULL_ENTITY_RESOLVER,
10269f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Null entity resolver"},
10279f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10289f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NULL_DTD_HANDLER,
10299f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Null DTD handler"},
10309f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10319f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_DRIVER_NAME_SPECIFIED,
10329f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "No Driver Name Specified!"},
10339f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10349f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_URL_SPECIFIED,
10359f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "No URL Specified!"},
10369f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10379f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_POOLSIZE_LESS_THAN_ONE,
10389f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Pool size is less than 1!"},
10399f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10409f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_INVALID_DRIVER_NAME,
10419f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Invalid Driver Name Specified!"},
10429f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10439f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_ERRORLISTENER,
10449f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "ErrorListener"},
10459f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10469f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10479f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// Note to translators:  The following message should not normally be displayed
10489f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson//   to users.  It describes a situation in which the processor has detected
10499f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson//   an internal consistency problem in itself, and it provides this message
10509f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson//   for the developer to help diagnose the problem.  The name
10519f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson//   'ElemTemplateElement' is the name of a class, and should not be
10529f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson//   translated.
10539f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_ASSERT_NO_TEMPLATE_PARENT,
10549f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Programmer's error! The expression has no ElemTemplateElement parent!"},
10559f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10569f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10579f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// Note to translators:  The following message should not normally be displayed
10589f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson//   to users.  It describes a situation in which the processor has detected
10599f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson//   an internal consistency problem in itself, and it provides this message
10609f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson//   for the developer to help diagnose the problem.  The substitution text
10619f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson//   provides further information in order to diagnose the problem.  The name
10629f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson//   'RedundentExprEliminator' is the name of a class, and should not be
10639f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson//   translated.
10649f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR,
10659f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Programmer''s assertion in RedundentExprEliminator: {0}"},
10669f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10679f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NOT_ALLOWED_IN_POSITION,
10689f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "{0} is not allowed in this position in the stylesheet!"},
10699f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10709f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION,
10719f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Non-whitespace text is not allowed in this position in the stylesheet!"},
10729f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10739f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  // This code is shared with warning codes.
10749f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  // SystemId Unknown
10759f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { INVALID_TCHAR,
10769f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Illegal value: {1} used for CHAR attribute: {0}.  An attribute of type CHAR must be only 1 character!"},
10779f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10789f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // Note to translators:  The following message is used if the value of
10799f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // an attribute in a stylesheet is invalid.  "QNAME" is the XML data-type of
10809f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // the attribute, and should not be translated.  The substitution text {1} is
10819f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // the attribute value and {0} is the attribute name.
10829f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  //The following codes are shared with the warning codes...
10839f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { INVALID_QNAME,
10849f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Illegal value: {1} used for QNAME attribute: {0}"},
10859f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10869f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // Note to translators:  The following message is used if the value of
10879f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // an attribute in a stylesheet is invalid.  "ENUM" is the XML data-type of
10889f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // the attribute, and should not be translated.  The substitution text {1} is
10899f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // the attribute value, {0} is the attribute name, and {2} is a list of valid
10909f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // values.
10919f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { INVALID_ENUM,
10929f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Illegal value: {1} used for ENUM attribute: {0}.  Valid values are: {2}."},
10939f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
10949f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// Note to translators:  The following message is used if the value of
10959f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// an attribute in a stylesheet is invalid.  "NMTOKEN" is the XML data-type
10969f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// of the attribute, and should not be translated.  The substitution text {1} is
10979f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// the attribute value and {0} is the attribute name.
10989f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { INVALID_NMTOKEN,
10999f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Illegal value: {1} used for NMTOKEN attribute: {0} "},
11009f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
11019f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// Note to translators:  The following message is used if the value of
11029f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// an attribute in a stylesheet is invalid.  "NCNAME" is the XML data-type
11039f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// of the attribute, and should not be translated.  The substitution text {1} is
11049f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// the attribute value and {0} is the attribute name.
11059f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { INVALID_NCNAME,
11069f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Illegal value: {1} used for NCNAME attribute: {0} "},
11079f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
11089f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// Note to translators:  The following message is used if the value of
11099f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// an attribute in a stylesheet is invalid.  "boolean" is the XSLT data-type
11109f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// of the attribute, and should not be translated.  The substitution text {1} is
11119f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// the attribute value and {0} is the attribute name.
11129f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { INVALID_BOOLEAN,
11139f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Illegal value: {1} used for boolean attribute: {0} "},
11149f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
11159f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// Note to translators:  The following message is used if the value of
11169f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// an attribute in a stylesheet is invalid.  "number" is the XSLT data-type
11179f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// of the attribute, and should not be translated.  The substitution text {1} is
11189f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// the attribute value and {0} is the attribute name.
11199f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     { INVALID_NUMBER,
11209f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Illegal value: {1} used for number attribute: {0} "},
11219f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
11229f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
11239f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  // End of shared codes...
11249f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
11259f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// Note to translators:  A "match pattern" is a special form of XPath expression
11269f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// that is used for matching patterns.  The substitution text is the name of
11279f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// a function.  The message indicates that when this function is referenced in
11289f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// a match pattern, its argument must be a string literal (or constant.)
11299f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// ER_ARG_LITERAL - new error message for bugzilla //5202
11309f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_ARG_LITERAL,
11319f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Argument to {0} in match pattern must be a literal."},
11329f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
11339f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// Note to translators:  The following message indicates that two definitions of
11349f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// a variable.  A "global variable" is a variable that is accessible everywher
11359f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// in the stylesheet.
11369f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// ER_DUPLICATE_GLOBAL_VAR - new error message for bugzilla #790
11379f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_DUPLICATE_GLOBAL_VAR,
11389f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Duplicate global variable declaration."},
11399f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
11409f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
11419f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// Note to translators:  The following message indicates that two definitions of
11429f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// a variable were encountered.
11439f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson// ER_DUPLICATE_VAR - new error message for bugzilla #790
11449f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_DUPLICATE_VAR,
11459f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Duplicate variable declaration."},
11469f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
11479f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // Note to translators:  "xsl:template, "name" and "match" are XSLT keywords
11489f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // which must not be translated.
11499f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // ER_TEMPLATE_NAME_MATCH - new error message for bugzilla #789
11509f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_TEMPLATE_NAME_MATCH,
11519f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "xsl:template must have a name or match attribute (or both)"},
11529f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
11539f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // Note to translators:  "exclude-result-prefixes" is an XSLT keyword which
11549f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // should not be translated.  The message indicates that a namespace prefix
11559f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // encountered as part of the value of the exclude-result-prefixes attribute
11569f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // was in error.
11579f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // ER_INVALID_PREFIX - new error message for bugzilla #788
11589f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_INVALID_PREFIX,
11599f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Prefix in exclude-result-prefixes is not valid: {0}"},
11609f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
11619f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // Note to translators:  An "attribute set" is a set of attributes that can
11629f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // be added to an element in the output document as a group.  The message
11639f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // indicates that there was a reference to an attribute set named {0} that
11649f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // was never defined.
11659f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // ER_NO_ATTRIB_SET - new error message for bugzilla #782
11669f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NO_ATTRIB_SET,
11679f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "attribute-set named {0} does not exist"},
11689f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
11699f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // Note to translators:  This message indicates that there was a reference
11709f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // to a function named {0} for which no function definition could be found.
11719f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_FUNCTION_NOT_FOUND,
11729f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "The function named {0} does not exist"},
11739f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
11749f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // Note to translators:  This message indicates that the XSLT instruction
11759f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // that is named by the substitution text {0} must not contain other XSLT
11769f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // instructions (content) or a "select" attribute.  The word "select" is
11779f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // an XSLT keyword in this case and must not be translated.
11789f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_CANT_HAVE_CONTENT_AND_SELECT,
11799f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "The {0} element must not have both content and a select attribute."},
11809f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
11819f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // Note to translators:  This message indicates that the value argument
11829f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // of setParameter must be a valid Java Object.
11839f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_INVALID_SET_PARAM_VALUE,
11849f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "The value of param {0} must be a valid Java Object"},
11859f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
11869f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX_FOR_DEFAULT,
11879f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "The result-prefix attribute of an xsl:namespace-alias element has the value '#default', but there is no declaration of the default namespace in scope for the element"},
11889f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
11899f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX,
11909f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "The result-prefix attribute of an xsl:namespace-alias element has the value ''{0}'', but there is no namespace declaration for the prefix ''{0}'' in scope for the element."},
11919f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
11929f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_SET_FEATURE_NULL_NAME,
11939f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "The feature name cannot be null in TransformerFactory.setFeature(String name, boolean value)."},
11949f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
11959f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_GET_FEATURE_NULL_NAME,
11969f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "The feature name cannot be null in TransformerFactory.getFeature(String name)."},
11979f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
11989f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_UNSUPPORTED_FEATURE,
11999f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Cannot set the feature ''{0}'' on this TransformerFactory."},
12009f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12019f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_EXTENSION_ELEMENT_NOT_ALLOWED_IN_SECURE_PROCESSING,
12029f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  	  "Use of the extension element ''{0}'' is not allowed when the secure processing feature is set to true."},
12039f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12049f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NAMESPACE_CONTEXT_NULL_NAMESPACE,
12059f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Cannot get the prefix for a null namespace uri."},
12069f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12079f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_NAMESPACE_CONTEXT_NULL_PREFIX,
12089f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Cannot get the namespace uri for null prefix."},
12099f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12109f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_XPATH_RESOLVER_NULL_QNAME,
12119f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "The function name cannot be null."},
12129f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12139f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { ER_XPATH_RESOLVER_NEGATIVE_ARITY,
12149f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "The arity cannot be negative."},
12159f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  // Warnings...
12169f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12179f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_FOUND_CURLYBRACE,
12189f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Found '}' but no attribute template open!"},
12199f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12209f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR,
12219f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Warning: count attribute does not match an ancestor in xsl:number! Target = {0}"},
12229f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12239f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_EXPR_ATTRIB_CHANGED_TO_SELECT,
12249f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Old syntax: The name of the 'expr' attribute has been changed to 'select'."},
12259f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12269f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_NO_LOCALE_IN_FORMATNUMBER,
12279f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Xalan doesn't yet handle the locale name in the format-number function."},
12289f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12299f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_LOCALE_NOT_FOUND,
12309f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Warning: Could not find locale for xml:lang={0}"},
12319f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12329f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_CANNOT_MAKE_URL_FROM,
12339f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Can not make URL from: {0}"},
12349f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12359f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_CANNOT_LOAD_REQUESTED_DOC,
12369f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Can not load requested doc: {0}"},
12379f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12389f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_CANNOT_FIND_COLLATOR,
12399f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Could not find Collator for <sort xml:lang={0}"},
12409f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12419f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_FUNCTIONS_SHOULD_USE_URL,
12429f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Old syntax: the functions instruction should use a url of {0}"},
12439f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12449f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_ENCODING_NOT_SUPPORTED_USING_UTF8,
12459f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "encoding not supported: {0}, using UTF-8"},
12469f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12479f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_ENCODING_NOT_SUPPORTED_USING_JAVA,
12489f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "encoding not supported: {0}, using Java {1}"},
12499f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12509f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_SPECIFICITY_CONFLICTS,
12519f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Specificity conflicts found: {0} Last found in stylesheet will be used."},
12529f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12539f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_PARSING_AND_PREPARING,
12549f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "========= Parsing and preparing {0} =========="},
12559f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12569f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_ATTR_TEMPLATE,
12579f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Attr Template, {0}"},
12589f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12599f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE,
12609f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Match conflict between xsl:strip-space and xsl:preserve-space"},
12619f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12629f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_ATTRIB_NOT_HANDLED,
12639f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Xalan does not yet handle the {0} attribute!"},
12649f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12659f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_NO_DECIMALFORMAT_DECLARATION,
12669f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "No declaration found for decimal format: {0}"},
12679f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12689f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_OLD_XSLT_NS,
12699f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson     "Missing or incorrect XSLT Namespace. "},
12709f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12719f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED,
12729f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Only one default xsl:decimal-format declaration is allowed."},
12739f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12749f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE,
12759f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "xsl:decimal-format names must be unique. Name \"{0}\" has been duplicated."},
12769f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12779f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_ILLEGAL_ATTRIBUTE,
12789f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "{0} has an illegal attribute: {1}"},
12799f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12809f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_COULD_NOT_RESOLVE_PREFIX,
12819f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Could not resolve namespace prefix: {0}. The node will be ignored."},
12829f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12839f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_STYLESHEET_REQUIRES_VERSION_ATTRIB,
12849f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "xsl:stylesheet requires a 'version' attribute!"},
12859f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12869f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_ILLEGAL_ATTRIBUTE_NAME,
12879f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Illegal attribute name: {0}"},
12889f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12899f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_ILLEGAL_ATTRIBUTE_VALUE,
12909f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Illegal value used for attribute {0}: {1}"},
12919f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12929f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_EMPTY_SECOND_ARG,
12939f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Resulting nodeset from second argument of document function is empty. Return an empty node-set."},
12949f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12959f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  //Following are the new WARNING keys added in XALAN code base after Jdk 1.4 (Xalan 2.2-D11)
12969f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
12979f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // Note to translators:  "name" and "xsl:processing-instruction" are keywords
12989f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // and must not be translated.
12999f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML,
13009f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "The value of the 'name' attribute of xsl:processing-instruction name must not be 'xml'"},
13019f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
13029f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // Note to translators:  "name" and "xsl:processing-instruction" are keywords
13039f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // and must not be translated.  "NCName" is an XML data-type and must not be
13049f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // translated.
13059f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME,
13069f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "The value of the ''name'' attribute of xsl:processing-instruction must be a valid NCName: {0}"},
13079f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
13089f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // Note to translators:  This message is reported if the stylesheet that is
13099f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // being processed attempted to construct an XML document with an attribute in a
13109f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // place other than on an element.  The substitution text specifies the name of
13119f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // the attribute.
13129f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { WG_ILLEGAL_ATTRIBUTE_POSITION,
13139f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "Cannot add attribute {0} after child nodes or before an element is produced.  Attribute will be ignored."},
13149f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
13159f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    { NO_MODIFICATION_ALLOWED_ERR,
13169f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      "An attempt is made to modify an object where modifications are not allowed."
13179f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    },
13189f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
13199f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    //Check: WHY THERE IS A GAP B/W NUMBERS in the XSLTErrorResources properties file?
13209f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
13219f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  // Other miscellaneous text used inside the code...
13229f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "ui_language", "en"},
13239f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "help_language",  "en" },
13249f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "language",  "en" },
13259f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "BAD_CODE", "Parameter to createMessage was out of bounds"},
13269f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "FORMAT_FAILED", "Exception thrown during messageFormat call"},
13279f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "version", ">>>>>>> Xalan Version "},
13289f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "version2",  "<<<<<<<"},
13299f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "yes", "yes"},
13309f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "line", "Line #"},
13319f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "column","Column #"},
13329f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "xsldone", "XSLProcessor: done"},
13339f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
13349f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
13359f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  // Note to translators:  The following messages provide usage information
13369f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  // for the Xalan Process command line.  "Process" is the name of a Java class,
13379f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  // and should not be translated.
13389f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "xslProc_option", "Xalan-J command line Process class options:"},
13399f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "xslProc_option", "Xalan-J command line Process class options\u003a"},
13409f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "xslProc_invalid_xsltc_option", "The option {0} is not supported in XSLTC mode."},
13419f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "xslProc_invalid_xalan_option", "The option {0} can only be used with -XSLTC."},
13429f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "xslProc_no_input", "Error: No stylesheet or input xml is specified. Run this command without any option for usage instructions."},
13439f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "xslProc_common_options", "-Common Options-"},
13449f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "xslProc_xalan_options", "-Options for Xalan-"},
13459f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "xslProc_xsltc_options", "-Options for XSLTC-"},
13469f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "xslProc_return_to_continue", "(press <return> to continue)"},
13479f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
13489f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   // Note to translators: The option name and the parameter name do not need to
13499f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   // be translated. Only translate the messages in parentheses.  Note also that
13509f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   // leading whitespace in the messages is used to indent the usage information
13519f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   // for each option in the English messages.
13529f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   // Do not translate the keywords: XSLTC, SAX, DOM and DTM.
13539f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionXSLTC", "   [-XSLTC (use XSLTC for transformation)]"},
13549f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionIN", "   [-IN inputXMLURL]"},
13559f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionXSL", "   [-XSL XSLTransformationURL]"},
13569f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionOUT",  "   [-OUT outputFileName]"},
13579f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionLXCIN", "   [-LXCIN compiledStylesheetFileNameIn]"},
13589f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionLXCOUT", "   [-LXCOUT compiledStylesheetFileNameOutOut]"},
13599f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionPARSER", "   [-PARSER fully qualified class name of parser liaison]"},
13609f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "optionE", "   [-E (Do not expand entity refs)]"},
13619f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "optionV",  "   [-E (Do not expand entity refs)]"},
13629f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "optionQC", "   [-QC (Quiet Pattern Conflicts Warnings)]"},
13639f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "optionQ", "   [-Q  (Quiet Mode)]"},
13649f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "optionLF", "   [-LF (Use linefeeds only on output {default is CR/LF})]"},
13659f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "optionCR", "   [-CR (Use carriage returns only on output {default is CR/LF})]"},
13669f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionESCAPE", "   [-ESCAPE (Which characters to escape {default is <>&\"\'\\r\\n}]"},
13679f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionINDENT", "   [-INDENT (Control how many spaces to indent {default is 0})]"},
13689f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionTT", "   [-TT (Trace the templates as they are being called.)]"},
13699f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionTG", "   [-TG (Trace each generation event.)]"},
13709f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionTS", "   [-TS (Trace each selection event.)]"},
13719f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "optionTTC", "   [-TTC (Trace the template children as they are being processed.)]"},
13729f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionTCLASS", "   [-TCLASS (TraceListener class for trace extensions.)]"},
13739f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionVALIDATE", "   [-VALIDATE (Set whether validation occurs.  Validation is off by default.)]"},
13749f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionEDUMP", "   [-EDUMP {optional filename} (Do stackdump on error.)]"},
13759f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "optionXML", "   [-XML (Use XML formatter and add XML header.)]"},
13769f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "optionTEXT", "   [-TEXT (Use simple Text formatter.)]"},
13779f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "optionHTML", "   [-HTML (Use HTML formatter.)]"},
13789f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "optionPARAM", "   [-PARAM name expression (Set a stylesheet parameter)]"},
13799f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "noParsermsg1", "XSL Process was not successful."},
13809f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "noParsermsg2", "** Could not find parser **"},
13819f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "noParsermsg3",  "Please check your classpath."},
13829f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "noParsermsg4", "If you don't have IBM's XML Parser for Java, you can download it from"},
13839f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "noParsermsg5", "IBM's AlphaWorks: http://www.alphaworks.ibm.com/formula/xml"},
13849f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionURIRESOLVER", "   [-URIRESOLVER full class name (URIResolver to be used to resolve URIs)]"},
13859f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionENTITYRESOLVER",  "   [-ENTITYRESOLVER full class name (EntityResolver to be used to resolve entities)]"},
13869f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionCONTENTHANDLER",  "   [-CONTENTHANDLER full class name (ContentHandler to be used to serialize output)]"},
13879f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "optionLINENUMBERS",  "   [-L use line numbers for source document]"},
13889f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionSECUREPROCESSING", "   [-SECURE (set the secure processing feature to true.)]"},
13899f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
13909f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    // Following are the new options added in XSLTErrorResources.properties files after Jdk 1.4 (Xalan 2.2-D11)
13919f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
13929f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
13939f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "optionMEDIA",  "   [-MEDIA mediaType (use media attribute to find stylesheet associated with a document.)]"},
13949f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "optionFLAVOR",  "   [-FLAVOR flavorName (Explicitly use s2s=SAX or d2d=DOM to do transform.)] "}, // Added by sboag/scurcuru; experimental
13959f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionDIAG", "   [-DIAG (Print overall milliseconds transform took.)]"},
13969f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionINCREMENTAL",  "   [-INCREMENTAL (request incremental DTM construction by setting http://xml.apache.org/xalan/features/incremental true.)]"},
13979f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "optionNOOPTIMIMIZE",  "   [-NOOPTIMIMIZE (request no stylesheet optimization processing by setting http://xml.apache.org/xalan/features/optimize false.)]"},
13989f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionRL",  "   [-RL recursionlimit (assert numeric limit on stylesheet recursion depth.)]"},
13999f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {   "optionXO",  "   [-XO [transletName] (assign the name to the generated translet)]"},
14009f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "optionXD", "   [-XD destinationDirectory (specify a destination directory for translet)]"},
14019f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {  "optionXJ",  "   [-XJ jarfile (packages translet classes into a jar file of name <jarfile>)]"},
14029f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {   "optionXP",  "   [-XP package (specifies a package name prefix for all generated translet classes)]"},
14039f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
14049f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  //AddITIONAL  STRINGS that need L10n
14059f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  // Note to translators:  The following message describes usage of a particular
14069f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  // command-line option that is used to enable the "template inlining"
14079f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  // optimization.  The optimization involves making a copy of the code
14089f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  // generated for a template in another template that refers to it.
14099f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionXN",  "   [-XN (enables template inlining)]" },
14109f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionXX",  "   [-XX (turns on additional debugging message output)]"},
14119f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "optionXT" , "   [-XT (use translet to transform if possible)]"},
14129f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "diagTiming"," --------- Transform of {0} via {1} took {2} ms" },
14139f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "recursionTooDeep","Template nesting too deep. nesting = {0}, template {1} {2}" },
14149f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "nameIs", "name is" },
14159f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  { "matchPatternIs", "match pattern is" }
14169f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
14179f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  };
14189f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  }
14199f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  // ================= INFRASTRUCTURE ======================
14209f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
14219f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  /** String for use when a bad error code was encountered.    */
14229f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String BAD_CODE = "BAD_CODE";
14239f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
14249f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  /** String for use when formatting of the error string failed.   */
14259f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String FORMAT_FAILED = "FORMAT_FAILED";
14269f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
14279f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  /** General error string.   */
14289f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ERROR_STRING = "#error";
14299f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
14309f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  /** String to prepend to error messages.  */
14319f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String ERROR_HEADER = "Error: ";
14329f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
14339f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  /** String to prepend to warning messages.    */
14349f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String WARNING_HEADER = "Warning: ";
14359f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
14369f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  /** String to specify the XSLT module.  */
14379f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String XSL_HEADER = "XSLT ";
14389f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
14399f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  /** String to specify the XML parser module.  */
14409f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String XML_HEADER = "XML ";
14419f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
14429f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  /** I don't think this is used any more.
14439f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   * @deprecated  */
14449f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final String QUERY_HEADER = "PATTERN ";
14459f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
14469f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
14479f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  /**
14489f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   *   Return a named ResourceBundle for a particular locale.  This method mimics the behavior
14499f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   *   of ResourceBundle.getBundle().
14509f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   *
14519f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   *   @param className the name of the class that implements the resource bundle.
14529f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   *   @return the ResourceBundle
14539f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   *   @throws MissingResourceException
14549f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   */
14559f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  public static final XSLTErrorResources loadResourceBundle(String className)
14569f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson          throws MissingResourceException
14579f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {
14589f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
14599f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    Locale locale = Locale.getDefault();
14609f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    String suffix = getResourceSuffix(locale);
14619f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
14629f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    try
14639f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    {
14649f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
14659f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      // first try with the given locale
14669f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      return (XSLTErrorResources) ResourceBundle.getBundle(className
14679f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson              + suffix, locale);
14689f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    }
14699f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    catch (MissingResourceException e)
14709f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    {
14719f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      try  // try to fall back to en_US if we can't load
14729f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      {
14739f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
14749f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        // Since we can't find the localized property file,
14759f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        // fall back to en_US.
14769f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        return (XSLTErrorResources) ResourceBundle.getBundle(className,
14779f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson                new Locale("en", "US"));
14789f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      }
14799f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      catch (MissingResourceException e2)
14809f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      {
14819f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
14829f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        // Now we are really in trouble.
14839f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        // very bad, definitely very bad...not going to get very far
14849f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson        throw new MissingResourceException(
14859f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson          "Could not load any resource bundles.", className, "");
14869f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      }
14879f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    }
14889f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  }
14899f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
14909f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  /**
14919f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   * Return the resource file suffic for the indicated locale
14929f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   * For most locales, this will be based the language code.  However
14939f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   * for Chinese, we do distinguish between Taiwan and PRC
14949f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   *
14959f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   * @param locale the locale
14969f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   * @return an String suffix which canbe appended to a resource name
14979f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson   */
14989f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  private static final String getResourceSuffix(Locale locale)
14999f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  {
15009f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
15019f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    String suffix = "_" + locale.getLanguage();
15029f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    String country = locale.getCountry();
15039f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
15049f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    if (country.equals("TW"))
15059f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson      suffix += "_" + country;
15069f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
15079f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson    return suffix;
15089f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson  }
15099f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
15109f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson
15119f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson}
1512