You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by zo...@apache.org on 2002/10/01 18:01:29 UTC

cvs commit: xml-xalan/java/src/org/apache/xpath/res XPATHErrorResources.properties

zongaro     2002/10/01 09:01:29

  Modified:    java/src/org/apache/xalan/res XSLTErrorResources.properties
               java/src/org/apache/xalan/xsltc/compiler/util
                        ErrorMessages.java
               java/src/org/apache/xalan/xsltc/runtime ErrorMessages.java
               java/src/org/apache/xpath/res XPATHErrorResources.properties
  Log:
  Added and fixed up some additional translation guidelines.
  
  Revision  Changes    Path
  1.15      +151 -13   xml-xalan/java/src/org/apache/xalan/res/XSLTErrorResources.properties
  
  Index: XSLTErrorResources.properties
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/res/XSLTErrorResources.properties,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- XSLTErrorResources.properties	30 Sep 2002 18:41:55 -0000	1.14
  +++ XSLTErrorResources.properties	1 Oct 2002 16:01:28 -0000	1.15
  @@ -1,8 +1,41 @@
   # This file contains error and warning messages related to Xalan Error Handling.
  -# Many of the messages are referenced by integer value (to avoid more strings in the 
  -# class files) and the string keys formed at runtime.  In the case where the key is an 
  -# integer, the constant reference (that would be used in the code) is listed in a comment 
  -# above the tuple.
  +# Many of the messages are referenced by integer value (to avoid more strings
  +# in the class files) and the string keys formed at runtime.  In the case where
  +# the key is an integer, the constant reference (that would be used in the code)
  +# is listed in a comment above the tuple.
  +#
  +#  General notes to translators:
  +#
  +#  1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of
  +#     components.
  +#     XSLT is an acronym for "XML Stylesheet Language: Transformations".
  +#     XSLTC is an acronym for XSLT Compiler.
  +#
  +#  2) A stylesheet is a description of how to transform an input XML document
  +#     into a resultant XML document (or HTML document or text).  The
  +#     stylesheet itself is described in the form of an XML document.
  +#
  +#  3) A template is a component of a stylesheet that is used to match a
  +#     particular portion of an input document and specifies the form of the
  +#     corresponding portion of the output document.
  +#
  +#  4) An element is a mark-up tag in an XML document; an attribute is a
  +#     modifier on the tag.  For example, in <elem attr='val' attr2='val2'>
  +#     "elem" is an element name, "attr" and "attr2" are attribute names with
  +#     the values "val" and "val2", respectively.
  +#
  +#  5) A namespace declaration is a special attribute that is used to associate
  +#     a prefix with a URI (the namespace).  The meanings of element names and
  +#     attribute names that use that prefix are defined with respect to that
  +#     namespace.
  +#
  +#  6) "Translet" is an invented term that describes the class file that
  +#     results from compiling an XML stylesheet into a Java class.
  +#
  +#  7) XPath is a specification that describes a notation for identifying
  +#     nodes in a tree-structured representation of an XML document.  An
  +#     instance of that notation is referred to as an XPath expression.
  +#
   
   # ER_ROR0000
   ER0000={0}
  @@ -490,32 +523,87 @@
   ER0240=SystemId Unknown
   # ER_LOCATION_UNKNOWN
   ER0241=Location of error unknown
  +
  +# Note to translators:  The following message is used if the value of
  +# an attribute in a stylesheet is invalid.  "QNAME" is the XML data-type of
  +# the attribute, and should not be translated.  The substitution text {1} is
  +# the attribute value and {0} is the attribute name.
   # INVALID_QNAME 	
   ER0242=Illegal value\u003a {1} used for QNAME attribute\u003a {0}
  +
  +# Note to translators:  The following message is used if the value of
  +# an attribute in a stylesheet is invalid.  "ENUM" is the XML data-type of
  +# the attribute, and should not be translated.  The substitution text {1} is
  +# the attribute value, {0} is the attribute name, and {2} is a list of valid
  +# values.
   # INVALID_ENUM
   ER0243=Illegal value\u003a {1} used for ENUM attribute\u003a {0}.  Valid values are\u003a {2}.
  -# INVALID NMTOKEN
  +
  +# Note to translators:  The following message is used if the value of
  +# an attribute in a stylesheet is invalid.  "NMTOKEN" is the XML data-type
  +# of the attribute, and should not be translated.  The substitution text {1} is
  +# the attribute value and {0} is the attribute name.
  +# INVALID_NMTOKEN
   ER0244=Illegal value\u003a {1} used for NMTOKEN attribute\u003a {0} 
  +
  +# Note to translators:  The following message is used if the value of
  +# an attribute in a stylesheet is invalid.  "NCNAME" is the XML data-type
  +# of the attribute, and should not be translated.  The substitution text {1} is
  +# the attribute value and {0} is the attribute name.
   # INVALID_NCNAME
   ER0245=Illegal value\u003a {1} used for NCNAME attribute\u003a {0} 
  +
  +# Note to translators:  The following message is used if the value of
  +# an attribute in a stylesheet is invalid.  "boolean" is the XSLT data-type
  +# of the attribute, and should not be translated.  The substitution text {1} is
  +# the attribute value and {0} is the attribute name.
   # INVALID_BOOLEAN 
   ER0246=Illegal value\u003a {1} used for boolean attribute\u003a {0} 
  +
  +# Note to translators:  The following message is used if the value of
  +# an attribute in a stylesheet is invalid.  "number" is the XSLT data-type
  +# of the attribute, and should not be translated.  The substitution text {1} is
  +# the attribute value and {0} is the attribute name.
   # INVALID_NUMBER 
   ER0247=Illegal value\u003a {1} used for number attribute\u003a {0} 
  +
  +# Note to translators:  A "match pattern" is a special form of XPath expression
  +# that is used for matching patterns.  The substitution text is the name of
  +# a function.  The message indicates that when this function is referenced in
  +# a match pattern, its argument must be a string literal (or constant.)
   # ER_ARG_LITERAL - new error message for bugzilla #5202
   ER0248=Argument to {0} in match pattern must be a literal.
  +
  +# Note to translators:  The following message indicates that two definitions of
  +# a variable.  A "global variable" is a variable that is accessible everywher
  +# in the stylesheet.
   # ER_DUPLICATE_GLOBAL_VAR - new error message for bugzilla #790
   ER0249=Duplicate global variable declaration.
  +
  +# Note to translators:  The following message indicates that two definitions of
  +# a variable were encountered.
   # ER_DUPLICATE_VAR - new error message for bugzilla #790
   ER0250=Duplicate variable declaration.
  +
  +# Note to translators:  "xsl:template", "name" and "match" are XSLT keywords
  +# which must not be translated.
   # ER_TEMPLATE_NAME_MATCH - new error message for bugzilla #789
  -ER0251=xsl:template must have a name or match attribute (or both)
  +ER0251=xsl\u003atemplate must have a name or match attribute (or both)
  +
  +# Note to translators:  "exclude-result-prefixes" is an XSLT keyword which
  +# should not be translated.  The message indicates that a namespace prefix
  +# encountered as part of the value of the exclude-result-prefixes attribute
  +# was in error.
   # ER_INVALID_PREFIX - new error message for bugzilla #788
   ER0252=Prefix in exclude-result-prefixes is not valid\u003a {0}
  +
  +# Note to translators:  An "attribute set" is a set of attributes that can be
  +# added to an element in the output document as a group.  The message indicates
  +# that there was a reference to an attribute set named {0} that was never
  +# defined.
   # ER_NO_ATTRIB_SET - new error message for bugzilla #782
   ER0253=attribute-set named {0} does not exist
   
  -
   # WG_FOUND_CURLYBRACE 
   WR0001=Found '}' but no attribute template open!
   # WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR 
  @@ -568,31 +656,74 @@
   WR0025=Illegal value used for attribute {0}\u003a {1}
   # WG_EMPTY_SECOND_ARG 
   WR0026=Resulting nodeset from second argument of document function is empty. The first agument will be used.
  +
  +# Note to translators:  "name" and "xsl:processing-instruction" are keywords
  +# and must not be translated.
   # WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML
  -WR0027=processing-instruction name can not be 'xml'
  +WR0027=The value of the 'name' attribute of xsl\u003aprocessing-instruction \
  +name must not be 'xml'
  +
  +# Note to translators:  "name" and "xsl:processing-instruction" are keywords
  +# and must not be translated.  "NCName" is an XML data-type and must not be
  +# translated.
   # WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME
  -WR0028=processing-instruction name must be a valid NCName\u003a {0}
  +WR0028=The value of the 'name' attribute of xsl\u003aprocessing-instruction \
  +must be a valid NCName\u003a {0}
  +
  +# Note to translators:  This message is reported if the stylesheet that is
  +# being processed attempted to construct an XML document with an attribute in a
  +# place other than on an element.  The substitution text specifies the name of
  +# the attribute.
   # WG_ILLEGAL_ATTRIBUTE_POSITION 
  -WR0029=Cannot add attribute {0} after child nodes or before an element is produced. Attribute will be ignored.
  +WR0029=Cannot add attribute {0} after child nodes or before an element is produced.  Attribute will be ignored.
   
  +# Note to translators:  The following message is used if the value of
  +# an attribute in a stylesheet is invalid.  "CHAR" is the XSLT data-type of
  +# the attribute, and should not be translated.  The substitution text {1} is
  +# invalid value, and {0} is the attribute name.
   # INVALID_TCHAR
  -WR0239=Illegal value: {1} used for CHAR attribute: {0}.  An attribute of type CHAR must be only 1 character!
  +WR0239=Illegal value: {1} used for CHAR attribute\u003a  {0}.  An attribute of type CHAR must be only 1 character!
   
  +# Note to translators:  The following message is used if the value of
  +# an attribute in a stylesheet is invalid.  "QNAME" is the XML data-type of
  +# the attribute, and should not be translated.  The substitution text {1} is
  +# the attribute value and {0} is the attribute name.
   # INVALID_QNAME	
   WR0242=Illegal value\u003a {1} used for QNAME attribute\u003a {0}
   
  +# Note to translators:  The following message is used if the value of
  +# an attribute in a stylesheet is invalid.  "ENUM" is the XML data-type of
  +# the attribute, and should not be translated.  The substitution text {1} is
  +# the attribute value, {0} is the attribute name, and {2} is a list of valid
  +# values.
   # INVALID_ENUM
   WR0243=Illegal value\u003a {1} used for ENUM attribute\u003a {0}.  Valid values are\u003a {2}.
   
  -# INVALID NMTOKEN
  +# Note to translators:  The following message is used if the value of
  +# an attribute in a stylesheet is invalid.  "NMTOKEN" is the XML data-type
  +# of the attribute, and should not be translated.  The substitution text {1} is
  +# the attribute value and {0} is the attribute name.
  +# INVALID_NMTOKEN
   WR0244=Illegal value\u003a {1} used for NMTOKEN attribute\u003a {0} 
   
  +# Note to translators:  The following message is used if the value of
  +# an attribute in a stylesheet is invalid.  "NCNAME" is the XML data-type
  +# of the attribute, and should not be translated.  The substitution text {1} is
  +# the attribute value and {0} is the attribute name.
   # INVALID_NCNAME
   WR0245=Illegal value\u003a {1} used for NCNAME attribute\u003a {0} 
   
  +# Note to translators:  The following message is used if the value of
  +# an attribute in a stylesheet is invalid.  "boolean" is the XSLT data-type
  +# of the attribute, and should not be translated.  The substitution text {1} is
  +# the attribute value and {0} is the attribute name.
   # INVALID_BOOLEAN
   WR0246=Illegal value\u003a {1} used for boolean attribute\u003a {0} 
   
  +# Note to translators:  The following message is used if the value of
  +# an attribute in a stylesheet is invalid.  "number" is the XSLT data-type
  +# of the attribute, and should not be translated.  The substitution text {1} is
  +# the attribute value and {0} is the attribute name.
   # INVALID_NUMBER
   WR0247=Illegal value\u003a {1} used for number attribute\u003a {0} 
   
  @@ -608,7 +739,9 @@
   column=Column \u0023
   xsldone=XSLProcessor\u003a done
   
  -# Messages for the Xalan Process command line
  +# Note to translators:  The following messages provide usage information
  +# for the Xalan Process command line.  "Process" is the name of a Java class,
  +# and should not be translated.
   xslProc_option=Xalan-J command line Process class options\u003a
   xslProc_invalid_xsltc_option=The option {0} is not supported in XSLTC mode.
   xslProc_invalid_xalan_option=The option {0} can only be used with -XSLTC.
  @@ -657,6 +790,11 @@
   optionXD=   [-XD destinationDirectory (specify a destination directory for translet)]
   optionXJ=   [-XJ jarfile (packages translet classes into a jar file of name <jarfile>)]
   optionXP=   [-XP package (specifies a package name prefix for all generated translet classes)]
  +
  +# Note to translators:  The following message describes usage of a particular
  +# command-line option that is used to enable the "template inlining"
  +# optimization.  The optimization involves making a copy of the code generated
  +# for a template in another template that refers to it.
   optionXN=   [-XN (enables template inlining)]
   optionXX=   [-XX (turns on additional debugging message output)]
   optionXT=   [-XT (use translet to transform if possible)]
  
  
  
  1.16      +32 -11    xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages.java
  
  Index: ErrorMessages.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- ErrorMessages.java	30 Sep 2002 19:20:39 -0000	1.15
  +++ ErrorMessages.java	1 Oct 2002 16:01:29 -0000	1.16
  @@ -632,7 +632,7 @@
   	 * Note to translators:  "setResult()" and "startDocument()" are Java
   	 * method names that should not be translated.
   	 */
  -	//JAXP_SET_RESULT_ERROR
  +	//JAXP_SET_RESULT_ERR
   	"setResult() must be called prior to startDocument().",
   
   	/*
  @@ -692,7 +692,12 @@
   
   	/*
   	 * Note to translators:  This message contains usage information for a
  -	 * means of invoking XSLTC from the command-line.
  +	 * means of invoking XSLTC from the command-line.  The message is
  +         * formatted for presentation in English.  The strings <output>,
  +         * <directory>, etc. indicate user-specified argument values, and can
  +         * be translated - the argument <package> refers to a Java package, so
  +         * it should be handled in the same way the term is handled for JDK
  +         * documentation.
   	 */
   	//COMPILE_USAGE_STR
   	"SYNOPSIS\n"+
  @@ -720,7 +725,12 @@
   
   	/*
   	 * Note to translators:  This message contains usage information for a
  -	 * means of invoking XSLTC from the command-line.
  +	 * means of invoking XSLTC from the command-line.  The message is
  +         * formatted for presentation in English.  The strings <jarfile>,
  +         * <document>, etc. indicate user-specified argument values, and can
  +         * be translated - the argument <class> refers to a Java class, so it
  +         * should be handled in the same way the term is handled for JDK
  +         * documentation.
   	 */
   	//TRANSFORM_USAGE_STR
   	"SYNOPSIS \n"+
  @@ -796,7 +806,7 @@
   	 * required in a particular context.  However, the location of the
   	 * problematic expression is unknown.
   	 */
  -	//TYPE_CHECK_LOC_UNK_ERR
  +	//TYPE_CHECK_UNK_LOC_ERR
   	"Error checking type of an expression at an unknown location.",
   
   	/*
  @@ -816,7 +826,8 @@
   	/*
   	 * Note to translators:  This message is used to indicate the severity
   	 * of another message.  The substitution text contains two error
  -	 * messages.
  +	 * messages.  The spacing before the second substitution text indents
  +         * it the same amount as the first in English.
   	 */
   	//WARNING_PLUS_WRAPPED_MSG
   	"WARNING:  ''{0}''\n       :{1}",
  @@ -831,7 +842,8 @@
   	/*
   	 * Note to translators:  This message is used to indicate the severity
   	 * of another message.  The substitution text contains two error
  -	 * messages.
  +	 * messages.  The spacing before the second substitution text indents
  +         * it the same amount as the first in English.
   	 */
   	//FATAL_ERR_PLUS_WRAPPED_MSG
   	"FATAL ERROR:  ''{0}''\n           :{1}",
  @@ -846,7 +858,8 @@
   	/*
   	 * Note to translators:  This message is used to indicate the severity
   	 * of another message.  The substitution text contains two error
  -	 * messages.
  +	 * messages.  The spacing before the second substitution text indents
  +         * it the same amount as the first in English.
   	 */
   	//ERROR_PLUS_WRAPPED_MSG
   	"ERROR:  ''{0}''\n     :{1}",
  @@ -865,11 +878,19 @@
   	"Transform using translet ''{0}'' ",
   
   	/*
  -	 * Note to translators:  The first substitution is the name of a class, while
  -	 * the second substitution is the name of a jar file.
  +	 * Note to translators:  The first substitution is the name of a class,
  +         * while the second substitution is the name of a jar file.
   	 */
   	//TRANSFORM_WITH_JAR_STR
  -	"Transform using translet ''{0}'' from jar file ''{1}''"	
  +	"Transform using translet ''{0}'' from jar file ''{1}''",
  +
  +        /*
  +	 * Note to translators:  "TransformerFactory" is the name of a Java
  +         * interface and must not be translated.  The substitution text is
  +         * the name of the class that could not be instantiated.
  +	 */
  +        //COULD_NOT_CREATE_TRANS_FACT
  +        "Could not create an instance of the TransformerFactory class ''{0}''."
       };
   
       private static Vector _keys;
  
  
  
  1.3       +10 -3     xml-xalan/java/src/org/apache/xalan/xsltc/runtime/ErrorMessages.java
  
  Index: ErrorMessages.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/runtime/ErrorMessages.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ErrorMessages.java	27 Sep 2002 19:02:51 -0000	1.2
  +++ ErrorMessages.java	1 Oct 2002 16:01:29 -0000	1.3
  @@ -212,7 +212,7 @@
   
   	/*
   	 * Note to translators:  As with the preceding message, a namespace
  -	 * declaration has the form of a namespace and is only permitted to
  +	 * declaration has the form of an attribute and is only permitted to
   	 * appear on an element.  The substitution text {0} is the namespace
   	 * prefix and {1} is the URI that was being used in the erroneous
   	 * namespace declaration.
  @@ -251,7 +251,14 @@
   	 * declarations.
   	 */
           // NAMESPACES_SUPPORT_ERR
  -        "The SAX parser you are using does not have support for XML Namespaces."
  +        "The SAX parser you are using does not have support for XML Namespaces.",
  +
  +        /*
  +         * Note to translators:  The substitution text is the URI that was in
  +         * error.
  +         */
  +        // CANT_RESOLVE_RELATIVE_URI_ERR
  +        "Could not resolve the URI reference ''{0}''."
       };
   
       private static Vector _keys;
  
  
  
  1.9       +119 -16   xml-xalan/java/src/org/apache/xpath/res/XPATHErrorResources.properties
  
  Index: XPATHErrorResources.properties
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/res/XPATHErrorResources.properties,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- XPATHErrorResources.properties	20 Sep 2002 13:48:48 -0000	1.8
  +++ XPATHErrorResources.properties	1 Oct 2002 16:01:29 -0000	1.9
  @@ -1,8 +1,49 @@
   # This file contains error and warning messages related to XPath Error Handling.
  -# Many of the messages are referenced by integer value (to avoid more strings in the 
  -# class files) and the string keys formed at runtime.  In the case where the key is an 
  -# integer, the constant reference (that would be used in the code) is listed in a comment 
  -# above the tuple.
  +# Many of the messages are referenced by integer value (to avoid more strings
  +# in the class files) and the string keys formed at runtime.  In the case where
  +# the key is an integer, the constant reference (that would be used in the code)
  +# is listed in a comment above the tuple.
  +
  +#  1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of
  +#     components.
  +#     XSLT is an acronym for "XML Stylesheet Language: Transformations".
  +#     XSLTC is an acronym for XSLT Compiler.
  +#
  +#  2) A stylesheet is a description of how to transform an input XML document
  +#     into a resultant XML document (or HTML document or text).  The
  +#     stylesheet itself is described in the form of an XML document.
  +#
  +#  3) A template is a component of a stylesheet that is used to match a
  +#     particular portion of an input document and specifies the form of the
  +#     corresponding portion of the output document.
  +#
  +#  4) An element is a mark-up tag in an XML document; an attribute is a
  +#     modifier on the tag.  For example, in <elem attr='val' attr2='val2'>
  +#     "elem" is an element name, "attr" and "attr2" are attribute names with
  +#     the values "val" and "val2", respectively.
  +#
  +#  5) A namespace declaration is a special attribute that is used to associate
  +#     a prefix with a URI (the namespace).  The meanings of element names and
  +#     attribute names that use that prefix are defined with respect to that
  +#     namespace.
  +#
  +#  6) "Translet" is an invented term that describes the class file that
  +#     results from compiling an XML stylesheet into a Java class.
  +#
  +#  7) XPath is a specification that describes a notation for identifying
  +#     nodes in a tree-structured representation of an XML document.  An
  +#     instance of that notation is referred to as an XPath expression.
  +#
  +#  8) The context node is the node in the document with respect to which an
  +#     XPath expression is being evaluated.
  +#
  +#  9) An iterator is an object that traverses nodes in the tree, one at a time.
  +#
  +#  10) NCName is an XML term used to describe a name that does not contain a
  +#     colon (a "no-colon name").
  +#
  +#  11) QName is an XML term meaning "qualified name".
  +#
   
   # ER_ROR0000
   ER0000={0}
  @@ -194,51 +235,113 @@
   ER0093={0} only allows {1} arguments
   # ER_UNKNOWN_STEP
   ER0094=Programmer's assertion in getNextStepPos: unknown stepType: {0}
  +
  +# Note to translators:  A relative location path is a form of XPath expression.
  +# The message indicates that such an expression was expected following the
  +# characters '/' or '//', but was not found.
   # ER_EXPECTED_REL_LOC_PATH
   ER0095=A relative location path was expected following the '/' or '//' token.
  +
  +# Note to translators:  A location path is a form of XPath expression.
  +# The message indicates that syntactically such an expression was expected, but
  +# the characters specified by the substitution text were encountered instead.
   # ER_EXPECTED_LOC_PATH
   ER0096=A location path was expected, but the following token was encountered\u003a  {0}
  +
  +# Note to translators:  A location step is part of an XPath expression.
  +# The message indicates that syntactically such an expression was expected
  +# following the specified characters.
   # ER_EXPECTED_LOC_STEP
   ER0097=A location step was expected following the '/' or '//' token.
   # ER_EXPECTED_NODE_TEST
  +
  +# Note to translators:  A node test is part of an XPath expression that is
  +# used to test for particular kinds of nodes.  In this case, a node test that
  +# consists of an NCName followed by a colon and an asterisk or that consists
  +# of a QName was expected, but was not found.
   ER0098=A node test that matches either NCName:* or QName was expected.
  +
  +# Note to translators:  A step pattern is part of an XPath expression.
  +# The message indicates that syntactically such an expression was expected,
  +# but the specified character was found in the expression instead.
   # ER_EXPECTED_STEP_PATTERN
   ER0099=A step pattern was expected, but '/' was encountered.
  +
  +# Note to translators:  A relative path pattern is part of an XPath expression.
  +# The message indicates that syntactically such an expression was expected,
  +# but was not found.
   # ER_EXPECTED_REL_PATH_PATTERN
   ER0100=A relative path pattern was expected.
  +
  +# Note to translators:  A QNAME has the syntactic form [NCName:]NCName
  +# The localname is the portion after the optional colon; the message indicates
  +# that there is a problem with that part of the QNAME.
   # ER_ARG_LOCALNAME_INVALID
   ER0101= Localname in QNAME should be a valid NCName   
  +
  +# Note to translators:  A QNAME has the syntactic form [NCName:]NCName
  +# The prefix is the portion before the optional colon; the message indicates
  +# that there is a problem with that part of the QNAME.
   # ER_ARG_PREFIX_INVALID
   ER0102=Prefix in QNAME should be a valid NCName 
  +
  +# Note to translators:  The substitution text is the name of a data type.  The
  +# message indicates that a value of a particular type could not be converted
  +# to a value of type string.
   # ER_CANT_CONVERT_TO_BOOLEAN
  -ER0103=Can not convert {0} to a boolean.
  -# ER_CANT_CONVERT_TO_SINGLENODE.
  +ER0103=Cannot convert {0} to a boolean.
  +
   # Note to translators: Do not translate ANY_UNORDERED_NODE_TYPE and FIRST_ORDERED_NODE_TYPE.
  -ER0104=Can not convert {0} to a single node. This getter applies to types ANY_UNORDERED_NODE_TYPE and FIRST_ORDERED_NODE_TYPE.   
  -# ER_CANT_GET_SNAPSHOT_LENGTH
  +# ER_CANT_CONVERT_TO_SINGLENODE.
  +ER0104=Cannot convert {0} to a single node. This getter applies to types ANY_UNORDERED_NODE_TYPE and FIRST_ORDERED_NODE_TYPE.   
  +
   # Note to translators: Do not translate UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE.
  -ER0105=Can not get snapshot length on type: {0}. This getter applies to types UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE.
  +# ER_CANT_GET_SNAPSHOT_LENGTH
  +ER0105=Cannot get snapshot length on type: {0}. This getter applies to types UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE.
  +
   # ER_NON_ITERATOR_TYPE
  -ER0106=Can not iterate over non iterator type: {0}
  +ER0106=Cannot iterate over non-iterator type: {0}
  +
  +# Note to translators:  This message indicates that the document being operated
  +# upon changed, so the iterator object that was being used to traverse the
  +# document has now become invalid.
   # ER_DOC_MUTATED
   ER0107=Document mutated since result was returned. Iterator is invalid.
  +
   # ER_INVALID_XPATH_TYPE
   ER0108=Invalid XPath type argument: {0}
  +
   # ER_EMPTY_XPATH_RESULT
   ER0109=Empty XPath result object
  +
   # ER_INCOMPATIBLE_TYPES
  -ER0110=The returned type: {0} can not be coerced into the specified type: {1}
  +ER0110=The returned type: {0} cannot be coerced into the specified type: {1}
  +
   # ER_NULL_RESOLVER
   ER0111=Unable to resolve prefix with null prefix resolver.
  +
  +# Note to translators:  The substitution text is the name of a data type.  The
  +# message indicates that a value of a particular type could not be converted
  +# to a value of type string.
   # ER_CANT_CONVERT_TO_STRING
  -ER0112=Can not convert {0} to a string.
  +ER0112=Cannot convert {0} to a string.
  +
   # ER_NON_SNAPSHOT_TYPE
  -# Note to translators: Do not translate UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE.
  -ER0113=Can call snapshotItem on type: {0}. This method applies to types UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE.
  +# Note to translators: Do not translate snapshotItem,
  +# UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE.
  +ER0113=Cannot call snapshotItem on type: {0}. This method applies to types UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE.
  +
  +# Note to translators:  XPathEvaluator is a Java interface name.  An
  +# XPathEvaluator is created with respect to a particular XML document, and in
  +# this case the expression represented by this object was being evaluated with
  +# respect to a context node from a different document.
   # ER_WRONG_DOCUMENT
   ER0114=Context node does not belong to the document that is bound to this XPathEvaluator.
  +
  +# Note to translators:  The XPath expression cannot be evaluated with respect
  +# to this type of node.
   # ER_WRONG_NODETYPE
  -ER0115=The context node type is node supported.
  +ER0115=The context node type is not supported.
   
   # WG_LOCALE_NAME_NOT_HANDLED 
   WR0001=locale name in the format-number function not yet handled!
  @@ -289,4 +392,4 @@
   zero=0
   one=1
   two=2
  -three=3
  \ No newline at end of file
  +three=3
  
  
  

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