Apache license update per XALANJ-2328.
diff --git a/src/org/apache/xalan/xsltc/compiler/util/AttributeSetMethodGenerator.java b/src/org/apache/xalan/xsltc/compiler/util/AttributeSetMethodGenerator.java
index 7af7921..005b8b8 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/AttributeSetMethodGenerator.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/AttributeSetMethodGenerator.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/BooleanType.java b/src/org/apache/xalan/xsltc/compiler/util/BooleanType.java
index 6d4d849..5dac884 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/BooleanType.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/BooleanType.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ClassGenerator.java b/src/org/apache/xalan/xsltc/compiler/util/ClassGenerator.java
index 9ce5f1f..1d811a9 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ClassGenerator.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ClassGenerator.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
@@ -137,4 +139,4 @@
addMethod(methodsToAdd[i]);
}
}
-}
\ No newline at end of file
+}
diff --git a/src/org/apache/xalan/xsltc/compiler/util/CompareGenerator.java b/src/org/apache/xalan/xsltc/compiler/util/CompareGenerator.java
index c20d881..e3d21e6 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/CompareGenerator.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/CompareGenerator.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages.java b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages.java
index ac2317d..08690fd 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_ca.java b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_ca.java
index ae8a300..1c74d2a 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_ca.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_ca.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_cs.java b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_cs.java
index 10b0c25..35d1846 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_cs.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_cs.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_de.java b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_de.java
index 16da7f8..dd91eb8 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_de.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_de.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_es.java b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_es.java
index 0cdad04..06f9e49 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_es.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_es.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_fr.java b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_fr.java
index 59d0d39..e8fb056 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_fr.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_fr.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_hu.java b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_hu.java
index f06eefc..7163b32 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_hu.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_hu.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_it.java b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_it.java
index 5c9e224..828ea7c 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_it.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_it.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_ja.java b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_ja.java
index a581fc1..d8853dc 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_ja.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_ja.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_ko.java b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_ko.java
index eabad3b..fda1dda 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_ko.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_ko.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_no.java b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_no.java
index 0c08285..e4a3906 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_no.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_no.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_pl.java b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_pl.java
index be0ff7a..85d471a 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_pl.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_pl.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_pt_BR.java b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_pt_BR.java
index d4cb7cd..4cd14fb 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_pt_BR.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_pt_BR.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_ru.java b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_ru.java
index db688ce..a8542aa 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_ru.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_ru.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_sk.java b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_sk.java
index ad12061..3b53e9f 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_sk.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_sk.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_sl.java b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_sl.java
index f8d6ee9..8af157c 100755
--- a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_sl.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_sl.java
@@ -1,911 +1,913 @@
-/*
- * Copyright 2001-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/*
- * $Id: ErrorMessages_sl.java,v 1.25 2004/12/15 17:35:40 jycli Exp $
- */
-
-package org.apache.xalan.xsltc.compiler.util;
-
-import java.util.ListResourceBundle;
-
-/**
- * @author Morten Jorgensen
- */
-public class ErrorMessages_sl extends ListResourceBundle {
-
-/*
- * XSLTC compile-time error messages.
- *
- * General notes to translators and definitions:
- *
- * 1) XSLTC is the name of the product. It is an acronym for "XSLT Compiler".
- * XSLT is an acronym for "XML Stylesheet Language: Transformations".
- *
- * 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 axis is a particular "dimension" in a tree representation of an XML
- * document; the nodes in the tree are divided along different axes.
- * Traversing the "child" axis, for instance, means that the program
- * would visit each child of a particular node; traversing the "descendant"
- * axis means that the program would visit the child nodes of a particular
- * node, their children, and so on until the leaf nodes of the tree are
- * reached.
- *
- * 5) An iterator is an object that traverses nodes in a tree along a
- * particular axis, one at a time.
- *
- * 6) 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.
- *
- * 7) 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.
- *
- * 8) DOM is an acronym for Document Object Model. It is a tree
- * representation of an XML document.
- *
- * SAX is an acronym for the Simple API for XML processing. It is an API
- * used inform an XML processor (in this case XSLTC) of the structure and
- * content of an XML document.
- *
- * Input to the stylesheet processor can come from an XML parser in the
- * form of a DOM tree or through the SAX API.
- *
- * 9) DTD is a document type declaration. It is a way of specifying the
- * grammar for an XML file, the names and types of elements, attributes,
- * etc.
- *
- * 10) 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.
- *
- * 11) Translet is an invented term that refers to the class file that contains
- * the compiled form of a stylesheet.
- */
-
- // These message should be read from a locale-specific resource bundle
- /** Get the lookup table for error messages.
- *
- * @return The message lookup table.
- */
- public Object[][] getContents()
- {
- return new Object[][] {
- {ErrorMsg.MULTIPLE_STYLESHEET_ERR,
- "V isti datoteki je dolo\u010denih ve\u010d slogovnih datotek."},
-
- /*
- * Note to translators: The substitution text is the name of a
- * template. The same name was used on two different templates in the
- * same stylesheet.
- */
- {ErrorMsg.TEMPLATE_REDEF_ERR,
- "Predloga ''{0}'' je \u017ee dolo\u010dena v tej slogovni datoteki."},
-
-
- /*
- * Note to translators: The substitution text is the name of a
- * template. A reference to the template name was encountered, but the
- * template is undefined.
- */
- {ErrorMsg.TEMPLATE_UNDEF_ERR,
- "Predloga ''{0}'' ni dolo\u010dena v tej slogovni datoteki."},
-
- /*
- * Note to translators: The substitution text is the name of a variable
- * that was defined more than once.
- */
- {ErrorMsg.VARIABLE_REDEF_ERR,
- "Spremenljivka ''{0}'' je ve\u010dkrat dolo\u010dena znotraj istega obsega."},
-
- /*
- * Note to translators: The substitution text is the name of a variable
- * or parameter. A reference to the variable or parameter was found,
- * but it was never defined.
- */
- {ErrorMsg.VARIABLE_UNDEF_ERR,
- "Spremenljivka ali parameter ''{0}'' je nedolo\u010den."},
-
- /*
- * Note to translators: The word "class" here refers to a Java class.
- * Processing the stylesheet required a class to be loaded, but it could
- * not be found. The substitution text is the name of the class.
- */
- {ErrorMsg.CLASS_NOT_FOUND_ERR,
- "Ni mogo\u010de najti razreda ''{0}''."},
-
- /*
- * Note to translators: The word "method" here refers to a Java method.
- * Processing the stylesheet required a reference to the method named by
- * the substitution text, but it could not be found. "public" is the
- * Java keyword.
- */
- {ErrorMsg.METHOD_NOT_FOUND_ERR,
- "Zunanje metode ''{0}'' ni mogo\u010de najti (mora biti javna)."},
-
- /*
- * Note to translators: The word "method" here refers to a Java method.
- * Processing the stylesheet required a reference to the method named by
- * the substitution text, but no method with the required types of
- * arguments or return type could be found.
- */
- {ErrorMsg.ARGUMENT_CONVERSION_ERR,
- "Ni mogo\u010de pretvoriti argumenta / tipa vrnitve v klicu metode ''{0}''"},
-
- /*
- * Note to translators: The file or URI named in the substitution text
- * is missing.
- */
- {ErrorMsg.FILE_NOT_FOUND_ERR,
- "Datoteke ali URI-ja ''{0}'' ni mogo\u010de najti."},
-
- /*
- * Note to translators: This message is displayed when the URI
- * mentioned in the substitution text is not well-formed syntactically.
- */
- {ErrorMsg.INVALID_URI_ERR,
- "Neveljaven URI ''{0}''."},
-
- /*
- * Note to translators: The file or URI named in the substitution text
- * exists but could not be opened.
- */
- {ErrorMsg.FILE_ACCESS_ERR,
- "Datoteke ali URI-ja ''{0}'' ni mogo\u010de odpreti."},
-
- /*
- * Note to translators: <xsl:stylesheet> and <xsl:transform> are
- * keywords that should not be translated.
- */
- {ErrorMsg.MISSING_ROOT_ERR,
- "Pri\u010dakovan element <xsl:stylesheet> ali <xsl:transform>."},
-
- /*
- * Note to translators: The stylesheet contained a reference to a
- * namespace prefix that was undefined. The value of the substitution
- * text is the name of the prefix.
- */
- {ErrorMsg.NAMESPACE_UNDEF_ERR,
- "Predpona imenskega prostora ''{0}'' ni dolo\u010dena."},
-
- /*
- * Note to translators: The Java function named in the stylesheet could
- * not be found.
- */
- {ErrorMsg.FUNCTION_RESOLVE_ERR,
- "Klica funkcije ''{0}'' ni mogo\u010de razre\u0161iti."},
-
- /*
- * Note to translators: The substitution text is the name of a
- * function. A literal string here means a constant string value.
- */
- {ErrorMsg.NEED_LITERAL_ERR,
- "Argument za ''{0}'' mora biti dobesedni niz."},
-
- /*
- * Note to translators: This message indicates there was a syntactic
- * error in the form of an XPath expression. The substitution text is
- * the expression.
- */
- {ErrorMsg.XPATH_PARSER_ERR,
- "Napaka pri raz\u010dlenjevanju izraza XPath ''{0}''."},
-
- /*
- * Note to translators: An element in the stylesheet requires a
- * particular attribute named by the substitution text, but that
- * attribute was not specified in the stylesheet.
- */
- {ErrorMsg.REQUIRED_ATTR_ERR,
- "Manjka zahtevani atribut ''{0}''."},
-
- /*
- * Note to translators: This message indicates that a character not
- * permitted in an XPath expression was encountered. The substitution
- * text is the offending character.
- */
- {ErrorMsg.ILLEGAL_CHAR_ERR,
- "Neveljavni znak ''{0}'' v izrazu XPath."},
-
- /*
- * Note to translators: A processing instruction is a mark-up item in
- * an XML document that request some behaviour of an XML processor. The
- * form of the name of was invalid in this case, and the substitution
- * text is the name.
- */
- {ErrorMsg.ILLEGAL_PI_ERR,
- "Neveljavno ime ''{0}'' za navodila za obdelavo."},
-
- /*
- * Note to translators: This message is reported if the stylesheet
- * 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.
- */
- {ErrorMsg.STRAY_ATTRIBUTE_ERR,
- "Atribut ''{0}'' zunaj elementa."},
-
- /*
- * Note to translators: An attribute that wasn't recognized was
- * specified on an element in the stylesheet. The attribute is named
- * by the substitution
- * text.
- */
- {ErrorMsg.ILLEGAL_ATTRIBUTE_ERR,
- "Neveljaven atribut ''{0}''."},
-
- /*
- * Note to translators: "import" and "include" are keywords that should
- * not be translated. This messages indicates that the stylesheet
- * named in the substitution text imported or included itself either
- * directly or indirectly.
- */
- {ErrorMsg.CIRCULAR_INCLUDE_ERR,
- "Kro\u017eni uvoz/vklju\u010ditev. Slogovna datoteka ''{0}'' je \u017ee nalo\u017eena."},
-
- /*
- * Note to translators: A result-tree fragment is a portion of a
- * resulting XML document represented as a tree. "<xsl:sort>" is a
- * keyword and should not be translated.
- */
- {ErrorMsg.RESULT_TREE_SORT_ERR,
- "Ne morem razvrstiti fragmentov drevesa rezultatov (elementi <xsl:sort> so prezrti). Pri pripravi drevesa rezultatov morate razvrstiti vozli\u0161\u010da."},
-
- /*
- * Note to translators: A name can be given to a particular style to be
- * used to format decimal values. The substitution text gives the name
- * of such a style for which more than one declaration was encountered.
- */
- {ErrorMsg.SYMBOLS_REDEF_ERR,
- "Decimalno oblikovanje ''{0}'' je \u017ee dolo\u010deno."},
-
- /*
- * Note to translators: The stylesheet version named in the
- * substitution text is not supported.
- */
- {ErrorMsg.XSL_VERSION_ERR,
- "XSL razli\u010dice ''{0}'' XSLTC ne podpira."},
-
- /*
- * Note to translators: The definitions of one or more variables or
- * parameters depend on one another.
- */
- {ErrorMsg.CIRCULAR_VARIABLE_ERR,
- "Sklic na kro\u017eno spremenljivko/parameter v ''{0}''."},
-
- /*
- * Note to translators: The operator in an expresion with two operands was
- * not recognized.
- */
- {ErrorMsg.ILLEGAL_BINARY_OP_ERR,
- "Neznan operator za binarni izraz."},
-
- /*
- * Note to translators: This message is produced if a reference to a
- * function has too many or too few arguments.
- */
- {ErrorMsg.ILLEGAL_ARG_ERR,
- "Neveljavni argument(i) za klic funkcije."},
-
- /*
- * Note to translators: "document()" is the name of function and must
- * not be translated. A node-set is a set of the nodes in the tree
- * representation of an XML document.
- */
- {ErrorMsg.DOCUMENT_ARG_ERR,
- "Drugi argument funkcije document() mora biti skupina vozli\u0161\u010d."},
-
- /*
- * Note to translators: "<xsl:when>" and "<xsl:choose>" are keywords
- * and should not be translated. This message describes a syntax error
- * in the stylesheet.
- */
- {ErrorMsg.MISSING_WHEN_ERR,
- "Zahtevan vsaj en element <xsl:when> v <xsl:choose>."},
-
- /*
- * Note to translators: "<xsl:otherwise>" and "<xsl:choose>" are
- * keywords and should not be translated. This message describes a
- * syntax error in the stylesheet.
- */
- {ErrorMsg.MULTIPLE_OTHERWISE_ERR,
- "Dovoljen samo en element <xsl:otherwise> v <xsl:choose>."},
-
- /*
- * Note to translators: "<xsl:otherwise>" and "<xsl:choose>" are
- * keywords and should not be translated. This message describes a
- * syntax error in the stylesheet.
- */
- {ErrorMsg.STRAY_OTHERWISE_ERR,
- "<xsl:otherwise> lahko uporabljamo samo znotraj <xsl:choose>."},
-
- /*
- * Note to translators: "<xsl:when>" and "<xsl:choose>" are keywords
- * and should not be translated. This message describes a syntax error
- * in the stylesheet.
- */
- {ErrorMsg.STRAY_WHEN_ERR,
- "<xsl:when> lahko uporabljamo samo znotraj <xsl:choose>."},
-
- /*
- * Note to translators: "<xsl:when>", "<xsl:otherwise>" and
- * "<xsl:choose>" are keywords and should not be translated. This
- * message describes a syntax error in the stylesheet.
- */
- {ErrorMsg.WHEN_ELEMENT_ERR,
- "V <xsl:choose> sta dovoljena samo elementa <xsl:when> in <xsl:otherwise>."},
-
- /*
- * Note to translators: "<xsl:attribute-set>" and "name" are keywords
- * that should not be translated.
- */
- {ErrorMsg.UNNAMED_ATTRIBSET_ERR,
- "V <xsl:attribute-set> manjka atribut 'name'."},
-
- /*
- * Note to translators: An element in the stylesheet contained an
- * element of a type that it was not permitted to contain.
- */
- {ErrorMsg.ILLEGAL_CHILD_ERR,
- "Neveljavni podrejeni element."},
-
- /*
- * Note to translators: The stylesheet tried to create an element with
- * a name that was not a valid XML name. The substitution text contains
- * the name.
- */
- {ErrorMsg.ILLEGAL_ELEM_NAME_ERR,
- "Elementa ''{0}'' ni mogo\u010de poklicati"},
-
- /*
- * Note to translators: The stylesheet tried to create an attribute
- * with a name that was not a valid XML name. The substitution text
- * contains the name.
- */
- {ErrorMsg.ILLEGAL_ATTR_NAME_ERR,
- "Atributa ''{0}'' ni mogo\u010de poklicati"},
-
- /*
- * Note to translators: The children of the outermost element of a
- * stylesheet are referred to as top-level elements. No text should
- * occur within that outermost element unless it is within a top-level
- * element. This message indicates that that constraint was violated.
- * "<xsl:stylesheet>" is a keyword that should not be translated.
- */
- {ErrorMsg.ILLEGAL_TEXT_NODE_ERR,
- "Tekstovni podatki zunaj elementa na najvi\u0161ji ravni <xsl:stylesheet>."},
-
- /*
- * Note to translators: JAXP is an acronym for the Java API for XML
- * Processing. This message indicates that the XML parser provided to
- * XSLTC to process the XML input document had a configuration problem.
- */
- {ErrorMsg.SAX_PARSER_CONFIG_ERR,
- "Raz\u010dlenjevalnik JAXP ni pravilno konfiguriran"},
-
- /*
- * Note to translators: The substitution text names the internal error
- * encountered.
- */
- {ErrorMsg.INTERNAL_ERR,
- "Nepopravljiva XSLTC-notranja napaka: ''{0}''"},
-
- /*
- * Note to translators: The stylesheet contained an element that was
- * not recognized as part of the XSL syntax. The substitution text
- * gives the element name.
- */
- {ErrorMsg.UNSUPPORTED_XSL_ERR,
- "Nepodprt XSL element ''{0}''."},
-
- /*
- * Note to translators: The stylesheet referred to an extension to the
- * XSL syntax and indicated that it was defined by XSLTC, but XSTLC does
- * not recognized the particular extension named. The substitution text
- * gives the extension name.
- */
- {ErrorMsg.UNSUPPORTED_EXT_ERR,
- "Neprepoznana pripona XSLTC ''{0}''."},
-
- /*
- * Note to translators: The XML document given to XSLTC as a stylesheet
- * was not, in fact, a stylesheet. XSLTC is able to detect that in this
- * case because the outermost element in the stylesheet has to be
- * declared with respect to the XSL namespace URI, but no declaration
- * for that namespace was seen.
- */
- {ErrorMsg.MISSING_XSLT_URI_ERR,
- "Vhodni dokument ni slogovna datoteka (v korenskem elementu ni naveden imenski prostor XSL)."},
-
- /*
- * Note to translators: XSLTC could not find the stylesheet document
- * with the name specified by the substitution text.
- */
- {ErrorMsg.MISSING_XSLT_TARGET_ERR,
- "Cilja slogovne datoteke ''{0}'' ni mogo\u010de najti."},
-
- /*
- * Note to translators: This message represents an internal error in
- * condition in XSLTC. The substitution text is the class name in XSLTC
- * that is missing some functionality.
- */
- {ErrorMsg.NOT_IMPLEMENTED_ERR,
- "Ni izvedeno: ''{0}''."},
-
- /*
- * Note to translators: The XML document given to XSLTC as a stylesheet
- * was not, in fact, a stylesheet.
- */
- {ErrorMsg.NOT_STYLESHEET_ERR,
- "Vhodni dokument ne vsebuje slogovne datoteke XSL."},
-
- /*
- * Note to translators: The element named in the substitution text was
- * encountered in the stylesheet but is not recognized.
- */
- {ErrorMsg.ELEMENT_PARSE_ERR,
- "Elementa ''{0}'' ni mogo\u010de raz\u010dleniti"},
-
- /*
- * Note to translators: "use", "<key>", "node", "node-set", "string"
- * and "number" are keywords in this context and should not be
- * translated. This message indicates that the value of the "use"
- * attribute was not one of the permitted values.
- */
- {ErrorMsg.KEY_USE_ATTR_ERR,
- "Atribut uporabe za <key> mora biti vozli\u0161\u010de, skupina vozli\u0161\u010d, niz ali \u0161tevilka."},
-
- /*
- * Note to translators: An XML document can specify the version of the
- * XML specification to which it adheres. This message indicates that
- * the version specified for the output document was not valid.
- */
- {ErrorMsg.OUTPUT_VERSION_ERR,
- "Razli\u010dica izhodnega dokumenta XML mora biti 1.0"},
-
- /*
- * Note to translators: The operator in a comparison operation was
- * not recognized.
- */
- {ErrorMsg.ILLEGAL_RELAT_OP_ERR,
- "Neznan operator za relacijski izraz"},
-
- /*
- * Note to translators: An attribute set defines as a set of XML
- * attributes that can be added to an element in the output XML document
- * as a group. This message is reported if the name specified was not
- * used to declare an attribute set. The substitution text is the name
- * that is in error.
- */
- {ErrorMsg.ATTRIBSET_UNDEF_ERR,
- "Poskus uporabe neobstoje\u010de skupine atributov ''{0}''."},
-
- /*
- * Note to translators: The term "attribute value template" is a term
- * defined by XSLT which describes the value of an attribute that is
- * determined by an XPath expression. The message indicates that the
- * expression was syntactically incorrect; the substitution text
- * contains the expression that was in error.
- */
- {ErrorMsg.ATTR_VAL_TEMPLATE_ERR,
- "Predloge vrednosti atributa ''{0}'' ni mogo\u010de raz\u010dleniti."},
-
- /*
- * Note to translators: ???
- */
- {ErrorMsg.UNKNOWN_SIG_TYPE_ERR,
- "V podpisu za razred ''{0}'' je neznan podatkovni tip."},
-
- /*
- * Note to translators: The substitution text refers to data types.
- * The message is displayed if a value in a particular context needs to
- * be converted to type {1}, but that's not possible for a value of
- * type {0}.
- */
- {ErrorMsg.DATA_CONVERSION_ERR,
- "Ni mogo\u010de pretvoriti podatkovnega tipa ''{0}'' v ''{1}''."},
-
- /*
- * Note to translators: "Templates" is a Java class name that should
- * not be translated.
- */
- {ErrorMsg.NO_TRANSLET_CLASS_ERR,
- "Te Templates ne vsebujejo veljavne definicije razreda translet."},
-
- /*
- * Note to translators: "Templates" is a Java class name that should
- * not be translated.
- */
- {ErrorMsg.NO_MAIN_TRANSLET_ERR,
- "Te predloge ne vsebujejo razreda z imenom ''{0}''."},
-
- /*
- * Note to translators: The substitution text is the name of a class.
- */
- {ErrorMsg.TRANSLET_CLASS_ERR,
- "Ni mogo\u010de nalo\u017eiti razreda transleta ''{0}''."},
-
- {ErrorMsg.TRANSLET_OBJECT_ERR,
- "Razred transleta je nalo\u017een, vendar priprava primerka transleta ni mogo\u010da."},
-
- /*
- * Note to translators: "ErrorListener" is a Java interface name that
- * should not be translated. The message indicates that the user tried
- * to set an ErrorListener object on object of the class named in the
- * substitution text with "null" Java value.
- */
- {ErrorMsg.ERROR_LISTENER_NULL_ERR,
- "Poskus nastavitve ErrorListener za ''{0}'' na null"},
-
- /*
- * Note to translators: StreamSource, SAXSource and DOMSource are Java
- * interface names that should not be translated.
- */
- {ErrorMsg.JAXP_UNKNOWN_SOURCE_ERR,
- "XSLTC podpira samo StreamSource, SAXSource in DOMSource"},
-
- /*
- * Note to translators: "Source" is a Java class name that should not
- * be translated. The substitution text is the name of Java method.
- */
- {ErrorMsg.JAXP_NO_SOURCE_ERR,
- "Predmet Source, ki je bil podan z ''{0}'', nima vsebine."},
-
- /*
- * Note to translators: The message indicates that XSLTC failed to
- * compile the stylesheet into a translet (class file).
- */
- {ErrorMsg.JAXP_COMPILE_ERR,
- "Ni mogo\u010de prevesti slogovne datoteke"},
-
- /*
- * Note to translators: "TransformerFactory" is a class name. In this
- * context, an attribute is a property or setting of the
- * TransformerFactory object. The substitution text is the name of the
- * unrecognised attribute. The method used to retrieve the attribute is
- * "getAttribute", so it's not clear whether it would be best to
- * translate the term "attribute".
- */
- {ErrorMsg.JAXP_INVALID_ATTR_ERR,
- "TransformerFactory ne prepozna atributa ''{0}''."},
-
- /*
- * Note to translators: "setResult()" and "startDocument()" are Java
- * method names that should not be translated.
- */
- {ErrorMsg.JAXP_SET_RESULT_ERR,
- "Klic za setResult() mora biti izveden pred klicem startDocument()."},
-
- /*
- * Note to translators: "Transformer" is a Java interface name that
- * should not be translated. A Transformer object should contained a
- * reference to a translet object in order to be used for
- * transformations; this message is produced if that requirement is not
- * met.
- */
- {ErrorMsg.JAXP_NO_TRANSLET_ERR,
- "Transformer ne vsebuje enkapsuliranih translet objektov."},
-
- /*
- * Note to translators: The XML document that results from a
- * transformation needs to be sent to an output handler object; this
- * message is produced if that requirement is not met.
- */
- {ErrorMsg.JAXP_NO_HANDLER_ERR,
- "Za rezultat transformacije ni izhodne obravnave."},
-
- /*
- * Note to translators: "Result" is a Java interface name in this
- * context. The substitution text is a method name.
- */
- {ErrorMsg.JAXP_NO_RESULT_ERR,
- "Rezultat, ki je bil posredovan ''{0}'', je neveljaven."},
-
- /*
- * Note to translators: "Transformer" is a Java interface name. The
- * user's program attempted to access an unrecognized property with the
- * name specified in the substitution text. The method used to retrieve
- * the property is "getOutputProperty", so it's not clear whether it
- * would be best to translate the term "property".
- */
- {ErrorMsg.JAXP_UNKNOWN_PROP_ERR,
- "Poskus dostopa do neveljavne lastnosti (property) Transformer ''{0}''."},
-
- /*
- * Note to translators: SAX2DOM is the name of a Java class that should
- * not be translated. This is an adapter in the sense that it takes a
- * DOM object and converts it to something that uses the SAX API.
- */
- {ErrorMsg.SAX2DOM_ADAPTER_ERR,
- "Ni mogo\u010de ustvariti adapterja SAX2DOM: ''{0}''."},
-
- /*
- * Note to translators: "XSLTCSource.build()" is a Java method name.
- * "systemId" is an XML term that is short for "system identification".
- */
- {ErrorMsg.XSLTC_SOURCE_ERR,
- "Klic XSLTCSource.build() brez predhodne nastavitve systemId."},
-
- { ErrorMsg.ER_RESULT_NULL,
- "Rezultat naj ne bi bil NULL"},
-
- /*
- * Note to translators: This message indicates that the value argument
- * of setParameter must be a valid Java Object.
- */
- {ErrorMsg.JAXP_INVALID_SET_PARAM_VALUE,
- "Vrednost parametra {0} mora biti veljaven javanski objekt"},
-
-
- {ErrorMsg.COMPILE_STDIN_ERR,
- "Mo\u017enost -i mora biti uporabljena skupaj z mo\u017enostjo -o."},
-
-
- /*
- * Note to translators: This message contains usage information for a
- * 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.
- */
- {ErrorMsg.COMPILE_USAGE_STR,
- "SYNOPSIS\n java org.apache.xalan.xsltc.cmdline.Compile [-o <izhodna datoteka>]\n [-d <directory>] [-j <datoteka jar>] [-p <paket>]\n [-n] [-x] [-u] [-v] [-h] { <stylesheet> | -i }\n\nOPTIONS\n -o <izhodna datoteka> dodeli ime <izhodna datoteka> generiranemu\n transletu. Ime transleta se po privzetih nastavitvah\n izpelje iz imena <stylesheet>. Pri prevajanju\n ve\u010d slogovnih datotek je ta mo\u017enost prezrta.\n -d <directory> dolo\u010di ciljno mapo za translet\n -j <datoteka jar> zdru\u017ei razrede translet v datoteko jar\n pod imenom, dolo\u010denim z <datoteka jar>\n -p <paket> dolo\u010di predpono imena paketa vsem generiranim\n razredom translet.\n -n omogo\u010da vrivanje predlog (v povpre\u010dju bolj\u0161e privzeto\n obna\u0161anje).\n -x vklopi dodatna izhodna sporo\u010dila za iskanje napak\n -u prevede argumente <stylesheet> kot URL-je\n -i prisili prevajalnik k branju slogovne datoteke iz stdin\n -v natisne razli\u010dico prevajalnika\n -h natisne ta stavek za uporabo\n"},
-
- /*
- * Note to translators: This message contains usage information for a
- * 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.
- */
- {ErrorMsg.TRANSFORM_USAGE_STR,
- "SYNOPSIS \n java org.apache.xalan.xsltc.cmdline.Transform [-j <datoteka jar>]\n [-x] [-n <ponovitve>] {-u <document_url> | <dokument>}\n <razred> [<param1>=<value1> ...]\n\n uporablja translet <razred> za pretvorbo dokumenta XML \n navedenega kot <dokument>. Translet <razred> je ali v\n uporabnikovem CLASSPATH ali v izbirno navedeni datoteki <datoteka jar>.\nOPTIONS\n -j <datoteka jar> dolo\u010di datoteko jar, iz katere bo nalo\u017een translet\n -x vklopi dodatna sporo\u010dila za iskanje napak\n n <ponovitve> <ponovitve>-krat po\u017eene preoblikovanje in\n prika\u017ee informacije profiliranja\n -u <document_url> dolo\u010di vhodni dokument XML za URL\n"},
-
-
-
- /*
- * Note to translators: "<xsl:sort>", "<xsl:for-each>" and
- * "<xsl:apply-templates>" are keywords that should not be translated.
- * The message indicates that an xsl:sort element must be a child of
- * one of the other kinds of elements mentioned.
- */
- {ErrorMsg.STRAY_SORT_ERR,
- "<xsl:sort> je mogo\u010de uporabljati samo znotraj <xsl:for-each> ali <xsl:apply-templates>."},
-
- /*
- * Note to translators: The message indicates that the encoding
- * requested for the output document was on that requires support that
- * is not available from the Java Virtual Machine being used to execute
- * the program.
- */
- {ErrorMsg.UNSUPPORTED_ENCODING,
- "Ta JVM ne podpira izhodnega kodiranja ''{0}''."},
-
- /*
- * Note to translators: The message indicates that the XPath expression
- * named in the substitution text was not well formed syntactically.
- */
- {ErrorMsg.SYNTAX_ERR,
- "Napaka v sintaksi v ''{0}''."},
-
- /*
- * Note to translators: The substitution text is the name of a Java
- * class. The term "constructor" here is the Java term. The message is
- * displayed if XSLTC could not find a constructor for the specified
- * class.
- */
- {ErrorMsg.CONSTRUCTOR_NOT_FOUND,
- "Ni mogo\u010de najti zunanjega konstruktorja ''{0}''."},
-
- /*
- * Note to translators: "static" is the Java keyword. The substitution
- * text is the name of a function. The first argument of that function
- * is not of the required type.
- */
- {ErrorMsg.NO_JAVA_FUNCT_THIS_REF,
- "Prvi argument nestati\u010dne (non-static) javanske funkcije ''{0}'' ni veljaven sklic na objekt."},
-
- /*
- * Note to translators: An XPath expression was not of the type
- * required in a particular context. The substitution text is the
- * expression that was in error.
- */
- {ErrorMsg.TYPE_CHECK_ERR,
- "Napaka pri preverjanju tipa izraza ''{0}''."},
-
- /*
- * Note to translators: An XPath expression was not of the type
- * required in a particular context. However, the location of the
- * problematic expression is unknown.
- */
- {ErrorMsg.TYPE_CHECK_UNK_LOC_ERR,
- "Napaka pri preverjanju tipa izraza na neznani lokaciji."},
-
- /*
- * Note to translators: The substitution text is the name of a command-
- * line option that was not recognized.
- */
- {ErrorMsg.ILLEGAL_CMDLINE_OPTION_ERR,
- "Mo\u017enost ukazne vrstice ''{0}'' ni veljavna."},
-
- /*
- * Note to translators: The substitution text is the name of a command-
- * line option.
- */
- {ErrorMsg.CMDLINE_OPT_MISSING_ARG_ERR,
- "Mo\u017enosti ukazne vrstice ''{0}'' manjka zahtevani argument."},
-
- /*
- * Note to translators: This message is used to indicate the severity
- * of another message. The substitution text contains two error
- * messages. The spacing before the second substitution text indents
- * it the same amount as the first in English.
- */
- {ErrorMsg.WARNING_PLUS_WRAPPED_MSG,
- "OPOZORILO: ''{0}''\n :{1}"},
-
- /*
- * Note to translators: This message is used to indicate the severity
- * of another message. The substitution text is an error message.
- */
- {ErrorMsg.WARNING_MSG,
- "OPOZORILO: ''{0}''"},
-
- /*
- * Note to translators: This message is used to indicate the severity
- * of another message. The substitution text contains two error
- * messages. The spacing before the second substitution text indents
- * it the same amount as the first in English.
- */
- {ErrorMsg.FATAL_ERR_PLUS_WRAPPED_MSG,
- "USODNA NAPAKA: ''{0}''\n :{1}"},
-
- /*
- * Note to translators: This message is used to indicate the severity
- * of another message. The substitution text is an error message.
- */
- {ErrorMsg.FATAL_ERR_MSG,
- "USODNA NAPAKA: ''{0}''"},
-
- /*
- * Note to translators: This message is used to indicate the severity
- * of another message. The substitution text contains two error
- * messages. The spacing before the second substitution text indents
- * it the same amount as the first in English.
- */
- {ErrorMsg.ERROR_PLUS_WRAPPED_MSG,
- "USODNA NAPAKA: ''{0}''\n :{1}"},
-
- /*
- * Note to translators: This message is used to indicate the severity
- * of another message. The substitution text is an error message.
- */
- {ErrorMsg.ERROR_MSG,
- "NAPAKA: ''{0}''"},
-
- /*
- * Note to translators: The substitution text is the name of a class.
- */
- {ErrorMsg.TRANSFORM_WITH_TRANSLET_STR,
- "Pretvorba z uporabo transleta ''{0}'' "},
-
- /*
- * Note to translators: The first substitution is the name of a class,
- * while the second substitution is the name of a jar file.
- */
- {ErrorMsg.TRANSFORM_WITH_JAR_STR,
- "Pretvorba z uporabo transleta ''{0}'' iz datoteke jar ''{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.
- */
- {ErrorMsg.COULD_NOT_CREATE_TRANS_FACT,
- "Ni mogo\u010de ustvariti primerka razreda TransformerFactory ''{0}''."},
-
- /*
- * Note to translators: This message is produced when the user
- * specified a name for the translet class that contains characters
- * that are not permitted in a Java class name. The substitution
- * text "{0}" specifies the name the user requested, while "{1}"
- * specifies the name the processor used instead.
- */
- {ErrorMsg.TRANSLET_NAME_JAVA_CONFLICT,
- "Imena ''{0}'' ni bilo mogo\u010de uporabiti kot ime razreda translet, saj vsebuje znake, ki v imenu javanskega razreda niso dovoljeni. Uporabljeno je bilo ime ''{1}''."},
-
- /*
- * Note to translators: The following message is used as a header.
- * All the error messages are collected together and displayed beneath
- * this message.
- */
- {ErrorMsg.COMPILER_ERROR_KEY,
- "Napake prevajalnika:"},
-
- /*
- * Note to translators: The following message is used as a header.
- * All the warning messages are collected together and displayed
- * beneath this message.
- */
- {ErrorMsg.COMPILER_WARNING_KEY,
- "Opozorila prevajalnika:"},
-
- /*
- * Note to translators: The following message is used as a header.
- * All the error messages that are produced when the stylesheet is
- * applied to an input document are collected together and displayed
- * beneath this message. A 'translet' is the compiled form of a
- * stylesheet (see above).
- */
- {ErrorMsg.RUNTIME_ERROR_KEY,
- "Napake transleta:"},
-
- /*
- * Note to translators: An attribute whose value is constrained to
- * be a "QName" or a list of "QNames" had a value that was incorrect.
- * 'QName' is an XML syntactic term that must not be translated. The
- * substitution text contains the actual value of the attribute.
- */
- {ErrorMsg.INVALID_QNAME_ERR,
- "Atribut, katerega vrednost mora biti vrednost QName ali s presledki lo\u010den seznam vrednosti Qname, je imel vrednost ''{0}''"},
-
- /*
- * Note to translators: An attribute whose value is required to
- * be an "NCName".
- * 'NCName' is an XML syntactic term that must not be translated. The
- * substitution text contains the actual value of the attribute.
- */
- {ErrorMsg.INVALID_NCNAME_ERR,
- "Atribut, katerega vrednost mora biti NCName, je imel vrednost ''{0}''"},
-
- /*
- * Note to translators: An attribute with an incorrect value was
- * encountered. The permitted value is one of the literal values
- * "xml", "html" or "text"; it is also permitted to have the form of
- * a QName that is not also an NCName. The terms "method",
- * "xsl:output", "xml", "html" and "text" are keywords that must not
- * be translated. The term "qname-but-not-ncname" is an XML syntactic
- * term. The substitution text contains the actual value of the
- * attribute.
- */
- {ErrorMsg.INVALID_METHOD_IN_OUTPUT,
- "Atribut metode elementa <xsl:output> je imel vrednost ''{0}''. Vrednost mora biti ena izmed ''xml'', ''html'', ''text'', ali qname-but-not-ncname (qname, vendar pa ne ncname)"},
-
- {ErrorMsg.JAXP_GET_FEATURE_NULL_NAME,
- "Ime funkcije ne sme biti null v TransformerFactory.getFeature(Ime niza)."},
-
- {ErrorMsg.JAXP_SET_FEATURE_NULL_NAME,
- "Ime funkcije ne sme biti null v TransformerFactory.getFeature(Ime niza, boolova vrednost)."},
-
- {ErrorMsg.JAXP_UNSUPPORTED_FEATURE,
- "Ni mogo\u010de nastaviti funkcije ''{0}'' v tem TransformerFactory."}
-
- };
- }
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * $Id: ErrorMessages_sl.java,v 1.25 2004/12/15 17:35:40 jycli Exp $
+ */
+
+package org.apache.xalan.xsltc.compiler.util;
+
+import java.util.ListResourceBundle;
+
+/**
+ * @author Morten Jorgensen
+ */
+public class ErrorMessages_sl extends ListResourceBundle {
+
+/*
+ * XSLTC compile-time error messages.
+ *
+ * General notes to translators and definitions:
+ *
+ * 1) XSLTC is the name of the product. It is an acronym for "XSLT Compiler".
+ * XSLT is an acronym for "XML Stylesheet Language: Transformations".
+ *
+ * 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 axis is a particular "dimension" in a tree representation of an XML
+ * document; the nodes in the tree are divided along different axes.
+ * Traversing the "child" axis, for instance, means that the program
+ * would visit each child of a particular node; traversing the "descendant"
+ * axis means that the program would visit the child nodes of a particular
+ * node, their children, and so on until the leaf nodes of the tree are
+ * reached.
+ *
+ * 5) An iterator is an object that traverses nodes in a tree along a
+ * particular axis, one at a time.
+ *
+ * 6) 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.
+ *
+ * 7) 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.
+ *
+ * 8) DOM is an acronym for Document Object Model. It is a tree
+ * representation of an XML document.
+ *
+ * SAX is an acronym for the Simple API for XML processing. It is an API
+ * used inform an XML processor (in this case XSLTC) of the structure and
+ * content of an XML document.
+ *
+ * Input to the stylesheet processor can come from an XML parser in the
+ * form of a DOM tree or through the SAX API.
+ *
+ * 9) DTD is a document type declaration. It is a way of specifying the
+ * grammar for an XML file, the names and types of elements, attributes,
+ * etc.
+ *
+ * 10) 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.
+ *
+ * 11) Translet is an invented term that refers to the class file that contains
+ * the compiled form of a stylesheet.
+ */
+
+ // These message should be read from a locale-specific resource bundle
+ /** Get the lookup table for error messages.
+ *
+ * @return The message lookup table.
+ */
+ public Object[][] getContents()
+ {
+ return new Object[][] {
+ {ErrorMsg.MULTIPLE_STYLESHEET_ERR,
+ "V isti datoteki je dolo\u010denih ve\u010d slogovnih datotek."},
+
+ /*
+ * Note to translators: The substitution text is the name of a
+ * template. The same name was used on two different templates in the
+ * same stylesheet.
+ */
+ {ErrorMsg.TEMPLATE_REDEF_ERR,
+ "Predloga ''{0}'' je \u017ee dolo\u010dena v tej slogovni datoteki."},
+
+
+ /*
+ * Note to translators: The substitution text is the name of a
+ * template. A reference to the template name was encountered, but the
+ * template is undefined.
+ */
+ {ErrorMsg.TEMPLATE_UNDEF_ERR,
+ "Predloga ''{0}'' ni dolo\u010dena v tej slogovni datoteki."},
+
+ /*
+ * Note to translators: The substitution text is the name of a variable
+ * that was defined more than once.
+ */
+ {ErrorMsg.VARIABLE_REDEF_ERR,
+ "Spremenljivka ''{0}'' je ve\u010dkrat dolo\u010dena znotraj istega obsega."},
+
+ /*
+ * Note to translators: The substitution text is the name of a variable
+ * or parameter. A reference to the variable or parameter was found,
+ * but it was never defined.
+ */
+ {ErrorMsg.VARIABLE_UNDEF_ERR,
+ "Spremenljivka ali parameter ''{0}'' je nedolo\u010den."},
+
+ /*
+ * Note to translators: The word "class" here refers to a Java class.
+ * Processing the stylesheet required a class to be loaded, but it could
+ * not be found. The substitution text is the name of the class.
+ */
+ {ErrorMsg.CLASS_NOT_FOUND_ERR,
+ "Ni mogo\u010de najti razreda ''{0}''."},
+
+ /*
+ * Note to translators: The word "method" here refers to a Java method.
+ * Processing the stylesheet required a reference to the method named by
+ * the substitution text, but it could not be found. "public" is the
+ * Java keyword.
+ */
+ {ErrorMsg.METHOD_NOT_FOUND_ERR,
+ "Zunanje metode ''{0}'' ni mogo\u010de najti (mora biti javna)."},
+
+ /*
+ * Note to translators: The word "method" here refers to a Java method.
+ * Processing the stylesheet required a reference to the method named by
+ * the substitution text, but no method with the required types of
+ * arguments or return type could be found.
+ */
+ {ErrorMsg.ARGUMENT_CONVERSION_ERR,
+ "Ni mogo\u010de pretvoriti argumenta / tipa vrnitve v klicu metode ''{0}''"},
+
+ /*
+ * Note to translators: The file or URI named in the substitution text
+ * is missing.
+ */
+ {ErrorMsg.FILE_NOT_FOUND_ERR,
+ "Datoteke ali URI-ja ''{0}'' ni mogo\u010de najti."},
+
+ /*
+ * Note to translators: This message is displayed when the URI
+ * mentioned in the substitution text is not well-formed syntactically.
+ */
+ {ErrorMsg.INVALID_URI_ERR,
+ "Neveljaven URI ''{0}''."},
+
+ /*
+ * Note to translators: The file or URI named in the substitution text
+ * exists but could not be opened.
+ */
+ {ErrorMsg.FILE_ACCESS_ERR,
+ "Datoteke ali URI-ja ''{0}'' ni mogo\u010de odpreti."},
+
+ /*
+ * Note to translators: <xsl:stylesheet> and <xsl:transform> are
+ * keywords that should not be translated.
+ */
+ {ErrorMsg.MISSING_ROOT_ERR,
+ "Pri\u010dakovan element <xsl:stylesheet> ali <xsl:transform>."},
+
+ /*
+ * Note to translators: The stylesheet contained a reference to a
+ * namespace prefix that was undefined. The value of the substitution
+ * text is the name of the prefix.
+ */
+ {ErrorMsg.NAMESPACE_UNDEF_ERR,
+ "Predpona imenskega prostora ''{0}'' ni dolo\u010dena."},
+
+ /*
+ * Note to translators: The Java function named in the stylesheet could
+ * not be found.
+ */
+ {ErrorMsg.FUNCTION_RESOLVE_ERR,
+ "Klica funkcije ''{0}'' ni mogo\u010de razre\u0161iti."},
+
+ /*
+ * Note to translators: The substitution text is the name of a
+ * function. A literal string here means a constant string value.
+ */
+ {ErrorMsg.NEED_LITERAL_ERR,
+ "Argument za ''{0}'' mora biti dobesedni niz."},
+
+ /*
+ * Note to translators: This message indicates there was a syntactic
+ * error in the form of an XPath expression. The substitution text is
+ * the expression.
+ */
+ {ErrorMsg.XPATH_PARSER_ERR,
+ "Napaka pri raz\u010dlenjevanju izraza XPath ''{0}''."},
+
+ /*
+ * Note to translators: An element in the stylesheet requires a
+ * particular attribute named by the substitution text, but that
+ * attribute was not specified in the stylesheet.
+ */
+ {ErrorMsg.REQUIRED_ATTR_ERR,
+ "Manjka zahtevani atribut ''{0}''."},
+
+ /*
+ * Note to translators: This message indicates that a character not
+ * permitted in an XPath expression was encountered. The substitution
+ * text is the offending character.
+ */
+ {ErrorMsg.ILLEGAL_CHAR_ERR,
+ "Neveljavni znak ''{0}'' v izrazu XPath."},
+
+ /*
+ * Note to translators: A processing instruction is a mark-up item in
+ * an XML document that request some behaviour of an XML processor. The
+ * form of the name of was invalid in this case, and the substitution
+ * text is the name.
+ */
+ {ErrorMsg.ILLEGAL_PI_ERR,
+ "Neveljavno ime ''{0}'' za navodila za obdelavo."},
+
+ /*
+ * Note to translators: This message is reported if the stylesheet
+ * 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.
+ */
+ {ErrorMsg.STRAY_ATTRIBUTE_ERR,
+ "Atribut ''{0}'' zunaj elementa."},
+
+ /*
+ * Note to translators: An attribute that wasn't recognized was
+ * specified on an element in the stylesheet. The attribute is named
+ * by the substitution
+ * text.
+ */
+ {ErrorMsg.ILLEGAL_ATTRIBUTE_ERR,
+ "Neveljaven atribut ''{0}''."},
+
+ /*
+ * Note to translators: "import" and "include" are keywords that should
+ * not be translated. This messages indicates that the stylesheet
+ * named in the substitution text imported or included itself either
+ * directly or indirectly.
+ */
+ {ErrorMsg.CIRCULAR_INCLUDE_ERR,
+ "Kro\u017eni uvoz/vklju\u010ditev. Slogovna datoteka ''{0}'' je \u017ee nalo\u017eena."},
+
+ /*
+ * Note to translators: A result-tree fragment is a portion of a
+ * resulting XML document represented as a tree. "<xsl:sort>" is a
+ * keyword and should not be translated.
+ */
+ {ErrorMsg.RESULT_TREE_SORT_ERR,
+ "Ne morem razvrstiti fragmentov drevesa rezultatov (elementi <xsl:sort> so prezrti). Pri pripravi drevesa rezultatov morate razvrstiti vozli\u0161\u010da."},
+
+ /*
+ * Note to translators: A name can be given to a particular style to be
+ * used to format decimal values. The substitution text gives the name
+ * of such a style for which more than one declaration was encountered.
+ */
+ {ErrorMsg.SYMBOLS_REDEF_ERR,
+ "Decimalno oblikovanje ''{0}'' je \u017ee dolo\u010deno."},
+
+ /*
+ * Note to translators: The stylesheet version named in the
+ * substitution text is not supported.
+ */
+ {ErrorMsg.XSL_VERSION_ERR,
+ "XSL razli\u010dice ''{0}'' XSLTC ne podpira."},
+
+ /*
+ * Note to translators: The definitions of one or more variables or
+ * parameters depend on one another.
+ */
+ {ErrorMsg.CIRCULAR_VARIABLE_ERR,
+ "Sklic na kro\u017eno spremenljivko/parameter v ''{0}''."},
+
+ /*
+ * Note to translators: The operator in an expresion with two operands was
+ * not recognized.
+ */
+ {ErrorMsg.ILLEGAL_BINARY_OP_ERR,
+ "Neznan operator za binarni izraz."},
+
+ /*
+ * Note to translators: This message is produced if a reference to a
+ * function has too many or too few arguments.
+ */
+ {ErrorMsg.ILLEGAL_ARG_ERR,
+ "Neveljavni argument(i) za klic funkcije."},
+
+ /*
+ * Note to translators: "document()" is the name of function and must
+ * not be translated. A node-set is a set of the nodes in the tree
+ * representation of an XML document.
+ */
+ {ErrorMsg.DOCUMENT_ARG_ERR,
+ "Drugi argument funkcije document() mora biti skupina vozli\u0161\u010d."},
+
+ /*
+ * Note to translators: "<xsl:when>" and "<xsl:choose>" are keywords
+ * and should not be translated. This message describes a syntax error
+ * in the stylesheet.
+ */
+ {ErrorMsg.MISSING_WHEN_ERR,
+ "Zahtevan vsaj en element <xsl:when> v <xsl:choose>."},
+
+ /*
+ * Note to translators: "<xsl:otherwise>" and "<xsl:choose>" are
+ * keywords and should not be translated. This message describes a
+ * syntax error in the stylesheet.
+ */
+ {ErrorMsg.MULTIPLE_OTHERWISE_ERR,
+ "Dovoljen samo en element <xsl:otherwise> v <xsl:choose>."},
+
+ /*
+ * Note to translators: "<xsl:otherwise>" and "<xsl:choose>" are
+ * keywords and should not be translated. This message describes a
+ * syntax error in the stylesheet.
+ */
+ {ErrorMsg.STRAY_OTHERWISE_ERR,
+ "<xsl:otherwise> lahko uporabljamo samo znotraj <xsl:choose>."},
+
+ /*
+ * Note to translators: "<xsl:when>" and "<xsl:choose>" are keywords
+ * and should not be translated. This message describes a syntax error
+ * in the stylesheet.
+ */
+ {ErrorMsg.STRAY_WHEN_ERR,
+ "<xsl:when> lahko uporabljamo samo znotraj <xsl:choose>."},
+
+ /*
+ * Note to translators: "<xsl:when>", "<xsl:otherwise>" and
+ * "<xsl:choose>" are keywords and should not be translated. This
+ * message describes a syntax error in the stylesheet.
+ */
+ {ErrorMsg.WHEN_ELEMENT_ERR,
+ "V <xsl:choose> sta dovoljena samo elementa <xsl:when> in <xsl:otherwise>."},
+
+ /*
+ * Note to translators: "<xsl:attribute-set>" and "name" are keywords
+ * that should not be translated.
+ */
+ {ErrorMsg.UNNAMED_ATTRIBSET_ERR,
+ "V <xsl:attribute-set> manjka atribut 'name'."},
+
+ /*
+ * Note to translators: An element in the stylesheet contained an
+ * element of a type that it was not permitted to contain.
+ */
+ {ErrorMsg.ILLEGAL_CHILD_ERR,
+ "Neveljavni podrejeni element."},
+
+ /*
+ * Note to translators: The stylesheet tried to create an element with
+ * a name that was not a valid XML name. The substitution text contains
+ * the name.
+ */
+ {ErrorMsg.ILLEGAL_ELEM_NAME_ERR,
+ "Elementa ''{0}'' ni mogo\u010de poklicati"},
+
+ /*
+ * Note to translators: The stylesheet tried to create an attribute
+ * with a name that was not a valid XML name. The substitution text
+ * contains the name.
+ */
+ {ErrorMsg.ILLEGAL_ATTR_NAME_ERR,
+ "Atributa ''{0}'' ni mogo\u010de poklicati"},
+
+ /*
+ * Note to translators: The children of the outermost element of a
+ * stylesheet are referred to as top-level elements. No text should
+ * occur within that outermost element unless it is within a top-level
+ * element. This message indicates that that constraint was violated.
+ * "<xsl:stylesheet>" is a keyword that should not be translated.
+ */
+ {ErrorMsg.ILLEGAL_TEXT_NODE_ERR,
+ "Tekstovni podatki zunaj elementa na najvi\u0161ji ravni <xsl:stylesheet>."},
+
+ /*
+ * Note to translators: JAXP is an acronym for the Java API for XML
+ * Processing. This message indicates that the XML parser provided to
+ * XSLTC to process the XML input document had a configuration problem.
+ */
+ {ErrorMsg.SAX_PARSER_CONFIG_ERR,
+ "Raz\u010dlenjevalnik JAXP ni pravilno konfiguriran"},
+
+ /*
+ * Note to translators: The substitution text names the internal error
+ * encountered.
+ */
+ {ErrorMsg.INTERNAL_ERR,
+ "Nepopravljiva XSLTC-notranja napaka: ''{0}''"},
+
+ /*
+ * Note to translators: The stylesheet contained an element that was
+ * not recognized as part of the XSL syntax. The substitution text
+ * gives the element name.
+ */
+ {ErrorMsg.UNSUPPORTED_XSL_ERR,
+ "Nepodprt XSL element ''{0}''."},
+
+ /*
+ * Note to translators: The stylesheet referred to an extension to the
+ * XSL syntax and indicated that it was defined by XSLTC, but XSTLC does
+ * not recognized the particular extension named. The substitution text
+ * gives the extension name.
+ */
+ {ErrorMsg.UNSUPPORTED_EXT_ERR,
+ "Neprepoznana pripona XSLTC ''{0}''."},
+
+ /*
+ * Note to translators: The XML document given to XSLTC as a stylesheet
+ * was not, in fact, a stylesheet. XSLTC is able to detect that in this
+ * case because the outermost element in the stylesheet has to be
+ * declared with respect to the XSL namespace URI, but no declaration
+ * for that namespace was seen.
+ */
+ {ErrorMsg.MISSING_XSLT_URI_ERR,
+ "Vhodni dokument ni slogovna datoteka (v korenskem elementu ni naveden imenski prostor XSL)."},
+
+ /*
+ * Note to translators: XSLTC could not find the stylesheet document
+ * with the name specified by the substitution text.
+ */
+ {ErrorMsg.MISSING_XSLT_TARGET_ERR,
+ "Cilja slogovne datoteke ''{0}'' ni mogo\u010de najti."},
+
+ /*
+ * Note to translators: This message represents an internal error in
+ * condition in XSLTC. The substitution text is the class name in XSLTC
+ * that is missing some functionality.
+ */
+ {ErrorMsg.NOT_IMPLEMENTED_ERR,
+ "Ni izvedeno: ''{0}''."},
+
+ /*
+ * Note to translators: The XML document given to XSLTC as a stylesheet
+ * was not, in fact, a stylesheet.
+ */
+ {ErrorMsg.NOT_STYLESHEET_ERR,
+ "Vhodni dokument ne vsebuje slogovne datoteke XSL."},
+
+ /*
+ * Note to translators: The element named in the substitution text was
+ * encountered in the stylesheet but is not recognized.
+ */
+ {ErrorMsg.ELEMENT_PARSE_ERR,
+ "Elementa ''{0}'' ni mogo\u010de raz\u010dleniti"},
+
+ /*
+ * Note to translators: "use", "<key>", "node", "node-set", "string"
+ * and "number" are keywords in this context and should not be
+ * translated. This message indicates that the value of the "use"
+ * attribute was not one of the permitted values.
+ */
+ {ErrorMsg.KEY_USE_ATTR_ERR,
+ "Atribut uporabe za <key> mora biti vozli\u0161\u010de, skupina vozli\u0161\u010d, niz ali \u0161tevilka."},
+
+ /*
+ * Note to translators: An XML document can specify the version of the
+ * XML specification to which it adheres. This message indicates that
+ * the version specified for the output document was not valid.
+ */
+ {ErrorMsg.OUTPUT_VERSION_ERR,
+ "Razli\u010dica izhodnega dokumenta XML mora biti 1.0"},
+
+ /*
+ * Note to translators: The operator in a comparison operation was
+ * not recognized.
+ */
+ {ErrorMsg.ILLEGAL_RELAT_OP_ERR,
+ "Neznan operator za relacijski izraz"},
+
+ /*
+ * Note to translators: An attribute set defines as a set of XML
+ * attributes that can be added to an element in the output XML document
+ * as a group. This message is reported if the name specified was not
+ * used to declare an attribute set. The substitution text is the name
+ * that is in error.
+ */
+ {ErrorMsg.ATTRIBSET_UNDEF_ERR,
+ "Poskus uporabe neobstoje\u010de skupine atributov ''{0}''."},
+
+ /*
+ * Note to translators: The term "attribute value template" is a term
+ * defined by XSLT which describes the value of an attribute that is
+ * determined by an XPath expression. The message indicates that the
+ * expression was syntactically incorrect; the substitution text
+ * contains the expression that was in error.
+ */
+ {ErrorMsg.ATTR_VAL_TEMPLATE_ERR,
+ "Predloge vrednosti atributa ''{0}'' ni mogo\u010de raz\u010dleniti."},
+
+ /*
+ * Note to translators: ???
+ */
+ {ErrorMsg.UNKNOWN_SIG_TYPE_ERR,
+ "V podpisu za razred ''{0}'' je neznan podatkovni tip."},
+
+ /*
+ * Note to translators: The substitution text refers to data types.
+ * The message is displayed if a value in a particular context needs to
+ * be converted to type {1}, but that's not possible for a value of
+ * type {0}.
+ */
+ {ErrorMsg.DATA_CONVERSION_ERR,
+ "Ni mogo\u010de pretvoriti podatkovnega tipa ''{0}'' v ''{1}''."},
+
+ /*
+ * Note to translators: "Templates" is a Java class name that should
+ * not be translated.
+ */
+ {ErrorMsg.NO_TRANSLET_CLASS_ERR,
+ "Te Templates ne vsebujejo veljavne definicije razreda translet."},
+
+ /*
+ * Note to translators: "Templates" is a Java class name that should
+ * not be translated.
+ */
+ {ErrorMsg.NO_MAIN_TRANSLET_ERR,
+ "Te predloge ne vsebujejo razreda z imenom ''{0}''."},
+
+ /*
+ * Note to translators: The substitution text is the name of a class.
+ */
+ {ErrorMsg.TRANSLET_CLASS_ERR,
+ "Ni mogo\u010de nalo\u017eiti razreda transleta ''{0}''."},
+
+ {ErrorMsg.TRANSLET_OBJECT_ERR,
+ "Razred transleta je nalo\u017een, vendar priprava primerka transleta ni mogo\u010da."},
+
+ /*
+ * Note to translators: "ErrorListener" is a Java interface name that
+ * should not be translated. The message indicates that the user tried
+ * to set an ErrorListener object on object of the class named in the
+ * substitution text with "null" Java value.
+ */
+ {ErrorMsg.ERROR_LISTENER_NULL_ERR,
+ "Poskus nastavitve ErrorListener za ''{0}'' na null"},
+
+ /*
+ * Note to translators: StreamSource, SAXSource and DOMSource are Java
+ * interface names that should not be translated.
+ */
+ {ErrorMsg.JAXP_UNKNOWN_SOURCE_ERR,
+ "XSLTC podpira samo StreamSource, SAXSource in DOMSource"},
+
+ /*
+ * Note to translators: "Source" is a Java class name that should not
+ * be translated. The substitution text is the name of Java method.
+ */
+ {ErrorMsg.JAXP_NO_SOURCE_ERR,
+ "Predmet Source, ki je bil podan z ''{0}'', nima vsebine."},
+
+ /*
+ * Note to translators: The message indicates that XSLTC failed to
+ * compile the stylesheet into a translet (class file).
+ */
+ {ErrorMsg.JAXP_COMPILE_ERR,
+ "Ni mogo\u010de prevesti slogovne datoteke"},
+
+ /*
+ * Note to translators: "TransformerFactory" is a class name. In this
+ * context, an attribute is a property or setting of the
+ * TransformerFactory object. The substitution text is the name of the
+ * unrecognised attribute. The method used to retrieve the attribute is
+ * "getAttribute", so it's not clear whether it would be best to
+ * translate the term "attribute".
+ */
+ {ErrorMsg.JAXP_INVALID_ATTR_ERR,
+ "TransformerFactory ne prepozna atributa ''{0}''."},
+
+ /*
+ * Note to translators: "setResult()" and "startDocument()" are Java
+ * method names that should not be translated.
+ */
+ {ErrorMsg.JAXP_SET_RESULT_ERR,
+ "Klic za setResult() mora biti izveden pred klicem startDocument()."},
+
+ /*
+ * Note to translators: "Transformer" is a Java interface name that
+ * should not be translated. A Transformer object should contained a
+ * reference to a translet object in order to be used for
+ * transformations; this message is produced if that requirement is not
+ * met.
+ */
+ {ErrorMsg.JAXP_NO_TRANSLET_ERR,
+ "Transformer ne vsebuje enkapsuliranih translet objektov."},
+
+ /*
+ * Note to translators: The XML document that results from a
+ * transformation needs to be sent to an output handler object; this
+ * message is produced if that requirement is not met.
+ */
+ {ErrorMsg.JAXP_NO_HANDLER_ERR,
+ "Za rezultat transformacije ni izhodne obravnave."},
+
+ /*
+ * Note to translators: "Result" is a Java interface name in this
+ * context. The substitution text is a method name.
+ */
+ {ErrorMsg.JAXP_NO_RESULT_ERR,
+ "Rezultat, ki je bil posredovan ''{0}'', je neveljaven."},
+
+ /*
+ * Note to translators: "Transformer" is a Java interface name. The
+ * user's program attempted to access an unrecognized property with the
+ * name specified in the substitution text. The method used to retrieve
+ * the property is "getOutputProperty", so it's not clear whether it
+ * would be best to translate the term "property".
+ */
+ {ErrorMsg.JAXP_UNKNOWN_PROP_ERR,
+ "Poskus dostopa do neveljavne lastnosti (property) Transformer ''{0}''."},
+
+ /*
+ * Note to translators: SAX2DOM is the name of a Java class that should
+ * not be translated. This is an adapter in the sense that it takes a
+ * DOM object and converts it to something that uses the SAX API.
+ */
+ {ErrorMsg.SAX2DOM_ADAPTER_ERR,
+ "Ni mogo\u010de ustvariti adapterja SAX2DOM: ''{0}''."},
+
+ /*
+ * Note to translators: "XSLTCSource.build()" is a Java method name.
+ * "systemId" is an XML term that is short for "system identification".
+ */
+ {ErrorMsg.XSLTC_SOURCE_ERR,
+ "Klic XSLTCSource.build() brez predhodne nastavitve systemId."},
+
+ { ErrorMsg.ER_RESULT_NULL,
+ "Rezultat naj ne bi bil NULL"},
+
+ /*
+ * Note to translators: This message indicates that the value argument
+ * of setParameter must be a valid Java Object.
+ */
+ {ErrorMsg.JAXP_INVALID_SET_PARAM_VALUE,
+ "Vrednost parametra {0} mora biti veljaven javanski objekt"},
+
+
+ {ErrorMsg.COMPILE_STDIN_ERR,
+ "Mo\u017enost -i mora biti uporabljena skupaj z mo\u017enostjo -o."},
+
+
+ /*
+ * Note to translators: This message contains usage information for a
+ * 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.
+ */
+ {ErrorMsg.COMPILE_USAGE_STR,
+ "SYNOPSIS\n java org.apache.xalan.xsltc.cmdline.Compile [-o <izhodna datoteka>]\n [-d <directory>] [-j <datoteka jar>] [-p <paket>]\n [-n] [-x] [-u] [-v] [-h] { <stylesheet> | -i }\n\nOPTIONS\n -o <izhodna datoteka> dodeli ime <izhodna datoteka> generiranemu\n transletu. Ime transleta se po privzetih nastavitvah\n izpelje iz imena <stylesheet>. Pri prevajanju\n ve\u010d slogovnih datotek je ta mo\u017enost prezrta.\n -d <directory> dolo\u010di ciljno mapo za translet\n -j <datoteka jar> zdru\u017ei razrede translet v datoteko jar\n pod imenom, dolo\u010denim z <datoteka jar>\n -p <paket> dolo\u010di predpono imena paketa vsem generiranim\n razredom translet.\n -n omogo\u010da vrivanje predlog (v povpre\u010dju bolj\u0161e privzeto\n obna\u0161anje).\n -x vklopi dodatna izhodna sporo\u010dila za iskanje napak\n -u prevede argumente <stylesheet> kot URL-je\n -i prisili prevajalnik k branju slogovne datoteke iz stdin\n -v natisne razli\u010dico prevajalnika\n -h natisne ta stavek za uporabo\n"},
+
+ /*
+ * Note to translators: This message contains usage information for a
+ * 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.
+ */
+ {ErrorMsg.TRANSFORM_USAGE_STR,
+ "SYNOPSIS \n java org.apache.xalan.xsltc.cmdline.Transform [-j <datoteka jar>]\n [-x] [-n <ponovitve>] {-u <document_url> | <dokument>}\n <razred> [<param1>=<value1> ...]\n\n uporablja translet <razred> za pretvorbo dokumenta XML \n navedenega kot <dokument>. Translet <razred> je ali v\n uporabnikovem CLASSPATH ali v izbirno navedeni datoteki <datoteka jar>.\nOPTIONS\n -j <datoteka jar> dolo\u010di datoteko jar, iz katere bo nalo\u017een translet\n -x vklopi dodatna sporo\u010dila za iskanje napak\n n <ponovitve> <ponovitve>-krat po\u017eene preoblikovanje in\n prika\u017ee informacije profiliranja\n -u <document_url> dolo\u010di vhodni dokument XML za URL\n"},
+
+
+
+ /*
+ * Note to translators: "<xsl:sort>", "<xsl:for-each>" and
+ * "<xsl:apply-templates>" are keywords that should not be translated.
+ * The message indicates that an xsl:sort element must be a child of
+ * one of the other kinds of elements mentioned.
+ */
+ {ErrorMsg.STRAY_SORT_ERR,
+ "<xsl:sort> je mogo\u010de uporabljati samo znotraj <xsl:for-each> ali <xsl:apply-templates>."},
+
+ /*
+ * Note to translators: The message indicates that the encoding
+ * requested for the output document was on that requires support that
+ * is not available from the Java Virtual Machine being used to execute
+ * the program.
+ */
+ {ErrorMsg.UNSUPPORTED_ENCODING,
+ "Ta JVM ne podpira izhodnega kodiranja ''{0}''."},
+
+ /*
+ * Note to translators: The message indicates that the XPath expression
+ * named in the substitution text was not well formed syntactically.
+ */
+ {ErrorMsg.SYNTAX_ERR,
+ "Napaka v sintaksi v ''{0}''."},
+
+ /*
+ * Note to translators: The substitution text is the name of a Java
+ * class. The term "constructor" here is the Java term. The message is
+ * displayed if XSLTC could not find a constructor for the specified
+ * class.
+ */
+ {ErrorMsg.CONSTRUCTOR_NOT_FOUND,
+ "Ni mogo\u010de najti zunanjega konstruktorja ''{0}''."},
+
+ /*
+ * Note to translators: "static" is the Java keyword. The substitution
+ * text is the name of a function. The first argument of that function
+ * is not of the required type.
+ */
+ {ErrorMsg.NO_JAVA_FUNCT_THIS_REF,
+ "Prvi argument nestati\u010dne (non-static) javanske funkcije ''{0}'' ni veljaven sklic na objekt."},
+
+ /*
+ * Note to translators: An XPath expression was not of the type
+ * required in a particular context. The substitution text is the
+ * expression that was in error.
+ */
+ {ErrorMsg.TYPE_CHECK_ERR,
+ "Napaka pri preverjanju tipa izraza ''{0}''."},
+
+ /*
+ * Note to translators: An XPath expression was not of the type
+ * required in a particular context. However, the location of the
+ * problematic expression is unknown.
+ */
+ {ErrorMsg.TYPE_CHECK_UNK_LOC_ERR,
+ "Napaka pri preverjanju tipa izraza na neznani lokaciji."},
+
+ /*
+ * Note to translators: The substitution text is the name of a command-
+ * line option that was not recognized.
+ */
+ {ErrorMsg.ILLEGAL_CMDLINE_OPTION_ERR,
+ "Mo\u017enost ukazne vrstice ''{0}'' ni veljavna."},
+
+ /*
+ * Note to translators: The substitution text is the name of a command-
+ * line option.
+ */
+ {ErrorMsg.CMDLINE_OPT_MISSING_ARG_ERR,
+ "Mo\u017enosti ukazne vrstice ''{0}'' manjka zahtevani argument."},
+
+ /*
+ * Note to translators: This message is used to indicate the severity
+ * of another message. The substitution text contains two error
+ * messages. The spacing before the second substitution text indents
+ * it the same amount as the first in English.
+ */
+ {ErrorMsg.WARNING_PLUS_WRAPPED_MSG,
+ "OPOZORILO: ''{0}''\n :{1}"},
+
+ /*
+ * Note to translators: This message is used to indicate the severity
+ * of another message. The substitution text is an error message.
+ */
+ {ErrorMsg.WARNING_MSG,
+ "OPOZORILO: ''{0}''"},
+
+ /*
+ * Note to translators: This message is used to indicate the severity
+ * of another message. The substitution text contains two error
+ * messages. The spacing before the second substitution text indents
+ * it the same amount as the first in English.
+ */
+ {ErrorMsg.FATAL_ERR_PLUS_WRAPPED_MSG,
+ "USODNA NAPAKA: ''{0}''\n :{1}"},
+
+ /*
+ * Note to translators: This message is used to indicate the severity
+ * of another message. The substitution text is an error message.
+ */
+ {ErrorMsg.FATAL_ERR_MSG,
+ "USODNA NAPAKA: ''{0}''"},
+
+ /*
+ * Note to translators: This message is used to indicate the severity
+ * of another message. The substitution text contains two error
+ * messages. The spacing before the second substitution text indents
+ * it the same amount as the first in English.
+ */
+ {ErrorMsg.ERROR_PLUS_WRAPPED_MSG,
+ "USODNA NAPAKA: ''{0}''\n :{1}"},
+
+ /*
+ * Note to translators: This message is used to indicate the severity
+ * of another message. The substitution text is an error message.
+ */
+ {ErrorMsg.ERROR_MSG,
+ "NAPAKA: ''{0}''"},
+
+ /*
+ * Note to translators: The substitution text is the name of a class.
+ */
+ {ErrorMsg.TRANSFORM_WITH_TRANSLET_STR,
+ "Pretvorba z uporabo transleta ''{0}'' "},
+
+ /*
+ * Note to translators: The first substitution is the name of a class,
+ * while the second substitution is the name of a jar file.
+ */
+ {ErrorMsg.TRANSFORM_WITH_JAR_STR,
+ "Pretvorba z uporabo transleta ''{0}'' iz datoteke jar ''{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.
+ */
+ {ErrorMsg.COULD_NOT_CREATE_TRANS_FACT,
+ "Ni mogo\u010de ustvariti primerka razreda TransformerFactory ''{0}''."},
+
+ /*
+ * Note to translators: This message is produced when the user
+ * specified a name for the translet class that contains characters
+ * that are not permitted in a Java class name. The substitution
+ * text "{0}" specifies the name the user requested, while "{1}"
+ * specifies the name the processor used instead.
+ */
+ {ErrorMsg.TRANSLET_NAME_JAVA_CONFLICT,
+ "Imena ''{0}'' ni bilo mogo\u010de uporabiti kot ime razreda translet, saj vsebuje znake, ki v imenu javanskega razreda niso dovoljeni. Uporabljeno je bilo ime ''{1}''."},
+
+ /*
+ * Note to translators: The following message is used as a header.
+ * All the error messages are collected together and displayed beneath
+ * this message.
+ */
+ {ErrorMsg.COMPILER_ERROR_KEY,
+ "Napake prevajalnika:"},
+
+ /*
+ * Note to translators: The following message is used as a header.
+ * All the warning messages are collected together and displayed
+ * beneath this message.
+ */
+ {ErrorMsg.COMPILER_WARNING_KEY,
+ "Opozorila prevajalnika:"},
+
+ /*
+ * Note to translators: The following message is used as a header.
+ * All the error messages that are produced when the stylesheet is
+ * applied to an input document are collected together and displayed
+ * beneath this message. A 'translet' is the compiled form of a
+ * stylesheet (see above).
+ */
+ {ErrorMsg.RUNTIME_ERROR_KEY,
+ "Napake transleta:"},
+
+ /*
+ * Note to translators: An attribute whose value is constrained to
+ * be a "QName" or a list of "QNames" had a value that was incorrect.
+ * 'QName' is an XML syntactic term that must not be translated. The
+ * substitution text contains the actual value of the attribute.
+ */
+ {ErrorMsg.INVALID_QNAME_ERR,
+ "Atribut, katerega vrednost mora biti vrednost QName ali s presledki lo\u010den seznam vrednosti Qname, je imel vrednost ''{0}''"},
+
+ /*
+ * Note to translators: An attribute whose value is required to
+ * be an "NCName".
+ * 'NCName' is an XML syntactic term that must not be translated. The
+ * substitution text contains the actual value of the attribute.
+ */
+ {ErrorMsg.INVALID_NCNAME_ERR,
+ "Atribut, katerega vrednost mora biti NCName, je imel vrednost ''{0}''"},
+
+ /*
+ * Note to translators: An attribute with an incorrect value was
+ * encountered. The permitted value is one of the literal values
+ * "xml", "html" or "text"; it is also permitted to have the form of
+ * a QName that is not also an NCName. The terms "method",
+ * "xsl:output", "xml", "html" and "text" are keywords that must not
+ * be translated. The term "qname-but-not-ncname" is an XML syntactic
+ * term. The substitution text contains the actual value of the
+ * attribute.
+ */
+ {ErrorMsg.INVALID_METHOD_IN_OUTPUT,
+ "Atribut metode elementa <xsl:output> je imel vrednost ''{0}''. Vrednost mora biti ena izmed ''xml'', ''html'', ''text'', ali qname-but-not-ncname (qname, vendar pa ne ncname)"},
+
+ {ErrorMsg.JAXP_GET_FEATURE_NULL_NAME,
+ "Ime funkcije ne sme biti null v TransformerFactory.getFeature(Ime niza)."},
+
+ {ErrorMsg.JAXP_SET_FEATURE_NULL_NAME,
+ "Ime funkcije ne sme biti null v TransformerFactory.getFeature(Ime niza, boolova vrednost)."},
+
+ {ErrorMsg.JAXP_UNSUPPORTED_FEATURE,
+ "Ni mogo\u010de nastaviti funkcije ''{0}'' v tem TransformerFactory."}
+
+ };
+ }
+
+}
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_tr.java b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_tr.java
index 93a947b..6e5679a 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_tr.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_tr.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_zh.java b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_zh.java
index 8541e8f..915ce85 100755
--- a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_zh.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_zh.java
@@ -1,911 +1,913 @@
-/*
- * Copyright 2001-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/*
- * $Id: ErrorMessages_zh.java 338081 2004-12-15 17:35:58Z jycli $
- */
-
-package org.apache.xalan.xsltc.compiler.util;
-
-import java.util.ListResourceBundle;
-
-/**
- * @author Morten Jorgensen
- */
-public class ErrorMessages_zh extends ListResourceBundle {
-
-/*
- * XSLTC compile-time error messages.
- *
- * General notes to translators and definitions:
- *
- * 1) XSLTC is the name of the product. It is an acronym for "XSLT Compiler".
- * XSLT is an acronym for "XML Stylesheet Language: Transformations".
- *
- * 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 axis is a particular "dimension" in a tree representation of an XML
- * document; the nodes in the tree are divided along different axes.
- * Traversing the "child" axis, for instance, means that the program
- * would visit each child of a particular node; traversing the "descendant"
- * axis means that the program would visit the child nodes of a particular
- * node, their children, and so on until the leaf nodes of the tree are
- * reached.
- *
- * 5) An iterator is an object that traverses nodes in a tree along a
- * particular axis, one at a time.
- *
- * 6) 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.
- *
- * 7) 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.
- *
- * 8) DOM is an acronym for Document Object Model. It is a tree
- * representation of an XML document.
- *
- * SAX is an acronym for the Simple API for XML processing. It is an API
- * used inform an XML processor (in this case XSLTC) of the structure and
- * content of an XML document.
- *
- * Input to the stylesheet processor can come from an XML parser in the
- * form of a DOM tree or through the SAX API.
- *
- * 9) DTD is a document type declaration. It is a way of specifying the
- * grammar for an XML file, the names and types of elements, attributes,
- * etc.
- *
- * 10) 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.
- *
- * 11) Translet is an invented term that refers to the class file that contains
- * the compiled form of a stylesheet.
- */
-
- // These message should be read from a locale-specific resource bundle
- /** Get the lookup table for error messages.
- *
- * @return The message lookup table.
- */
- public Object[][] getContents()
- {
- return new Object[][] {
- {ErrorMsg.MULTIPLE_STYLESHEET_ERR,
- "\u540c\u4e00\u6587\u4ef6\u4e2d\u5b9a\u4e49\u4e86\u591a\u4e2a\u6837\u5f0f\u8868\u3002"},
-
- /*
- * Note to translators: The substitution text is the name of a
- * template. The same name was used on two different templates in the
- * same stylesheet.
- */
- {ErrorMsg.TEMPLATE_REDEF_ERR,
- "\u6b64\u6837\u5f0f\u8868\u4e2d\u5df2\u7ecf\u5b9a\u4e49\u4e86\u6a21\u677f\u201c{0}\u201d\u3002"},
-
-
- /*
- * Note to translators: The substitution text is the name of a
- * template. A reference to the template name was encountered, but the
- * template is undefined.
- */
- {ErrorMsg.TEMPLATE_UNDEF_ERR,
- "\u6b64\u6837\u5f0f\u8868\u4e2d\u672a\u5b9a\u4e49\u6a21\u677f\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: The substitution text is the name of a variable
- * that was defined more than once.
- */
- {ErrorMsg.VARIABLE_REDEF_ERR,
- "\u540c\u4e00\u4f5c\u7528\u57df\u4e2d\u591a\u6b21\u5b9a\u4e49\u4e86\u53d8\u91cf\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: The substitution text is the name of a variable
- * or parameter. A reference to the variable or parameter was found,
- * but it was never defined.
- */
- {ErrorMsg.VARIABLE_UNDEF_ERR,
- "\u672a\u5b9a\u4e49\u53d8\u91cf\u6216\u53c2\u6570\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: The word "class" here refers to a Java class.
- * Processing the stylesheet required a class to be loaded, but it could
- * not be found. The substitution text is the name of the class.
- */
- {ErrorMsg.CLASS_NOT_FOUND_ERR,
- "\u627e\u4e0d\u5230\u7c7b\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: The word "method" here refers to a Java method.
- * Processing the stylesheet required a reference to the method named by
- * the substitution text, but it could not be found. "public" is the
- * Java keyword.
- */
- {ErrorMsg.METHOD_NOT_FOUND_ERR,
- "\u627e\u4e0d\u5230\u5916\u90e8\u65b9\u6cd5\u201c{0}\u201d\uff08\u5fc5\u987b\u662f public\uff09\u3002"},
-
- /*
- * Note to translators: The word "method" here refers to a Java method.
- * Processing the stylesheet required a reference to the method named by
- * the substitution text, but no method with the required types of
- * arguments or return type could be found.
- */
- {ErrorMsg.ARGUMENT_CONVERSION_ERR,
- "\u65e0\u6cd5\u5c06\u8c03\u7528\u4e2d\u7684\u53c2\u6570\uff0f\u8fd4\u56de\u7c7b\u578b\u8f6c\u6362\u4e3a\u65b9\u6cd5\u201c{0}\u201d"},
-
- /*
- * Note to translators: The file or URI named in the substitution text
- * is missing.
- */
- {ErrorMsg.FILE_NOT_FOUND_ERR,
- "\u627e\u4e0d\u5230\u6587\u4ef6\u6216 URI\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: This message is displayed when the URI
- * mentioned in the substitution text is not well-formed syntactically.
- */
- {ErrorMsg.INVALID_URI_ERR,
- "URI\u201c{0}\u201d\u65e0\u6548\u3002"},
-
- /*
- * Note to translators: The file or URI named in the substitution text
- * exists but could not be opened.
- */
- {ErrorMsg.FILE_ACCESS_ERR,
- "\u65e0\u6cd5\u6253\u5f00\u6587\u4ef6\u6216 URI\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: <xsl:stylesheet> and <xsl:transform> are
- * keywords that should not be translated.
- */
- {ErrorMsg.MISSING_ROOT_ERR,
- "\u9884\u671f\u5b58\u5728 <xsl:stylesheet> \u6216 <xsl:transform> \u5143\u7d20\u3002"},
-
- /*
- * Note to translators: The stylesheet contained a reference to a
- * namespace prefix that was undefined. The value of the substitution
- * text is the name of the prefix.
- */
- {ErrorMsg.NAMESPACE_UNDEF_ERR,
- "\u672a\u58f0\u660e\u540d\u79f0\u7a7a\u95f4\u524d\u7f00\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: The Java function named in the stylesheet could
- * not be found.
- */
- {ErrorMsg.FUNCTION_RESOLVE_ERR,
- "\u65e0\u6cd5\u89e3\u6790\u5bf9\u51fd\u6570\u201c{0}\u201d\u7684\u8c03\u7528\u3002"},
-
- /*
- * Note to translators: The substitution text is the name of a
- * function. A literal string here means a constant string value.
- */
- {ErrorMsg.NEED_LITERAL_ERR,
- "\u201c{0}\u201d\u7684\u81ea\u53d8\u91cf\u5fc5\u987b\u662f\u6587\u5b57\u4e32\u3002"},
-
- /*
- * Note to translators: This message indicates there was a syntactic
- * error in the form of an XPath expression. The substitution text is
- * the expression.
- */
- {ErrorMsg.XPATH_PARSER_ERR,
- "\u89e3\u6790 XPath \u8868\u8fbe\u5f0f\u201c{0}\u201d\u65f6\u51fa\u9519\u3002"},
-
- /*
- * Note to translators: An element in the stylesheet requires a
- * particular attribute named by the substitution text, but that
- * attribute was not specified in the stylesheet.
- */
- {ErrorMsg.REQUIRED_ATTR_ERR,
- "\u7f3a\u5c11\u5fc5\u9700\u7684\u5c5e\u6027\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: This message indicates that a character not
- * permitted in an XPath expression was encountered. The substitution
- * text is the offending character.
- */
- {ErrorMsg.ILLEGAL_CHAR_ERR,
- "XPath \u8868\u8fbe\u5f0f\u4e2d\u7684\u5b57\u7b26\u201c{0}\u201d\u975e\u6cd5\u3002"},
-
- /*
- * Note to translators: A processing instruction is a mark-up item in
- * an XML document that request some behaviour of an XML processor. The
- * form of the name of was invalid in this case, and the substitution
- * text is the name.
- */
- {ErrorMsg.ILLEGAL_PI_ERR,
- "\u5904\u7406\u6307\u4ee4\u7684\u540d\u79f0\u201c{0}\u201d\u975e\u6cd5\u3002"},
-
- /*
- * Note to translators: This message is reported if the stylesheet
- * 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.
- */
- {ErrorMsg.STRAY_ATTRIBUTE_ERR,
- "\u5c5e\u6027\u201c{0}\u201d\u5728\u5143\u7d20\u5916\u3002"},
-
- /*
- * Note to translators: An attribute that wasn't recognized was
- * specified on an element in the stylesheet. The attribute is named
- * by the substitution
- * text.
- */
- {ErrorMsg.ILLEGAL_ATTRIBUTE_ERR,
- "\u5c5e\u6027\u201c{0}\u201d\u975e\u6cd5\u3002"},
-
- /*
- * Note to translators: "import" and "include" are keywords that should
- * not be translated. This messages indicates that the stylesheet
- * named in the substitution text imported or included itself either
- * directly or indirectly.
- */
- {ErrorMsg.CIRCULAR_INCLUDE_ERR,
- "\u5faa\u73af import\uff0finclude\u3002\u5df2\u88c5\u5165\u6837\u5f0f\u8868\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: A result-tree fragment is a portion of a
- * resulting XML document represented as a tree. "<xsl:sort>" is a
- * keyword and should not be translated.
- */
- {ErrorMsg.RESULT_TREE_SORT_ERR,
- "\u65e0\u6cd5\u5bf9\u7ed3\u679c\u6811\u7247\u6bb5\u6392\u5e8f\uff08<xsl:sort> \u5143\u7d20\u88ab\u5ffd\u7565\uff09\u3002\u5fc5\u987b\u5728\u521b\u5efa\u7ed3\u679c\u6811\u65f6\u5bf9\u8282\u70b9\u8fdb\u884c\u6392\u5e8f\u3002"},
-
- /*
- * Note to translators: A name can be given to a particular style to be
- * used to format decimal values. The substitution text gives the name
- * of such a style for which more than one declaration was encountered.
- */
- {ErrorMsg.SYMBOLS_REDEF_ERR,
- "\u5df2\u7ecf\u5b9a\u4e49\u4e86\u5341\u8fdb\u5236\u683c\u5f0f\u7f16\u6392\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: The stylesheet version named in the
- * substitution text is not supported.
- */
- {ErrorMsg.XSL_VERSION_ERR,
- "XSLTC \u4e0d\u652f\u6301 XSL V{0}\u3002"},
-
- /*
- * Note to translators: The definitions of one or more variables or
- * parameters depend on one another.
- */
- {ErrorMsg.CIRCULAR_VARIABLE_ERR,
- "\u201c{0}\u201d\u4e2d\u7684\u5faa\u73af\u53d8\u91cf\uff0f\u53c2\u6570\u5f15\u7528\u3002"},
-
- /*
- * Note to translators: The operator in an expresion with two operands was
- * not recognized.
- */
- {ErrorMsg.ILLEGAL_BINARY_OP_ERR,
- "\u4e8c\u8fdb\u5236\u8868\u8fbe\u5f0f\u7684\u8fd0\u7b97\u7b26\u672a\u77e5\u3002"},
-
- /*
- * Note to translators: This message is produced if a reference to a
- * function has too many or too few arguments.
- */
- {ErrorMsg.ILLEGAL_ARG_ERR,
- "\u51fd\u6570\u8c03\u7528\u7684\u53c2\u6570\u975e\u6cd5\u3002"},
-
- /*
- * Note to translators: "document()" is the name of function and must
- * not be translated. A node-set is a set of the nodes in the tree
- * representation of an XML document.
- */
- {ErrorMsg.DOCUMENT_ARG_ERR,
- "\u51fd\u6570 document() \u7684\u7b2c\u4e8c\u4e2a\u53c2\u6570\u5fc5\u987b\u662f\u8282\u70b9\u96c6\u3002"},
-
- /*
- * Note to translators: "<xsl:when>" and "<xsl:choose>" are keywords
- * and should not be translated. This message describes a syntax error
- * in the stylesheet.
- */
- {ErrorMsg.MISSING_WHEN_ERR,
- "<xsl:choose> \u4e2d\u81f3\u5c11\u8981\u6709\u4e00\u4e2a <xsl:when> \u5143\u7d20\u3002"},
-
- /*
- * Note to translators: "<xsl:otherwise>" and "<xsl:choose>" are
- * keywords and should not be translated. This message describes a
- * syntax error in the stylesheet.
- */
- {ErrorMsg.MULTIPLE_OTHERWISE_ERR,
- "<xsl:choose> \u4e2d\u53ea\u5141\u8bb8\u6709\u4e00\u4e2a <xsl:otherwise> \u5143\u7d20\u3002"},
-
- /*
- * Note to translators: "<xsl:otherwise>" and "<xsl:choose>" are
- * keywords and should not be translated. This message describes a
- * syntax error in the stylesheet.
- */
- {ErrorMsg.STRAY_OTHERWISE_ERR,
- "<xsl:otherwise> \u53ea\u80fd\u5728 <xsl:choose> \u4e2d\u4f7f\u7528\u3002"},
-
- /*
- * Note to translators: "<xsl:when>" and "<xsl:choose>" are keywords
- * and should not be translated. This message describes a syntax error
- * in the stylesheet.
- */
- {ErrorMsg.STRAY_WHEN_ERR,
- "<xsl:when> \u53ea\u80fd\u5728 <xsl:choose> \u4e2d\u4f7f\u7528\u3002"},
-
- /*
- * Note to translators: "<xsl:when>", "<xsl:otherwise>" and
- * "<xsl:choose>" are keywords and should not be translated. This
- * message describes a syntax error in the stylesheet.
- */
- {ErrorMsg.WHEN_ELEMENT_ERR,
- "<xsl:choose> \u4e2d\u53ea\u5141\u8bb8\u4f7f\u7528 <xsl:when> \u548c <xsl:otherwise>\u3002"},
-
- /*
- * Note to translators: "<xsl:attribute-set>" and "name" are keywords
- * that should not be translated.
- */
- {ErrorMsg.UNNAMED_ATTRIBSET_ERR,
- "<xsl:attribute-set> \u7f3a\u5c11\u201cname\u201d\u5c5e\u6027\u3002"},
-
- /*
- * Note to translators: An element in the stylesheet contained an
- * element of a type that it was not permitted to contain.
- */
- {ErrorMsg.ILLEGAL_CHILD_ERR,
- "\u5b50\u5143\u7d20\u975e\u6cd5\u3002"},
-
- /*
- * Note to translators: The stylesheet tried to create an element with
- * a name that was not a valid XML name. The substitution text contains
- * the name.
- */
- {ErrorMsg.ILLEGAL_ELEM_NAME_ERR,
- "\u4e0d\u80fd\u8c03\u7528\u5143\u7d20\u201c{0}\u201d"},
-
- /*
- * Note to translators: The stylesheet tried to create an attribute
- * with a name that was not a valid XML name. The substitution text
- * contains the name.
- */
- {ErrorMsg.ILLEGAL_ATTR_NAME_ERR,
- "\u4e0d\u80fd\u8c03\u7528\u5c5e\u6027\u201c{0}\u201d"},
-
- /*
- * Note to translators: The children of the outermost element of a
- * stylesheet are referred to as top-level elements. No text should
- * occur within that outermost element unless it is within a top-level
- * element. This message indicates that that constraint was violated.
- * "<xsl:stylesheet>" is a keyword that should not be translated.
- */
- {ErrorMsg.ILLEGAL_TEXT_NODE_ERR,
- "\u6587\u672c\u6570\u636e\u5728\u9876\u7ea7 <xsl:stylesheet> \u5143\u7d20\u5916\u3002"},
-
- /*
- * Note to translators: JAXP is an acronym for the Java API for XML
- * Processing. This message indicates that the XML parser provided to
- * XSLTC to process the XML input document had a configuration problem.
- */
- {ErrorMsg.SAX_PARSER_CONFIG_ERR,
- "JAXP \u89e3\u6790\u5668\u6ca1\u6709\u6b63\u786e\u914d\u7f6e"},
-
- /*
- * Note to translators: The substitution text names the internal error
- * encountered.
- */
- {ErrorMsg.INTERNAL_ERR,
- "\u4e0d\u53ef\u6062\u590d\u7684 XSLTC \u5185\u90e8\u9519\u8bef\uff1a\u201c{0}\u201d"},
-
- /*
- * Note to translators: The stylesheet contained an element that was
- * not recognized as part of the XSL syntax. The substitution text
- * gives the element name.
- */
- {ErrorMsg.UNSUPPORTED_XSL_ERR,
- "\u4e0d\u53d7\u652f\u6301\u7684 XSL \u5143\u7d20\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: The stylesheet referred to an extension to the
- * XSL syntax and indicated that it was defined by XSLTC, but XSTLC does
- * not recognized the particular extension named. The substitution text
- * gives the extension name.
- */
- {ErrorMsg.UNSUPPORTED_EXT_ERR,
- "\u672a\u88ab\u8bc6\u522b\u7684 XSLTC \u6269\u5c55\u540d\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: The XML document given to XSLTC as a stylesheet
- * was not, in fact, a stylesheet. XSLTC is able to detect that in this
- * case because the outermost element in the stylesheet has to be
- * declared with respect to the XSL namespace URI, but no declaration
- * for that namespace was seen.
- */
- {ErrorMsg.MISSING_XSLT_URI_ERR,
- "\u8f93\u5165\u6587\u6863\u4e0d\u662f\u6837\u5f0f\u8868\uff08XSL \u540d\u79f0\u7a7a\u95f4\u6ca1\u6709\u5728\u6839\u5143\u7d20\u4e2d\u58f0\u660e\uff09\u3002"},
-
- /*
- * Note to translators: XSLTC could not find the stylesheet document
- * with the name specified by the substitution text.
- */
- {ErrorMsg.MISSING_XSLT_TARGET_ERR,
- "\u627e\u4e0d\u5230\u6837\u5f0f\u8868\u76ee\u6807\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: This message represents an internal error in
- * condition in XSLTC. The substitution text is the class name in XSLTC
- * that is missing some functionality.
- */
- {ErrorMsg.NOT_IMPLEMENTED_ERR,
- "\u6ca1\u6709\u5b9e\u73b0\uff1a\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: The XML document given to XSLTC as a stylesheet
- * was not, in fact, a stylesheet.
- */
- {ErrorMsg.NOT_STYLESHEET_ERR,
- "\u8f93\u5165\u6587\u6863\u4e0d\u5305\u542b XSL \u6837\u5f0f\u8868\u3002"},
-
- /*
- * Note to translators: The element named in the substitution text was
- * encountered in the stylesheet but is not recognized.
- */
- {ErrorMsg.ELEMENT_PARSE_ERR,
- "\u65e0\u6cd5\u89e3\u6790\u5143\u7d20\u201c{0}\u201d"},
-
- /*
- * Note to translators: "use", "<key>", "node", "node-set", "string"
- * and "number" are keywords in this context and should not be
- * translated. This message indicates that the value of the "use"
- * attribute was not one of the permitted values.
- */
- {ErrorMsg.KEY_USE_ATTR_ERR,
- "<key> \u7684 use \u5c5e\u6027\u5fc5\u987b\u662f node\u3001node-set\u3001string \u6216 number\u3002"},
-
- /*
- * Note to translators: An XML document can specify the version of the
- * XML specification to which it adheres. This message indicates that
- * the version specified for the output document was not valid.
- */
- {ErrorMsg.OUTPUT_VERSION_ERR,
- "\u8f93\u51fa XML \u6587\u6863\u7684\u7248\u672c\u5e94\u5f53\u662f 1.0"},
-
- /*
- * Note to translators: The operator in a comparison operation was
- * not recognized.
- */
- {ErrorMsg.ILLEGAL_RELAT_OP_ERR,
- "\u5173\u7cfb\u8868\u8fbe\u5f0f\u7684\u8fd0\u7b97\u7b26\u672a\u77e5"},
-
- /*
- * Note to translators: An attribute set defines as a set of XML
- * attributes that can be added to an element in the output XML document
- * as a group. This message is reported if the name specified was not
- * used to declare an attribute set. The substitution text is the name
- * that is in error.
- */
- {ErrorMsg.ATTRIBSET_UNDEF_ERR,
- "\u8bd5\u56fe\u4f7f\u7528\u4e0d\u5b58\u5728\u7684\u5c5e\u6027\u96c6\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: The term "attribute value template" is a term
- * defined by XSLT which describes the value of an attribute that is
- * determined by an XPath expression. The message indicates that the
- * expression was syntactically incorrect; the substitution text
- * contains the expression that was in error.
- */
- {ErrorMsg.ATTR_VAL_TEMPLATE_ERR,
- "\u65e0\u6cd5\u89e3\u6790\u5c5e\u6027\u503c\u6a21\u677f\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: ???
- */
- {ErrorMsg.UNKNOWN_SIG_TYPE_ERR,
- "\u7c7b\u201c{0}\u201d\u7684\u7279\u5f81\u7b26\u4e2d\u7684\u6570\u636e\u7c7b\u578b\u672a\u77e5\u3002"},
-
- /*
- * Note to translators: The substitution text refers to data types.
- * The message is displayed if a value in a particular context needs to
- * be converted to type {1}, but that's not possible for a value of
- * type {0}.
- */
- {ErrorMsg.DATA_CONVERSION_ERR,
- "\u65e0\u6cd5\u5c06\u6570\u636e\u7c7b\u578b\u201c{0}\u201d\u8f6c\u6362\u6210\u201c{1}\u201d\u3002"},
-
- /*
- * Note to translators: "Templates" is a Java class name that should
- * not be translated.
- */
- {ErrorMsg.NO_TRANSLET_CLASS_ERR,
- "\u6b64 Templates \u4e0d\u5305\u542b\u6709\u6548\u7684 translet \u7c7b\u5b9a\u4e49\u3002"},
-
- /*
- * Note to translators: "Templates" is a Java class name that should
- * not be translated.
- */
- {ErrorMsg.NO_MAIN_TRANSLET_ERR,
- "\u6b64 Templates \u4e0d\u5305\u542b\u540d\u4e3a\u201c{0}\u201d\u7684\u7c7b\u3002"},
-
- /*
- * Note to translators: The substitution text is the name of a class.
- */
- {ErrorMsg.TRANSLET_CLASS_ERR,
- "\u65e0\u6cd5\u88c5\u5165 translet \u7c7b\u201c{0}\u201d\u3002"},
-
- {ErrorMsg.TRANSLET_OBJECT_ERR,
- "Translet \u7c7b\u5df2\u88c5\u5165\uff0c\u4f46\u65e0\u6cd5\u521b\u5efa translet \u5b9e\u4f8b\u3002"},
-
- /*
- * Note to translators: "ErrorListener" is a Java interface name that
- * should not be translated. The message indicates that the user tried
- * to set an ErrorListener object on object of the class named in the
- * substitution text with "null" Java value.
- */
- {ErrorMsg.ERROR_LISTENER_NULL_ERR,
- "\u8bd5\u56fe\u5c06\u201c{0}\u201d\u7684 ErrorListener \u8bbe\u7f6e\u4e3a\u7a7a"},
-
- /*
- * Note to translators: StreamSource, SAXSource and DOMSource are Java
- * interface names that should not be translated.
- */
- {ErrorMsg.JAXP_UNKNOWN_SOURCE_ERR,
- "XSLTC \u53ea\u652f\u6301 StreamSource\u3001SAXSource \u548c DOMSource"},
-
- /*
- * Note to translators: "Source" is a Java class name that should not
- * be translated. The substitution text is the name of Java method.
- */
- {ErrorMsg.JAXP_NO_SOURCE_ERR,
- "\u4f20\u9012\u7ed9\u201c{0}\u201d\u7684\u6e90\u5bf9\u8c61\u6ca1\u6709\u5185\u5bb9\u3002"},
-
- /*
- * Note to translators: The message indicates that XSLTC failed to
- * compile the stylesheet into a translet (class file).
- */
- {ErrorMsg.JAXP_COMPILE_ERR,
- "\u65e0\u6cd5\u7f16\u8bd1\u6837\u5f0f\u8868"},
-
- /*
- * Note to translators: "TransformerFactory" is a class name. In this
- * context, an attribute is a property or setting of the
- * TransformerFactory object. The substitution text is the name of the
- * unrecognised attribute. The method used to retrieve the attribute is
- * "getAttribute", so it's not clear whether it would be best to
- * translate the term "attribute".
- */
- {ErrorMsg.JAXP_INVALID_ATTR_ERR,
- "TransformerFactory \u65e0\u6cd5\u8bc6\u522b\u5c5e\u6027\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: "setResult()" and "startDocument()" are Java
- * method names that should not be translated.
- */
- {ErrorMsg.JAXP_SET_RESULT_ERR,
- "setResult() \u5fc5\u987b\u5728 startDocument() \u4e4b\u524d\u8c03\u7528\u3002"},
-
- /*
- * Note to translators: "Transformer" is a Java interface name that
- * should not be translated. A Transformer object should contained a
- * reference to a translet object in order to be used for
- * transformations; this message is produced if that requirement is not
- * met.
- */
- {ErrorMsg.JAXP_NO_TRANSLET_ERR,
- "Transformer \u6ca1\u6709\u5c01\u88c5\u7684 translet \u5bf9\u8c61\u3002"},
-
- /*
- * Note to translators: The XML document that results from a
- * transformation needs to be sent to an output handler object; this
- * message is produced if that requirement is not met.
- */
- {ErrorMsg.JAXP_NO_HANDLER_ERR,
- "\u6ca1\u6709\u4e3a\u8f6c\u6362\u7ed3\u679c\u5b9a\u4e49\u8f93\u51fa\u5904\u7406\u5668\u3002"},
-
- /*
- * Note to translators: "Result" is a Java interface name in this
- * context. The substitution text is a method name.
- */
- {ErrorMsg.JAXP_NO_RESULT_ERR,
- "\u4f20\u9012\u7ed9\u201c{0}\u201d\u7684 Result \u5bf9\u8c61\u65e0\u6548\u3002"},
-
- /*
- * Note to translators: "Transformer" is a Java interface name. The
- * user's program attempted to access an unrecognized property with the
- * name specified in the substitution text. The method used to retrieve
- * the property is "getOutputProperty", so it's not clear whether it
- * would be best to translate the term "property".
- */
- {ErrorMsg.JAXP_UNKNOWN_PROP_ERR,
- "\u8bd5\u56fe\u8bbf\u95ee\u65e0\u6548\u7684 Transformer \u5c5e\u6027\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: SAX2DOM is the name of a Java class that should
- * not be translated. This is an adapter in the sense that it takes a
- * DOM object and converts it to something that uses the SAX API.
- */
- {ErrorMsg.SAX2DOM_ADAPTER_ERR,
- "\u65e0\u6cd5\u521b\u5efa SAX2DOM \u9002\u914d\u5668\uff1a\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: "XSLTCSource.build()" is a Java method name.
- * "systemId" is an XML term that is short for "system identification".
- */
- {ErrorMsg.XSLTC_SOURCE_ERR,
- "\u6ca1\u6709\u8bbe\u7f6e systemId \u5c31\u8c03\u7528\u4e86 XSLTCSource.build()\u3002"},
-
- { ErrorMsg.ER_RESULT_NULL,
- "\u7ed3\u679c\u4e0d\u5e94\u4e3a\u7a7a"},
-
- /*
- * Note to translators: This message indicates that the value argument
- * of setParameter must be a valid Java Object.
- */
- {ErrorMsg.JAXP_INVALID_SET_PARAM_VALUE,
- "\u53c2\u6570 {0} \u7684\u503c\u5fc5\u987b\u4e3a\u6709\u6548\u7684 Java \u5bf9\u8c61"},
-
-
- {ErrorMsg.COMPILE_STDIN_ERR,
- "-i \u9009\u9879\u5fc5\u987b\u4e0e -o \u9009\u9879\u4e00\u8d77\u4f7f\u7528\u3002"},
-
-
- /*
- * Note to translators: This message contains usage information for a
- * 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.
- */
- {ErrorMsg.COMPILE_USAGE_STR,
- "SYNOPSIS\n java org.apache.xalan.xsltc.cmdline.Compile [-o <output>]\n [-d <directory>] [-j <jarfile>] [-p <package>]\n [-n] [-x] [-u] [-v] [-h] { <stylesheet> | -i }\n\nOPTIONS\n -o <output> \u5c06\u540d\u79f0 <output> \u6307\u5b9a\u7ed9\u751f\u6210\u7684\n translet\u3002\u7f3a\u7701\u60c5\u51b5\u4e0b\uff0ctranslet \u540d\u79f0\n \u6d3e\u751f\u81ea <stylesheet> \u540d\u79f0\u3002\n \u5982\u679c\u7f16\u8bd1\u591a\u4e2a\u6837\u5f0f\u8868\uff0c\u5219\u5ffd\u7565\u6b64\u9009\u9879\u3002\n-d <directory> \u6307\u5b9a translet \u7684\u76ee\u6807\u76ee\u5f55\n -j <jarfile> \u5c06 translet \u7c7b\u6253\u5305\u6210\u547d\u540d\u4e3a <jarfile>\n \u7684 jar \u6587\u4ef6\n -p <package> \u4e3a\u6240\u6709\u751f\u6210\u7684 translet \u7c7b\n \u6307\u5b9a\u8f6f\u4ef6\u5305\u540d\u79f0\u7684\u524d\u7f00\u3002\n -n \u542f\u7528\u6a21\u677f\u5728\u7ebf\uff08\u5e73\u5747\u7f3a\u7701\n \u884c\u4e3a\u66f4\u4f73\uff09\u3002\n -x \u6253\u5f00\u989d\u5916\u8c03\u8bd5\u6d88\u606f\u8f93\u51fa\n -u \u5c06 <stylesheet> \u81ea\u53d8\u91cf\u89e3\u91ca\u4e3a URL\n -i \u5f3a\u5236\u7f16\u8bd1\u5668\u4ece stdin \u8bfb\u5165\u6837\u5f0f\u8868\n -v \u6253\u5370\u7f16\u8bd1\u5668\u7684\u7248\u672c\n -h \u6253\u5370\u6b64\u7528\u6cd5\u8bed\u53e5\n"},
-
- /*
- * Note to translators: This message contains usage information for a
- * 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.
- */
- {ErrorMsg.TRANSFORM_USAGE_STR,
- "SYNOPSIS \n java org.apache.xalan.xsltc.cmdline.Transform [-j <jarfile>]\n [-x] [-n <iterations>] {-u <document_url> | <document>}\n <class> [<param1>=<value1> ...]\n\n \u4f7f\u7528 translet <class> \u6765\u8f6c\u6362\u6307\u5b9a\u4e3a <document>\n \u7684 XML \u6587\u6863\u3002translet <class> \u8981\u4e48\u5728\n \u7528\u6237\u7684 CLASSPATH \u4e2d\uff0c\u8981\u4e48\u5728\u4efb\u610f\u6307\u5b9a\u7684 <jarfile> \u4e2d\u3002\nOPTIONS\n -j <jarfile> \u6307\u5b9a\u88c5\u5165 translet \u7684 jarfile\n -x \u6253\u5f00\u989d\u5916\u8c03\u8bd5\u6d88\u606f\u8f93\u51fa\n -n <iterations> \u8fd0\u884c\u8f6c\u6362\u8fc7\u7a0b <iterations> \u6570\u6b21\u5e76\n \u663e\u793a\u6982\u8981\u5206\u6790\u4fe1\u606f\n -u <document_url> \u5c06 XML \u8f93\u5165\u6307\u5b9a\u4e3a URL\n"},
-
-
-
- /*
- * Note to translators: "<xsl:sort>", "<xsl:for-each>" and
- * "<xsl:apply-templates>" are keywords that should not be translated.
- * The message indicates that an xsl:sort element must be a child of
- * one of the other kinds of elements mentioned.
- */
- {ErrorMsg.STRAY_SORT_ERR,
- "<xsl:sort> \u53ea\u80fd\u5728 <xsl:for-each> \u6216 <xsl:apply-templates> \u4e2d\u4f7f\u7528\u3002"},
-
- /*
- * Note to translators: The message indicates that the encoding
- * requested for the output document was on that requires support that
- * is not available from the Java Virtual Machine being used to execute
- * the program.
- */
- {ErrorMsg.UNSUPPORTED_ENCODING,
- "\u6b64 JVM \u4e2d\u4e0d\u652f\u6301\u8f93\u51fa\u7f16\u7801\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: The message indicates that the XPath expression
- * named in the substitution text was not well formed syntactically.
- */
- {ErrorMsg.SYNTAX_ERR,
- "\u201c{0}\u201d\u4e2d\u51fa\u73b0\u8bed\u6cd5\u9519\u8bef\u3002"},
-
- /*
- * Note to translators: The substitution text is the name of a Java
- * class. The term "constructor" here is the Java term. The message is
- * displayed if XSLTC could not find a constructor for the specified
- * class.
- */
- {ErrorMsg.CONSTRUCTOR_NOT_FOUND,
- "\u627e\u4e0d\u5230\u5916\u90e8\u6784\u9020\u51fd\u6570\u201c{0}\u201d\u3002"},
-
- /*
- * Note to translators: "static" is the Java keyword. The substitution
- * text is the name of a function. The first argument of that function
- * is not of the required type.
- */
- {ErrorMsg.NO_JAVA_FUNCT_THIS_REF,
- "\u975e static Java \u51fd\u6570\u201c{0}\u201d\u7684\u7b2c\u4e00\u4e2a\u53c2\u6570\u4e0d\u662f\u6709\u6548\u7684\u5bf9\u8c61\u5f15\u7528\u3002"},
-
- /*
- * Note to translators: An XPath expression was not of the type
- * required in a particular context. The substitution text is the
- * expression that was in error.
- */
- {ErrorMsg.TYPE_CHECK_ERR,
- "\u68c0\u67e5\u8868\u8fbe\u5f0f\u201c{0}\u201d\u7684\u7c7b\u578b\u65f6\u51fa\u9519\u3002"},
-
- /*
- * Note to translators: An XPath expression was not of the type
- * required in a particular context. However, the location of the
- * problematic expression is unknown.
- */
- {ErrorMsg.TYPE_CHECK_UNK_LOC_ERR,
- "\u68c0\u67e5\u672a\u77e5\u4f4d\u7f6e\u7684\u8868\u8fbe\u5f0f\u7c7b\u578b\u65f6\u51fa\u9519\u3002"},
-
- /*
- * Note to translators: The substitution text is the name of a command-
- * line option that was not recognized.
- */
- {ErrorMsg.ILLEGAL_CMDLINE_OPTION_ERR,
- "\u547d\u4ee4\u884c\u9009\u9879\u201c{0}\u201d\u65e0\u6548\u3002"},
-
- /*
- * Note to translators: The substitution text is the name of a command-
- * line option.
- */
- {ErrorMsg.CMDLINE_OPT_MISSING_ARG_ERR,
- "\u547d\u4ee4\u884c\u9009\u9879\u201c{0}\u201d\u7f3a\u5c11\u5fc5\u9700\u7684\u81ea\u53d8\u91cf\u3002"},
-
- /*
- * Note to translators: This message is used to indicate the severity
- * of another message. The substitution text contains two error
- * messages. The spacing before the second substitution text indents
- * it the same amount as the first in English.
- */
- {ErrorMsg.WARNING_PLUS_WRAPPED_MSG,
- "\u8b66\u544a\uff1a\u201c{0}\u201d\n \uff1a{1}"},
-
- /*
- * Note to translators: This message is used to indicate the severity
- * of another message. The substitution text is an error message.
- */
- {ErrorMsg.WARNING_MSG,
- "\u8b66\u544a\uff1a\u201c{0}\u201d"},
-
- /*
- * Note to translators: This message is used to indicate the severity
- * of another message. The substitution text contains two error
- * messages. The spacing before the second substitution text indents
- * it the same amount as the first in English.
- */
- {ErrorMsg.FATAL_ERR_PLUS_WRAPPED_MSG,
- "\u81f4\u547d\u9519\u8bef\uff1a\u201c{0}\u201d\n \uff1a{1}"},
-
- /*
- * Note to translators: This message is used to indicate the severity
- * of another message. The substitution text is an error message.
- */
- {ErrorMsg.FATAL_ERR_MSG,
- "\u81f4\u547d\u9519\u8bef\uff1a\u201c{0}\u201d"},
-
- /*
- * Note to translators: This message is used to indicate the severity
- * of another message. The substitution text contains two error
- * messages. The spacing before the second substitution text indents
- * it the same amount as the first in English.
- */
- {ErrorMsg.ERROR_PLUS_WRAPPED_MSG,
- "\u9519\u8bef\uff1a{0}\u201c\n \uff1a{1}"},
-
- /*
- * Note to translators: This message is used to indicate the severity
- * of another message. The substitution text is an error message.
- */
- {ErrorMsg.ERROR_MSG,
- "\u9519\u8bef\uff1a\u201c{0}\u201d"},
-
- /*
- * Note to translators: The substitution text is the name of a class.
- */
- {ErrorMsg.TRANSFORM_WITH_TRANSLET_STR,
- "\u4f7f\u7528 translet\u201c{0}\u201d\u8f6c\u6362"},
-
- /*
- * Note to translators: The first substitution is the name of a class,
- * while the second substitution is the name of a jar file.
- */
- {ErrorMsg.TRANSFORM_WITH_JAR_STR,
- "\u4f7f\u7528 translet\u201c{0}\u201d\u4ece jar \u6587\u4ef6\u201c{1}\u201d\u8f6c\u6362"},
-
- /*
- * 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.
- */
- {ErrorMsg.COULD_NOT_CREATE_TRANS_FACT,
- "\u65e0\u6cd5\u521b\u5efa TransformerFactory \u7c7b\u201c{0}\u201d\u7684\u5b9e\u4f8b\u3002"},
-
- /*
- * Note to translators: This message is produced when the user
- * specified a name for the translet class that contains characters
- * that are not permitted in a Java class name. The substitution
- * text "{0}" specifies the name the user requested, while "{1}"
- * specifies the name the processor used instead.
- */
- {ErrorMsg.TRANSLET_NAME_JAVA_CONFLICT,
- "\u7531\u4e8e\u540d\u79f0\u201c{0}\u201d\u5305\u542b Java \u7c7b\u540d\u79f0\u4e2d\u4e0d\u5141\u8bb8\u4f7f\u7528\u7684\u5b57\u7b26\uff0c\u56e0\u6b64\u4e0d\u80fd\u5c06\u5b83\u7528\u4f5c translet \u7c7b\u7684\u540d\u79f0\u3002\u4f7f\u7528\u540d\u79f0\u201c{1}\u201d\u6765\u4ee3\u66ff\u3002"},
-
- /*
- * Note to translators: The following message is used as a header.
- * All the error messages are collected together and displayed beneath
- * this message.
- */
- {ErrorMsg.COMPILER_ERROR_KEY,
- "\u7f16\u8bd1\u5668\u9519\u8bef\uff1a"},
-
- /*
- * Note to translators: The following message is used as a header.
- * All the warning messages are collected together and displayed
- * beneath this message.
- */
- {ErrorMsg.COMPILER_WARNING_KEY,
- "\u7f16\u8bd1\u5668\u8b66\u544a\uff1a"},
-
- /*
- * Note to translators: The following message is used as a header.
- * All the error messages that are produced when the stylesheet is
- * applied to an input document are collected together and displayed
- * beneath this message. A 'translet' is the compiled form of a
- * stylesheet (see above).
- */
- {ErrorMsg.RUNTIME_ERROR_KEY,
- "Translet \u9519\u8bef\uff1a"},
-
- /*
- * Note to translators: An attribute whose value is constrained to
- * be a "QName" or a list of "QNames" had a value that was incorrect.
- * 'QName' is an XML syntactic term that must not be translated. The
- * substitution text contains the actual value of the attribute.
- */
- {ErrorMsg.INVALID_QNAME_ERR,
- "\u503c\u5fc5\u987b\u4e3a QName \u6216\u4e3a\u7528\u7a7a\u683c\u5206\u5f00\u7684 QName \u5217\u8868\u7684\u5c5e\u6027\u5177\u6709\u503c\u201c{0}\u201d"},
-
- /*
- * Note to translators: An attribute whose value is required to
- * be an "NCName".
- * 'NCName' is an XML syntactic term that must not be translated. The
- * substitution text contains the actual value of the attribute.
- */
- {ErrorMsg.INVALID_NCNAME_ERR,
- "\u503c\u5fc5\u987b\u4e3a NCName \u7684\u5c5e\u6027\u5177\u6709\u503c\u201c{0}\u201d"},
-
- /*
- * Note to translators: An attribute with an incorrect value was
- * encountered. The permitted value is one of the literal values
- * "xml", "html" or "text"; it is also permitted to have the form of
- * a QName that is not also an NCName. The terms "method",
- * "xsl:output", "xml", "html" and "text" are keywords that must not
- * be translated. The term "qname-but-not-ncname" is an XML syntactic
- * term. The substitution text contains the actual value of the
- * attribute.
- */
- {ErrorMsg.INVALID_METHOD_IN_OUTPUT,
- "<xsl:output> \u5143\u7d20\u7684 method \u5c5e\u6027\u5177\u6709\u503c\u201c{0}\u201d\u3002\u6b64\u503c\u5fc5\u987b\u4e3a\u201cxml\u201d\u3001\u201chtml\u201d\u3001\u201ctext\u201d \u6216 qname-but-not-ncname \u4e2d\u7684\u4e00\u4e2a"},
-
- {ErrorMsg.JAXP_GET_FEATURE_NULL_NAME,
- "\u5728 TransformerFactory.getFeature(String name) \u4e2d\u7279\u5f81\u540d\u4e0d\u80fd\u4e3a\u7a7a\u3002"},
-
- {ErrorMsg.JAXP_SET_FEATURE_NULL_NAME,
- "\u5728 TransformerFactory.setFeature(String name, boolean value) \u4e2d\u7279\u5f81\u540d\u4e0d\u80fd\u4e3a\u7a7a\u3002"},
-
- {ErrorMsg.JAXP_UNSUPPORTED_FEATURE,
- "\u65e0\u6cd5\u5bf9\u6b64 TransformerFactory \u8bbe\u7f6e\u7279\u5f81\u201c{0}\u201d\u3002"}
-
- };
- }
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * $Id: ErrorMessages_zh.java 338081 2004-12-15 17:35:58Z jycli $
+ */
+
+package org.apache.xalan.xsltc.compiler.util;
+
+import java.util.ListResourceBundle;
+
+/**
+ * @author Morten Jorgensen
+ */
+public class ErrorMessages_zh extends ListResourceBundle {
+
+/*
+ * XSLTC compile-time error messages.
+ *
+ * General notes to translators and definitions:
+ *
+ * 1) XSLTC is the name of the product. It is an acronym for "XSLT Compiler".
+ * XSLT is an acronym for "XML Stylesheet Language: Transformations".
+ *
+ * 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 axis is a particular "dimension" in a tree representation of an XML
+ * document; the nodes in the tree are divided along different axes.
+ * Traversing the "child" axis, for instance, means that the program
+ * would visit each child of a particular node; traversing the "descendant"
+ * axis means that the program would visit the child nodes of a particular
+ * node, their children, and so on until the leaf nodes of the tree are
+ * reached.
+ *
+ * 5) An iterator is an object that traverses nodes in a tree along a
+ * particular axis, one at a time.
+ *
+ * 6) 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.
+ *
+ * 7) 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.
+ *
+ * 8) DOM is an acronym for Document Object Model. It is a tree
+ * representation of an XML document.
+ *
+ * SAX is an acronym for the Simple API for XML processing. It is an API
+ * used inform an XML processor (in this case XSLTC) of the structure and
+ * content of an XML document.
+ *
+ * Input to the stylesheet processor can come from an XML parser in the
+ * form of a DOM tree or through the SAX API.
+ *
+ * 9) DTD is a document type declaration. It is a way of specifying the
+ * grammar for an XML file, the names and types of elements, attributes,
+ * etc.
+ *
+ * 10) 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.
+ *
+ * 11) Translet is an invented term that refers to the class file that contains
+ * the compiled form of a stylesheet.
+ */
+
+ // These message should be read from a locale-specific resource bundle
+ /** Get the lookup table for error messages.
+ *
+ * @return The message lookup table.
+ */
+ public Object[][] getContents()
+ {
+ return new Object[][] {
+ {ErrorMsg.MULTIPLE_STYLESHEET_ERR,
+ "\u540c\u4e00\u6587\u4ef6\u4e2d\u5b9a\u4e49\u4e86\u591a\u4e2a\u6837\u5f0f\u8868\u3002"},
+
+ /*
+ * Note to translators: The substitution text is the name of a
+ * template. The same name was used on two different templates in the
+ * same stylesheet.
+ */
+ {ErrorMsg.TEMPLATE_REDEF_ERR,
+ "\u6b64\u6837\u5f0f\u8868\u4e2d\u5df2\u7ecf\u5b9a\u4e49\u4e86\u6a21\u677f\u201c{0}\u201d\u3002"},
+
+
+ /*
+ * Note to translators: The substitution text is the name of a
+ * template. A reference to the template name was encountered, but the
+ * template is undefined.
+ */
+ {ErrorMsg.TEMPLATE_UNDEF_ERR,
+ "\u6b64\u6837\u5f0f\u8868\u4e2d\u672a\u5b9a\u4e49\u6a21\u677f\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: The substitution text is the name of a variable
+ * that was defined more than once.
+ */
+ {ErrorMsg.VARIABLE_REDEF_ERR,
+ "\u540c\u4e00\u4f5c\u7528\u57df\u4e2d\u591a\u6b21\u5b9a\u4e49\u4e86\u53d8\u91cf\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: The substitution text is the name of a variable
+ * or parameter. A reference to the variable or parameter was found,
+ * but it was never defined.
+ */
+ {ErrorMsg.VARIABLE_UNDEF_ERR,
+ "\u672a\u5b9a\u4e49\u53d8\u91cf\u6216\u53c2\u6570\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: The word "class" here refers to a Java class.
+ * Processing the stylesheet required a class to be loaded, but it could
+ * not be found. The substitution text is the name of the class.
+ */
+ {ErrorMsg.CLASS_NOT_FOUND_ERR,
+ "\u627e\u4e0d\u5230\u7c7b\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: The word "method" here refers to a Java method.
+ * Processing the stylesheet required a reference to the method named by
+ * the substitution text, but it could not be found. "public" is the
+ * Java keyword.
+ */
+ {ErrorMsg.METHOD_NOT_FOUND_ERR,
+ "\u627e\u4e0d\u5230\u5916\u90e8\u65b9\u6cd5\u201c{0}\u201d\uff08\u5fc5\u987b\u662f public\uff09\u3002"},
+
+ /*
+ * Note to translators: The word "method" here refers to a Java method.
+ * Processing the stylesheet required a reference to the method named by
+ * the substitution text, but no method with the required types of
+ * arguments or return type could be found.
+ */
+ {ErrorMsg.ARGUMENT_CONVERSION_ERR,
+ "\u65e0\u6cd5\u5c06\u8c03\u7528\u4e2d\u7684\u53c2\u6570\uff0f\u8fd4\u56de\u7c7b\u578b\u8f6c\u6362\u4e3a\u65b9\u6cd5\u201c{0}\u201d"},
+
+ /*
+ * Note to translators: The file or URI named in the substitution text
+ * is missing.
+ */
+ {ErrorMsg.FILE_NOT_FOUND_ERR,
+ "\u627e\u4e0d\u5230\u6587\u4ef6\u6216 URI\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: This message is displayed when the URI
+ * mentioned in the substitution text is not well-formed syntactically.
+ */
+ {ErrorMsg.INVALID_URI_ERR,
+ "URI\u201c{0}\u201d\u65e0\u6548\u3002"},
+
+ /*
+ * Note to translators: The file or URI named in the substitution text
+ * exists but could not be opened.
+ */
+ {ErrorMsg.FILE_ACCESS_ERR,
+ "\u65e0\u6cd5\u6253\u5f00\u6587\u4ef6\u6216 URI\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: <xsl:stylesheet> and <xsl:transform> are
+ * keywords that should not be translated.
+ */
+ {ErrorMsg.MISSING_ROOT_ERR,
+ "\u9884\u671f\u5b58\u5728 <xsl:stylesheet> \u6216 <xsl:transform> \u5143\u7d20\u3002"},
+
+ /*
+ * Note to translators: The stylesheet contained a reference to a
+ * namespace prefix that was undefined. The value of the substitution
+ * text is the name of the prefix.
+ */
+ {ErrorMsg.NAMESPACE_UNDEF_ERR,
+ "\u672a\u58f0\u660e\u540d\u79f0\u7a7a\u95f4\u524d\u7f00\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: The Java function named in the stylesheet could
+ * not be found.
+ */
+ {ErrorMsg.FUNCTION_RESOLVE_ERR,
+ "\u65e0\u6cd5\u89e3\u6790\u5bf9\u51fd\u6570\u201c{0}\u201d\u7684\u8c03\u7528\u3002"},
+
+ /*
+ * Note to translators: The substitution text is the name of a
+ * function. A literal string here means a constant string value.
+ */
+ {ErrorMsg.NEED_LITERAL_ERR,
+ "\u201c{0}\u201d\u7684\u81ea\u53d8\u91cf\u5fc5\u987b\u662f\u6587\u5b57\u4e32\u3002"},
+
+ /*
+ * Note to translators: This message indicates there was a syntactic
+ * error in the form of an XPath expression. The substitution text is
+ * the expression.
+ */
+ {ErrorMsg.XPATH_PARSER_ERR,
+ "\u89e3\u6790 XPath \u8868\u8fbe\u5f0f\u201c{0}\u201d\u65f6\u51fa\u9519\u3002"},
+
+ /*
+ * Note to translators: An element in the stylesheet requires a
+ * particular attribute named by the substitution text, but that
+ * attribute was not specified in the stylesheet.
+ */
+ {ErrorMsg.REQUIRED_ATTR_ERR,
+ "\u7f3a\u5c11\u5fc5\u9700\u7684\u5c5e\u6027\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: This message indicates that a character not
+ * permitted in an XPath expression was encountered. The substitution
+ * text is the offending character.
+ */
+ {ErrorMsg.ILLEGAL_CHAR_ERR,
+ "XPath \u8868\u8fbe\u5f0f\u4e2d\u7684\u5b57\u7b26\u201c{0}\u201d\u975e\u6cd5\u3002"},
+
+ /*
+ * Note to translators: A processing instruction is a mark-up item in
+ * an XML document that request some behaviour of an XML processor. The
+ * form of the name of was invalid in this case, and the substitution
+ * text is the name.
+ */
+ {ErrorMsg.ILLEGAL_PI_ERR,
+ "\u5904\u7406\u6307\u4ee4\u7684\u540d\u79f0\u201c{0}\u201d\u975e\u6cd5\u3002"},
+
+ /*
+ * Note to translators: This message is reported if the stylesheet
+ * 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.
+ */
+ {ErrorMsg.STRAY_ATTRIBUTE_ERR,
+ "\u5c5e\u6027\u201c{0}\u201d\u5728\u5143\u7d20\u5916\u3002"},
+
+ /*
+ * Note to translators: An attribute that wasn't recognized was
+ * specified on an element in the stylesheet. The attribute is named
+ * by the substitution
+ * text.
+ */
+ {ErrorMsg.ILLEGAL_ATTRIBUTE_ERR,
+ "\u5c5e\u6027\u201c{0}\u201d\u975e\u6cd5\u3002"},
+
+ /*
+ * Note to translators: "import" and "include" are keywords that should
+ * not be translated. This messages indicates that the stylesheet
+ * named in the substitution text imported or included itself either
+ * directly or indirectly.
+ */
+ {ErrorMsg.CIRCULAR_INCLUDE_ERR,
+ "\u5faa\u73af import\uff0finclude\u3002\u5df2\u88c5\u5165\u6837\u5f0f\u8868\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: A result-tree fragment is a portion of a
+ * resulting XML document represented as a tree. "<xsl:sort>" is a
+ * keyword and should not be translated.
+ */
+ {ErrorMsg.RESULT_TREE_SORT_ERR,
+ "\u65e0\u6cd5\u5bf9\u7ed3\u679c\u6811\u7247\u6bb5\u6392\u5e8f\uff08<xsl:sort> \u5143\u7d20\u88ab\u5ffd\u7565\uff09\u3002\u5fc5\u987b\u5728\u521b\u5efa\u7ed3\u679c\u6811\u65f6\u5bf9\u8282\u70b9\u8fdb\u884c\u6392\u5e8f\u3002"},
+
+ /*
+ * Note to translators: A name can be given to a particular style to be
+ * used to format decimal values. The substitution text gives the name
+ * of such a style for which more than one declaration was encountered.
+ */
+ {ErrorMsg.SYMBOLS_REDEF_ERR,
+ "\u5df2\u7ecf\u5b9a\u4e49\u4e86\u5341\u8fdb\u5236\u683c\u5f0f\u7f16\u6392\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: The stylesheet version named in the
+ * substitution text is not supported.
+ */
+ {ErrorMsg.XSL_VERSION_ERR,
+ "XSLTC \u4e0d\u652f\u6301 XSL V{0}\u3002"},
+
+ /*
+ * Note to translators: The definitions of one or more variables or
+ * parameters depend on one another.
+ */
+ {ErrorMsg.CIRCULAR_VARIABLE_ERR,
+ "\u201c{0}\u201d\u4e2d\u7684\u5faa\u73af\u53d8\u91cf\uff0f\u53c2\u6570\u5f15\u7528\u3002"},
+
+ /*
+ * Note to translators: The operator in an expresion with two operands was
+ * not recognized.
+ */
+ {ErrorMsg.ILLEGAL_BINARY_OP_ERR,
+ "\u4e8c\u8fdb\u5236\u8868\u8fbe\u5f0f\u7684\u8fd0\u7b97\u7b26\u672a\u77e5\u3002"},
+
+ /*
+ * Note to translators: This message is produced if a reference to a
+ * function has too many or too few arguments.
+ */
+ {ErrorMsg.ILLEGAL_ARG_ERR,
+ "\u51fd\u6570\u8c03\u7528\u7684\u53c2\u6570\u975e\u6cd5\u3002"},
+
+ /*
+ * Note to translators: "document()" is the name of function and must
+ * not be translated. A node-set is a set of the nodes in the tree
+ * representation of an XML document.
+ */
+ {ErrorMsg.DOCUMENT_ARG_ERR,
+ "\u51fd\u6570 document() \u7684\u7b2c\u4e8c\u4e2a\u53c2\u6570\u5fc5\u987b\u662f\u8282\u70b9\u96c6\u3002"},
+
+ /*
+ * Note to translators: "<xsl:when>" and "<xsl:choose>" are keywords
+ * and should not be translated. This message describes a syntax error
+ * in the stylesheet.
+ */
+ {ErrorMsg.MISSING_WHEN_ERR,
+ "<xsl:choose> \u4e2d\u81f3\u5c11\u8981\u6709\u4e00\u4e2a <xsl:when> \u5143\u7d20\u3002"},
+
+ /*
+ * Note to translators: "<xsl:otherwise>" and "<xsl:choose>" are
+ * keywords and should not be translated. This message describes a
+ * syntax error in the stylesheet.
+ */
+ {ErrorMsg.MULTIPLE_OTHERWISE_ERR,
+ "<xsl:choose> \u4e2d\u53ea\u5141\u8bb8\u6709\u4e00\u4e2a <xsl:otherwise> \u5143\u7d20\u3002"},
+
+ /*
+ * Note to translators: "<xsl:otherwise>" and "<xsl:choose>" are
+ * keywords and should not be translated. This message describes a
+ * syntax error in the stylesheet.
+ */
+ {ErrorMsg.STRAY_OTHERWISE_ERR,
+ "<xsl:otherwise> \u53ea\u80fd\u5728 <xsl:choose> \u4e2d\u4f7f\u7528\u3002"},
+
+ /*
+ * Note to translators: "<xsl:when>" and "<xsl:choose>" are keywords
+ * and should not be translated. This message describes a syntax error
+ * in the stylesheet.
+ */
+ {ErrorMsg.STRAY_WHEN_ERR,
+ "<xsl:when> \u53ea\u80fd\u5728 <xsl:choose> \u4e2d\u4f7f\u7528\u3002"},
+
+ /*
+ * Note to translators: "<xsl:when>", "<xsl:otherwise>" and
+ * "<xsl:choose>" are keywords and should not be translated. This
+ * message describes a syntax error in the stylesheet.
+ */
+ {ErrorMsg.WHEN_ELEMENT_ERR,
+ "<xsl:choose> \u4e2d\u53ea\u5141\u8bb8\u4f7f\u7528 <xsl:when> \u548c <xsl:otherwise>\u3002"},
+
+ /*
+ * Note to translators: "<xsl:attribute-set>" and "name" are keywords
+ * that should not be translated.
+ */
+ {ErrorMsg.UNNAMED_ATTRIBSET_ERR,
+ "<xsl:attribute-set> \u7f3a\u5c11\u201cname\u201d\u5c5e\u6027\u3002"},
+
+ /*
+ * Note to translators: An element in the stylesheet contained an
+ * element of a type that it was not permitted to contain.
+ */
+ {ErrorMsg.ILLEGAL_CHILD_ERR,
+ "\u5b50\u5143\u7d20\u975e\u6cd5\u3002"},
+
+ /*
+ * Note to translators: The stylesheet tried to create an element with
+ * a name that was not a valid XML name. The substitution text contains
+ * the name.
+ */
+ {ErrorMsg.ILLEGAL_ELEM_NAME_ERR,
+ "\u4e0d\u80fd\u8c03\u7528\u5143\u7d20\u201c{0}\u201d"},
+
+ /*
+ * Note to translators: The stylesheet tried to create an attribute
+ * with a name that was not a valid XML name. The substitution text
+ * contains the name.
+ */
+ {ErrorMsg.ILLEGAL_ATTR_NAME_ERR,
+ "\u4e0d\u80fd\u8c03\u7528\u5c5e\u6027\u201c{0}\u201d"},
+
+ /*
+ * Note to translators: The children of the outermost element of a
+ * stylesheet are referred to as top-level elements. No text should
+ * occur within that outermost element unless it is within a top-level
+ * element. This message indicates that that constraint was violated.
+ * "<xsl:stylesheet>" is a keyword that should not be translated.
+ */
+ {ErrorMsg.ILLEGAL_TEXT_NODE_ERR,
+ "\u6587\u672c\u6570\u636e\u5728\u9876\u7ea7 <xsl:stylesheet> \u5143\u7d20\u5916\u3002"},
+
+ /*
+ * Note to translators: JAXP is an acronym for the Java API for XML
+ * Processing. This message indicates that the XML parser provided to
+ * XSLTC to process the XML input document had a configuration problem.
+ */
+ {ErrorMsg.SAX_PARSER_CONFIG_ERR,
+ "JAXP \u89e3\u6790\u5668\u6ca1\u6709\u6b63\u786e\u914d\u7f6e"},
+
+ /*
+ * Note to translators: The substitution text names the internal error
+ * encountered.
+ */
+ {ErrorMsg.INTERNAL_ERR,
+ "\u4e0d\u53ef\u6062\u590d\u7684 XSLTC \u5185\u90e8\u9519\u8bef\uff1a\u201c{0}\u201d"},
+
+ /*
+ * Note to translators: The stylesheet contained an element that was
+ * not recognized as part of the XSL syntax. The substitution text
+ * gives the element name.
+ */
+ {ErrorMsg.UNSUPPORTED_XSL_ERR,
+ "\u4e0d\u53d7\u652f\u6301\u7684 XSL \u5143\u7d20\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: The stylesheet referred to an extension to the
+ * XSL syntax and indicated that it was defined by XSLTC, but XSTLC does
+ * not recognized the particular extension named. The substitution text
+ * gives the extension name.
+ */
+ {ErrorMsg.UNSUPPORTED_EXT_ERR,
+ "\u672a\u88ab\u8bc6\u522b\u7684 XSLTC \u6269\u5c55\u540d\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: The XML document given to XSLTC as a stylesheet
+ * was not, in fact, a stylesheet. XSLTC is able to detect that in this
+ * case because the outermost element in the stylesheet has to be
+ * declared with respect to the XSL namespace URI, but no declaration
+ * for that namespace was seen.
+ */
+ {ErrorMsg.MISSING_XSLT_URI_ERR,
+ "\u8f93\u5165\u6587\u6863\u4e0d\u662f\u6837\u5f0f\u8868\uff08XSL \u540d\u79f0\u7a7a\u95f4\u6ca1\u6709\u5728\u6839\u5143\u7d20\u4e2d\u58f0\u660e\uff09\u3002"},
+
+ /*
+ * Note to translators: XSLTC could not find the stylesheet document
+ * with the name specified by the substitution text.
+ */
+ {ErrorMsg.MISSING_XSLT_TARGET_ERR,
+ "\u627e\u4e0d\u5230\u6837\u5f0f\u8868\u76ee\u6807\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: This message represents an internal error in
+ * condition in XSLTC. The substitution text is the class name in XSLTC
+ * that is missing some functionality.
+ */
+ {ErrorMsg.NOT_IMPLEMENTED_ERR,
+ "\u6ca1\u6709\u5b9e\u73b0\uff1a\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: The XML document given to XSLTC as a stylesheet
+ * was not, in fact, a stylesheet.
+ */
+ {ErrorMsg.NOT_STYLESHEET_ERR,
+ "\u8f93\u5165\u6587\u6863\u4e0d\u5305\u542b XSL \u6837\u5f0f\u8868\u3002"},
+
+ /*
+ * Note to translators: The element named in the substitution text was
+ * encountered in the stylesheet but is not recognized.
+ */
+ {ErrorMsg.ELEMENT_PARSE_ERR,
+ "\u65e0\u6cd5\u89e3\u6790\u5143\u7d20\u201c{0}\u201d"},
+
+ /*
+ * Note to translators: "use", "<key>", "node", "node-set", "string"
+ * and "number" are keywords in this context and should not be
+ * translated. This message indicates that the value of the "use"
+ * attribute was not one of the permitted values.
+ */
+ {ErrorMsg.KEY_USE_ATTR_ERR,
+ "<key> \u7684 use \u5c5e\u6027\u5fc5\u987b\u662f node\u3001node-set\u3001string \u6216 number\u3002"},
+
+ /*
+ * Note to translators: An XML document can specify the version of the
+ * XML specification to which it adheres. This message indicates that
+ * the version specified for the output document was not valid.
+ */
+ {ErrorMsg.OUTPUT_VERSION_ERR,
+ "\u8f93\u51fa XML \u6587\u6863\u7684\u7248\u672c\u5e94\u5f53\u662f 1.0"},
+
+ /*
+ * Note to translators: The operator in a comparison operation was
+ * not recognized.
+ */
+ {ErrorMsg.ILLEGAL_RELAT_OP_ERR,
+ "\u5173\u7cfb\u8868\u8fbe\u5f0f\u7684\u8fd0\u7b97\u7b26\u672a\u77e5"},
+
+ /*
+ * Note to translators: An attribute set defines as a set of XML
+ * attributes that can be added to an element in the output XML document
+ * as a group. This message is reported if the name specified was not
+ * used to declare an attribute set. The substitution text is the name
+ * that is in error.
+ */
+ {ErrorMsg.ATTRIBSET_UNDEF_ERR,
+ "\u8bd5\u56fe\u4f7f\u7528\u4e0d\u5b58\u5728\u7684\u5c5e\u6027\u96c6\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: The term "attribute value template" is a term
+ * defined by XSLT which describes the value of an attribute that is
+ * determined by an XPath expression. The message indicates that the
+ * expression was syntactically incorrect; the substitution text
+ * contains the expression that was in error.
+ */
+ {ErrorMsg.ATTR_VAL_TEMPLATE_ERR,
+ "\u65e0\u6cd5\u89e3\u6790\u5c5e\u6027\u503c\u6a21\u677f\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: ???
+ */
+ {ErrorMsg.UNKNOWN_SIG_TYPE_ERR,
+ "\u7c7b\u201c{0}\u201d\u7684\u7279\u5f81\u7b26\u4e2d\u7684\u6570\u636e\u7c7b\u578b\u672a\u77e5\u3002"},
+
+ /*
+ * Note to translators: The substitution text refers to data types.
+ * The message is displayed if a value in a particular context needs to
+ * be converted to type {1}, but that's not possible for a value of
+ * type {0}.
+ */
+ {ErrorMsg.DATA_CONVERSION_ERR,
+ "\u65e0\u6cd5\u5c06\u6570\u636e\u7c7b\u578b\u201c{0}\u201d\u8f6c\u6362\u6210\u201c{1}\u201d\u3002"},
+
+ /*
+ * Note to translators: "Templates" is a Java class name that should
+ * not be translated.
+ */
+ {ErrorMsg.NO_TRANSLET_CLASS_ERR,
+ "\u6b64 Templates \u4e0d\u5305\u542b\u6709\u6548\u7684 translet \u7c7b\u5b9a\u4e49\u3002"},
+
+ /*
+ * Note to translators: "Templates" is a Java class name that should
+ * not be translated.
+ */
+ {ErrorMsg.NO_MAIN_TRANSLET_ERR,
+ "\u6b64 Templates \u4e0d\u5305\u542b\u540d\u4e3a\u201c{0}\u201d\u7684\u7c7b\u3002"},
+
+ /*
+ * Note to translators: The substitution text is the name of a class.
+ */
+ {ErrorMsg.TRANSLET_CLASS_ERR,
+ "\u65e0\u6cd5\u88c5\u5165 translet \u7c7b\u201c{0}\u201d\u3002"},
+
+ {ErrorMsg.TRANSLET_OBJECT_ERR,
+ "Translet \u7c7b\u5df2\u88c5\u5165\uff0c\u4f46\u65e0\u6cd5\u521b\u5efa translet \u5b9e\u4f8b\u3002"},
+
+ /*
+ * Note to translators: "ErrorListener" is a Java interface name that
+ * should not be translated. The message indicates that the user tried
+ * to set an ErrorListener object on object of the class named in the
+ * substitution text with "null" Java value.
+ */
+ {ErrorMsg.ERROR_LISTENER_NULL_ERR,
+ "\u8bd5\u56fe\u5c06\u201c{0}\u201d\u7684 ErrorListener \u8bbe\u7f6e\u4e3a\u7a7a"},
+
+ /*
+ * Note to translators: StreamSource, SAXSource and DOMSource are Java
+ * interface names that should not be translated.
+ */
+ {ErrorMsg.JAXP_UNKNOWN_SOURCE_ERR,
+ "XSLTC \u53ea\u652f\u6301 StreamSource\u3001SAXSource \u548c DOMSource"},
+
+ /*
+ * Note to translators: "Source" is a Java class name that should not
+ * be translated. The substitution text is the name of Java method.
+ */
+ {ErrorMsg.JAXP_NO_SOURCE_ERR,
+ "\u4f20\u9012\u7ed9\u201c{0}\u201d\u7684\u6e90\u5bf9\u8c61\u6ca1\u6709\u5185\u5bb9\u3002"},
+
+ /*
+ * Note to translators: The message indicates that XSLTC failed to
+ * compile the stylesheet into a translet (class file).
+ */
+ {ErrorMsg.JAXP_COMPILE_ERR,
+ "\u65e0\u6cd5\u7f16\u8bd1\u6837\u5f0f\u8868"},
+
+ /*
+ * Note to translators: "TransformerFactory" is a class name. In this
+ * context, an attribute is a property or setting of the
+ * TransformerFactory object. The substitution text is the name of the
+ * unrecognised attribute. The method used to retrieve the attribute is
+ * "getAttribute", so it's not clear whether it would be best to
+ * translate the term "attribute".
+ */
+ {ErrorMsg.JAXP_INVALID_ATTR_ERR,
+ "TransformerFactory \u65e0\u6cd5\u8bc6\u522b\u5c5e\u6027\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: "setResult()" and "startDocument()" are Java
+ * method names that should not be translated.
+ */
+ {ErrorMsg.JAXP_SET_RESULT_ERR,
+ "setResult() \u5fc5\u987b\u5728 startDocument() \u4e4b\u524d\u8c03\u7528\u3002"},
+
+ /*
+ * Note to translators: "Transformer" is a Java interface name that
+ * should not be translated. A Transformer object should contained a
+ * reference to a translet object in order to be used for
+ * transformations; this message is produced if that requirement is not
+ * met.
+ */
+ {ErrorMsg.JAXP_NO_TRANSLET_ERR,
+ "Transformer \u6ca1\u6709\u5c01\u88c5\u7684 translet \u5bf9\u8c61\u3002"},
+
+ /*
+ * Note to translators: The XML document that results from a
+ * transformation needs to be sent to an output handler object; this
+ * message is produced if that requirement is not met.
+ */
+ {ErrorMsg.JAXP_NO_HANDLER_ERR,
+ "\u6ca1\u6709\u4e3a\u8f6c\u6362\u7ed3\u679c\u5b9a\u4e49\u8f93\u51fa\u5904\u7406\u5668\u3002"},
+
+ /*
+ * Note to translators: "Result" is a Java interface name in this
+ * context. The substitution text is a method name.
+ */
+ {ErrorMsg.JAXP_NO_RESULT_ERR,
+ "\u4f20\u9012\u7ed9\u201c{0}\u201d\u7684 Result \u5bf9\u8c61\u65e0\u6548\u3002"},
+
+ /*
+ * Note to translators: "Transformer" is a Java interface name. The
+ * user's program attempted to access an unrecognized property with the
+ * name specified in the substitution text. The method used to retrieve
+ * the property is "getOutputProperty", so it's not clear whether it
+ * would be best to translate the term "property".
+ */
+ {ErrorMsg.JAXP_UNKNOWN_PROP_ERR,
+ "\u8bd5\u56fe\u8bbf\u95ee\u65e0\u6548\u7684 Transformer \u5c5e\u6027\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: SAX2DOM is the name of a Java class that should
+ * not be translated. This is an adapter in the sense that it takes a
+ * DOM object and converts it to something that uses the SAX API.
+ */
+ {ErrorMsg.SAX2DOM_ADAPTER_ERR,
+ "\u65e0\u6cd5\u521b\u5efa SAX2DOM \u9002\u914d\u5668\uff1a\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: "XSLTCSource.build()" is a Java method name.
+ * "systemId" is an XML term that is short for "system identification".
+ */
+ {ErrorMsg.XSLTC_SOURCE_ERR,
+ "\u6ca1\u6709\u8bbe\u7f6e systemId \u5c31\u8c03\u7528\u4e86 XSLTCSource.build()\u3002"},
+
+ { ErrorMsg.ER_RESULT_NULL,
+ "\u7ed3\u679c\u4e0d\u5e94\u4e3a\u7a7a"},
+
+ /*
+ * Note to translators: This message indicates that the value argument
+ * of setParameter must be a valid Java Object.
+ */
+ {ErrorMsg.JAXP_INVALID_SET_PARAM_VALUE,
+ "\u53c2\u6570 {0} \u7684\u503c\u5fc5\u987b\u4e3a\u6709\u6548\u7684 Java \u5bf9\u8c61"},
+
+
+ {ErrorMsg.COMPILE_STDIN_ERR,
+ "-i \u9009\u9879\u5fc5\u987b\u4e0e -o \u9009\u9879\u4e00\u8d77\u4f7f\u7528\u3002"},
+
+
+ /*
+ * Note to translators: This message contains usage information for a
+ * 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.
+ */
+ {ErrorMsg.COMPILE_USAGE_STR,
+ "SYNOPSIS\n java org.apache.xalan.xsltc.cmdline.Compile [-o <output>]\n [-d <directory>] [-j <jarfile>] [-p <package>]\n [-n] [-x] [-u] [-v] [-h] { <stylesheet> | -i }\n\nOPTIONS\n -o <output> \u5c06\u540d\u79f0 <output> \u6307\u5b9a\u7ed9\u751f\u6210\u7684\n translet\u3002\u7f3a\u7701\u60c5\u51b5\u4e0b\uff0ctranslet \u540d\u79f0\n \u6d3e\u751f\u81ea <stylesheet> \u540d\u79f0\u3002\n \u5982\u679c\u7f16\u8bd1\u591a\u4e2a\u6837\u5f0f\u8868\uff0c\u5219\u5ffd\u7565\u6b64\u9009\u9879\u3002\n-d <directory> \u6307\u5b9a translet \u7684\u76ee\u6807\u76ee\u5f55\n -j <jarfile> \u5c06 translet \u7c7b\u6253\u5305\u6210\u547d\u540d\u4e3a <jarfile>\n \u7684 jar \u6587\u4ef6\n -p <package> \u4e3a\u6240\u6709\u751f\u6210\u7684 translet \u7c7b\n \u6307\u5b9a\u8f6f\u4ef6\u5305\u540d\u79f0\u7684\u524d\u7f00\u3002\n -n \u542f\u7528\u6a21\u677f\u5728\u7ebf\uff08\u5e73\u5747\u7f3a\u7701\n \u884c\u4e3a\u66f4\u4f73\uff09\u3002\n -x \u6253\u5f00\u989d\u5916\u8c03\u8bd5\u6d88\u606f\u8f93\u51fa\n -u \u5c06 <stylesheet> \u81ea\u53d8\u91cf\u89e3\u91ca\u4e3a URL\n -i \u5f3a\u5236\u7f16\u8bd1\u5668\u4ece stdin \u8bfb\u5165\u6837\u5f0f\u8868\n -v \u6253\u5370\u7f16\u8bd1\u5668\u7684\u7248\u672c\n -h \u6253\u5370\u6b64\u7528\u6cd5\u8bed\u53e5\n"},
+
+ /*
+ * Note to translators: This message contains usage information for a
+ * 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.
+ */
+ {ErrorMsg.TRANSFORM_USAGE_STR,
+ "SYNOPSIS \n java org.apache.xalan.xsltc.cmdline.Transform [-j <jarfile>]\n [-x] [-n <iterations>] {-u <document_url> | <document>}\n <class> [<param1>=<value1> ...]\n\n \u4f7f\u7528 translet <class> \u6765\u8f6c\u6362\u6307\u5b9a\u4e3a <document>\n \u7684 XML \u6587\u6863\u3002translet <class> \u8981\u4e48\u5728\n \u7528\u6237\u7684 CLASSPATH \u4e2d\uff0c\u8981\u4e48\u5728\u4efb\u610f\u6307\u5b9a\u7684 <jarfile> \u4e2d\u3002\nOPTIONS\n -j <jarfile> \u6307\u5b9a\u88c5\u5165 translet \u7684 jarfile\n -x \u6253\u5f00\u989d\u5916\u8c03\u8bd5\u6d88\u606f\u8f93\u51fa\n -n <iterations> \u8fd0\u884c\u8f6c\u6362\u8fc7\u7a0b <iterations> \u6570\u6b21\u5e76\n \u663e\u793a\u6982\u8981\u5206\u6790\u4fe1\u606f\n -u <document_url> \u5c06 XML \u8f93\u5165\u6307\u5b9a\u4e3a URL\n"},
+
+
+
+ /*
+ * Note to translators: "<xsl:sort>", "<xsl:for-each>" and
+ * "<xsl:apply-templates>" are keywords that should not be translated.
+ * The message indicates that an xsl:sort element must be a child of
+ * one of the other kinds of elements mentioned.
+ */
+ {ErrorMsg.STRAY_SORT_ERR,
+ "<xsl:sort> \u53ea\u80fd\u5728 <xsl:for-each> \u6216 <xsl:apply-templates> \u4e2d\u4f7f\u7528\u3002"},
+
+ /*
+ * Note to translators: The message indicates that the encoding
+ * requested for the output document was on that requires support that
+ * is not available from the Java Virtual Machine being used to execute
+ * the program.
+ */
+ {ErrorMsg.UNSUPPORTED_ENCODING,
+ "\u6b64 JVM \u4e2d\u4e0d\u652f\u6301\u8f93\u51fa\u7f16\u7801\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: The message indicates that the XPath expression
+ * named in the substitution text was not well formed syntactically.
+ */
+ {ErrorMsg.SYNTAX_ERR,
+ "\u201c{0}\u201d\u4e2d\u51fa\u73b0\u8bed\u6cd5\u9519\u8bef\u3002"},
+
+ /*
+ * Note to translators: The substitution text is the name of a Java
+ * class. The term "constructor" here is the Java term. The message is
+ * displayed if XSLTC could not find a constructor for the specified
+ * class.
+ */
+ {ErrorMsg.CONSTRUCTOR_NOT_FOUND,
+ "\u627e\u4e0d\u5230\u5916\u90e8\u6784\u9020\u51fd\u6570\u201c{0}\u201d\u3002"},
+
+ /*
+ * Note to translators: "static" is the Java keyword. The substitution
+ * text is the name of a function. The first argument of that function
+ * is not of the required type.
+ */
+ {ErrorMsg.NO_JAVA_FUNCT_THIS_REF,
+ "\u975e static Java \u51fd\u6570\u201c{0}\u201d\u7684\u7b2c\u4e00\u4e2a\u53c2\u6570\u4e0d\u662f\u6709\u6548\u7684\u5bf9\u8c61\u5f15\u7528\u3002"},
+
+ /*
+ * Note to translators: An XPath expression was not of the type
+ * required in a particular context. The substitution text is the
+ * expression that was in error.
+ */
+ {ErrorMsg.TYPE_CHECK_ERR,
+ "\u68c0\u67e5\u8868\u8fbe\u5f0f\u201c{0}\u201d\u7684\u7c7b\u578b\u65f6\u51fa\u9519\u3002"},
+
+ /*
+ * Note to translators: An XPath expression was not of the type
+ * required in a particular context. However, the location of the
+ * problematic expression is unknown.
+ */
+ {ErrorMsg.TYPE_CHECK_UNK_LOC_ERR,
+ "\u68c0\u67e5\u672a\u77e5\u4f4d\u7f6e\u7684\u8868\u8fbe\u5f0f\u7c7b\u578b\u65f6\u51fa\u9519\u3002"},
+
+ /*
+ * Note to translators: The substitution text is the name of a command-
+ * line option that was not recognized.
+ */
+ {ErrorMsg.ILLEGAL_CMDLINE_OPTION_ERR,
+ "\u547d\u4ee4\u884c\u9009\u9879\u201c{0}\u201d\u65e0\u6548\u3002"},
+
+ /*
+ * Note to translators: The substitution text is the name of a command-
+ * line option.
+ */
+ {ErrorMsg.CMDLINE_OPT_MISSING_ARG_ERR,
+ "\u547d\u4ee4\u884c\u9009\u9879\u201c{0}\u201d\u7f3a\u5c11\u5fc5\u9700\u7684\u81ea\u53d8\u91cf\u3002"},
+
+ /*
+ * Note to translators: This message is used to indicate the severity
+ * of another message. The substitution text contains two error
+ * messages. The spacing before the second substitution text indents
+ * it the same amount as the first in English.
+ */
+ {ErrorMsg.WARNING_PLUS_WRAPPED_MSG,
+ "\u8b66\u544a\uff1a\u201c{0}\u201d\n \uff1a{1}"},
+
+ /*
+ * Note to translators: This message is used to indicate the severity
+ * of another message. The substitution text is an error message.
+ */
+ {ErrorMsg.WARNING_MSG,
+ "\u8b66\u544a\uff1a\u201c{0}\u201d"},
+
+ /*
+ * Note to translators: This message is used to indicate the severity
+ * of another message. The substitution text contains two error
+ * messages. The spacing before the second substitution text indents
+ * it the same amount as the first in English.
+ */
+ {ErrorMsg.FATAL_ERR_PLUS_WRAPPED_MSG,
+ "\u81f4\u547d\u9519\u8bef\uff1a\u201c{0}\u201d\n \uff1a{1}"},
+
+ /*
+ * Note to translators: This message is used to indicate the severity
+ * of another message. The substitution text is an error message.
+ */
+ {ErrorMsg.FATAL_ERR_MSG,
+ "\u81f4\u547d\u9519\u8bef\uff1a\u201c{0}\u201d"},
+
+ /*
+ * Note to translators: This message is used to indicate the severity
+ * of another message. The substitution text contains two error
+ * messages. The spacing before the second substitution text indents
+ * it the same amount as the first in English.
+ */
+ {ErrorMsg.ERROR_PLUS_WRAPPED_MSG,
+ "\u9519\u8bef\uff1a{0}\u201c\n \uff1a{1}"},
+
+ /*
+ * Note to translators: This message is used to indicate the severity
+ * of another message. The substitution text is an error message.
+ */
+ {ErrorMsg.ERROR_MSG,
+ "\u9519\u8bef\uff1a\u201c{0}\u201d"},
+
+ /*
+ * Note to translators: The substitution text is the name of a class.
+ */
+ {ErrorMsg.TRANSFORM_WITH_TRANSLET_STR,
+ "\u4f7f\u7528 translet\u201c{0}\u201d\u8f6c\u6362"},
+
+ /*
+ * Note to translators: The first substitution is the name of a class,
+ * while the second substitution is the name of a jar file.
+ */
+ {ErrorMsg.TRANSFORM_WITH_JAR_STR,
+ "\u4f7f\u7528 translet\u201c{0}\u201d\u4ece jar \u6587\u4ef6\u201c{1}\u201d\u8f6c\u6362"},
+
+ /*
+ * 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.
+ */
+ {ErrorMsg.COULD_NOT_CREATE_TRANS_FACT,
+ "\u65e0\u6cd5\u521b\u5efa TransformerFactory \u7c7b\u201c{0}\u201d\u7684\u5b9e\u4f8b\u3002"},
+
+ /*
+ * Note to translators: This message is produced when the user
+ * specified a name for the translet class that contains characters
+ * that are not permitted in a Java class name. The substitution
+ * text "{0}" specifies the name the user requested, while "{1}"
+ * specifies the name the processor used instead.
+ */
+ {ErrorMsg.TRANSLET_NAME_JAVA_CONFLICT,
+ "\u7531\u4e8e\u540d\u79f0\u201c{0}\u201d\u5305\u542b Java \u7c7b\u540d\u79f0\u4e2d\u4e0d\u5141\u8bb8\u4f7f\u7528\u7684\u5b57\u7b26\uff0c\u56e0\u6b64\u4e0d\u80fd\u5c06\u5b83\u7528\u4f5c translet \u7c7b\u7684\u540d\u79f0\u3002\u4f7f\u7528\u540d\u79f0\u201c{1}\u201d\u6765\u4ee3\u66ff\u3002"},
+
+ /*
+ * Note to translators: The following message is used as a header.
+ * All the error messages are collected together and displayed beneath
+ * this message.
+ */
+ {ErrorMsg.COMPILER_ERROR_KEY,
+ "\u7f16\u8bd1\u5668\u9519\u8bef\uff1a"},
+
+ /*
+ * Note to translators: The following message is used as a header.
+ * All the warning messages are collected together and displayed
+ * beneath this message.
+ */
+ {ErrorMsg.COMPILER_WARNING_KEY,
+ "\u7f16\u8bd1\u5668\u8b66\u544a\uff1a"},
+
+ /*
+ * Note to translators: The following message is used as a header.
+ * All the error messages that are produced when the stylesheet is
+ * applied to an input document are collected together and displayed
+ * beneath this message. A 'translet' is the compiled form of a
+ * stylesheet (see above).
+ */
+ {ErrorMsg.RUNTIME_ERROR_KEY,
+ "Translet \u9519\u8bef\uff1a"},
+
+ /*
+ * Note to translators: An attribute whose value is constrained to
+ * be a "QName" or a list of "QNames" had a value that was incorrect.
+ * 'QName' is an XML syntactic term that must not be translated. The
+ * substitution text contains the actual value of the attribute.
+ */
+ {ErrorMsg.INVALID_QNAME_ERR,
+ "\u503c\u5fc5\u987b\u4e3a QName \u6216\u4e3a\u7528\u7a7a\u683c\u5206\u5f00\u7684 QName \u5217\u8868\u7684\u5c5e\u6027\u5177\u6709\u503c\u201c{0}\u201d"},
+
+ /*
+ * Note to translators: An attribute whose value is required to
+ * be an "NCName".
+ * 'NCName' is an XML syntactic term that must not be translated. The
+ * substitution text contains the actual value of the attribute.
+ */
+ {ErrorMsg.INVALID_NCNAME_ERR,
+ "\u503c\u5fc5\u987b\u4e3a NCName \u7684\u5c5e\u6027\u5177\u6709\u503c\u201c{0}\u201d"},
+
+ /*
+ * Note to translators: An attribute with an incorrect value was
+ * encountered. The permitted value is one of the literal values
+ * "xml", "html" or "text"; it is also permitted to have the form of
+ * a QName that is not also an NCName. The terms "method",
+ * "xsl:output", "xml", "html" and "text" are keywords that must not
+ * be translated. The term "qname-but-not-ncname" is an XML syntactic
+ * term. The substitution text contains the actual value of the
+ * attribute.
+ */
+ {ErrorMsg.INVALID_METHOD_IN_OUTPUT,
+ "<xsl:output> \u5143\u7d20\u7684 method \u5c5e\u6027\u5177\u6709\u503c\u201c{0}\u201d\u3002\u6b64\u503c\u5fc5\u987b\u4e3a\u201cxml\u201d\u3001\u201chtml\u201d\u3001\u201ctext\u201d \u6216 qname-but-not-ncname \u4e2d\u7684\u4e00\u4e2a"},
+
+ {ErrorMsg.JAXP_GET_FEATURE_NULL_NAME,
+ "\u5728 TransformerFactory.getFeature(String name) \u4e2d\u7279\u5f81\u540d\u4e0d\u80fd\u4e3a\u7a7a\u3002"},
+
+ {ErrorMsg.JAXP_SET_FEATURE_NULL_NAME,
+ "\u5728 TransformerFactory.setFeature(String name, boolean value) \u4e2d\u7279\u5f81\u540d\u4e0d\u80fd\u4e3a\u7a7a\u3002"},
+
+ {ErrorMsg.JAXP_UNSUPPORTED_FEATURE,
+ "\u65e0\u6cd5\u5bf9\u6b64 TransformerFactory \u8bbe\u7f6e\u7279\u5f81\u201c{0}\u201d\u3002"}
+
+ };
+ }
+
+}
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_zh_TW.java b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_zh_TW.java
index e9d61df..3265b36 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_zh_TW.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages_zh_TW.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ErrorMsg.java b/src/org/apache/xalan/xsltc/compiler/util/ErrorMsg.java
index 0513a36..41106fa 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ErrorMsg.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ErrorMsg.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/FilterGenerator.java b/src/org/apache/xalan/xsltc/compiler/util/FilterGenerator.java
index 6191374..6e2a563 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/FilterGenerator.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/FilterGenerator.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/IntType.java b/src/org/apache/xalan/xsltc/compiler/util/IntType.java
index 6259d2e..550ddeb 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/IntType.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/IntType.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/InternalError.java b/src/org/apache/xalan/xsltc/compiler/util/InternalError.java
index bcee646..1544fc9 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/InternalError.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/InternalError.java
@@ -1,34 +1,36 @@
-/*
- * Copyright 2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/*
- * $Id$
- */
-
-package org.apache.xalan.xsltc.compiler.util;
-
-/**
- * Marks a class of errors in which XSLTC has reached some incorrect internal
- * state from which it cannot recover.
- */
-public class InternalError extends Error {
- /**
- * Construct an <code>InternalError</code> with the specified error message.
- * @param msg the error message
- */
- public InternalError(String msg) {
- super(msg);
- }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * $Id$
+ */
+
+package org.apache.xalan.xsltc.compiler.util;
+
+/**
+ * Marks a class of errors in which XSLTC has reached some incorrect internal
+ * state from which it cannot recover.
+ */
+public class InternalError extends Error {
+ /**
+ * Construct an <code>InternalError</code> with the specified error message.
+ * @param msg the error message
+ */
+ public InternalError(String msg) {
+ super(msg);
+ }
+}
diff --git a/src/org/apache/xalan/xsltc/compiler/util/MarkerInstruction.java b/src/org/apache/xalan/xsltc/compiler/util/MarkerInstruction.java
index 7f2c28a..82dd09f 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/MarkerInstruction.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/MarkerInstruction.java
@@ -1,95 +1,97 @@
-/*
- * Copyright 2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/*
- * $Id$
- */
-
-package org.apache.xalan.xsltc.compiler.util;
-
-import java.io.DataOutputStream;
-import java.io.IOException;
-
-import org.apache.bcel.Constants;
-import org.apache.bcel.generic.ConstantPoolGen;
-import org.apache.bcel.generic.Instruction;
-import org.apache.bcel.generic.Visitor;
-
-/**
- * A special abstract dummy subclass of
- * {@link org.apache.bcel.generic.Instruction} used to mark locations of
- * interest in an {@link org.apache.bcel.generic.InstructionList}. It and
- * its subclasses are only used as placeholders, and do not contribute to the
- * actual byte code instruction stream.
- */
-abstract class MarkerInstruction extends Instruction {
- /**
- * Zero-argument constructor. Sets the opcode to an invalid value and
- * sets the length to zero, as it will not be written as part of the
- * generated byte code.
- */
- public MarkerInstruction() {
- super(Constants.UNDEFINED, (short) 0);
- }
-
- /**
- * {@link org.apache.bcel.generic.Visitor}s will know nothing about this
- * kind of {@link org.apche.bcel.generic.Instruction}, so this method does
- * nothing.
- */
- public void accept(Visitor v) {
- }
-
- /**
- * The number of JVM stack entries consumed by the instruction.
- * This instruction is just a place holder, so it does not consume any
- * stack entries.
- * @param cpg The {@link org.apache.bcel.generic.ConstantPoolGen} for the
- * current {@link org.apache.bcel.generic.ClassGen}
- * @return <code>0</code> always
- */
- final public int consumeStack(ConstantPoolGen cpg) {
- return 0;
- }
- /**
- * The number of JVM stack entries produced by the instruction.
- * This instruction is just a place holder, so it does not produce any
- * stack entries.
- * @param cpg The {@link org.apache.bcel.generic.ConstantPoolGen} for the
- * current {@link org.apache.bcel.generic.ClassGen}
- * @return <code>0</code> always
- */
- final public int produceStack(ConstantPoolGen cpg) {
- return 0;
- }
-
- /**
- * Produce a copy of the instruction. By default a
- * {@link MarkerInstruction} has no parameters, so the base implementation
- * of {@link #copy()} returns the instruction itself.
- * @return The instruction itself.
- */
- public Instruction copy() {
- return this;
- }
- /**
- * Dump instruction as byte code to stream out. A {@link MarkerInstruction}
- * has no effect on the generated byte code so it is never emitted to the
- * output stream.
- * @param out Output stream
- */
- final public void dump(DataOutputStream out) throws IOException {
- }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * $Id$
+ */
+
+package org.apache.xalan.xsltc.compiler.util;
+
+import java.io.DataOutputStream;
+import java.io.IOException;
+
+import org.apache.bcel.Constants;
+import org.apache.bcel.generic.ConstantPoolGen;
+import org.apache.bcel.generic.Instruction;
+import org.apache.bcel.generic.Visitor;
+
+/**
+ * A special abstract dummy subclass of
+ * {@link org.apache.bcel.generic.Instruction} used to mark locations of
+ * interest in an {@link org.apache.bcel.generic.InstructionList}. It and
+ * its subclasses are only used as placeholders, and do not contribute to the
+ * actual byte code instruction stream.
+ */
+abstract class MarkerInstruction extends Instruction {
+ /**
+ * Zero-argument constructor. Sets the opcode to an invalid value and
+ * sets the length to zero, as it will not be written as part of the
+ * generated byte code.
+ */
+ public MarkerInstruction() {
+ super(Constants.UNDEFINED, (short) 0);
+ }
+
+ /**
+ * {@link org.apache.bcel.generic.Visitor}s will know nothing about this
+ * kind of {@link org.apche.bcel.generic.Instruction}, so this method does
+ * nothing.
+ */
+ public void accept(Visitor v) {
+ }
+
+ /**
+ * The number of JVM stack entries consumed by the instruction.
+ * This instruction is just a place holder, so it does not consume any
+ * stack entries.
+ * @param cpg The {@link org.apache.bcel.generic.ConstantPoolGen} for the
+ * current {@link org.apache.bcel.generic.ClassGen}
+ * @return <code>0</code> always
+ */
+ final public int consumeStack(ConstantPoolGen cpg) {
+ return 0;
+ }
+ /**
+ * The number of JVM stack entries produced by the instruction.
+ * This instruction is just a place holder, so it does not produce any
+ * stack entries.
+ * @param cpg The {@link org.apache.bcel.generic.ConstantPoolGen} for the
+ * current {@link org.apache.bcel.generic.ClassGen}
+ * @return <code>0</code> always
+ */
+ final public int produceStack(ConstantPoolGen cpg) {
+ return 0;
+ }
+
+ /**
+ * Produce a copy of the instruction. By default a
+ * {@link MarkerInstruction} has no parameters, so the base implementation
+ * of {@link #copy()} returns the instruction itself.
+ * @return The instruction itself.
+ */
+ public Instruction copy() {
+ return this;
+ }
+ /**
+ * Dump instruction as byte code to stream out. A {@link MarkerInstruction}
+ * has no effect on the generated byte code so it is never emitted to the
+ * output stream.
+ * @param out Output stream
+ */
+ final public void dump(DataOutputStream out) throws IOException {
+ }
+}
diff --git a/src/org/apache/xalan/xsltc/compiler/util/MatchGenerator.java b/src/org/apache/xalan/xsltc/compiler/util/MatchGenerator.java
index a8fea1d..aa9740f 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/MatchGenerator.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/MatchGenerator.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/MethodGenerator.java b/src/org/apache/xalan/xsltc/compiler/util/MethodGenerator.java
index 3b01668..7b11184 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/MethodGenerator.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/MethodGenerator.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/MethodType.java b/src/org/apache/xalan/xsltc/compiler/util/MethodType.java
index f626fba..6d44a0b 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/MethodType.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/MethodType.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/MultiHashtable.java b/src/org/apache/xalan/xsltc/compiler/util/MultiHashtable.java
index 3da0b82..5061308 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/MultiHashtable.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/MultiHashtable.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/NamedMethodGenerator.java b/src/org/apache/xalan/xsltc/compiler/util/NamedMethodGenerator.java
index f949f59..47a5f0d 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/NamedMethodGenerator.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/NamedMethodGenerator.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/NodeCounterGenerator.java b/src/org/apache/xalan/xsltc/compiler/util/NodeCounterGenerator.java
index 7d4b1e5..7f6c80b 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/NodeCounterGenerator.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/NodeCounterGenerator.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/NodeSetType.java b/src/org/apache/xalan/xsltc/compiler/util/NodeSetType.java
index 622b666..b19c877 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/NodeSetType.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/NodeSetType.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/NodeSortRecordFactGenerator.java b/src/org/apache/xalan/xsltc/compiler/util/NodeSortRecordFactGenerator.java
index c93a333..01b17ff 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/NodeSortRecordFactGenerator.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/NodeSortRecordFactGenerator.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/NodeSortRecordGenerator.java b/src/org/apache/xalan/xsltc/compiler/util/NodeSortRecordGenerator.java
index eea2af5..7cb6a5c 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/NodeSortRecordGenerator.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/NodeSortRecordGenerator.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/NodeType.java b/src/org/apache/xalan/xsltc/compiler/util/NodeType.java
index cbac06d..c940307 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/NodeType.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/NodeType.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/NumberType.java b/src/org/apache/xalan/xsltc/compiler/util/NumberType.java
index f3d6b6f..c19c513 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/NumberType.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/NumberType.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ObjectFactory.java b/src/org/apache/xalan/xsltc/compiler/util/ObjectFactory.java
index f7a4302..b5deef3 100755
--- a/src/org/apache/xalan/xsltc/compiler/util/ObjectFactory.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ObjectFactory.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ObjectType.java b/src/org/apache/xalan/xsltc/compiler/util/ObjectType.java
index 816b851..e9282f7 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ObjectType.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ObjectType.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/OutlineableChunkEnd.java b/src/org/apache/xalan/xsltc/compiler/util/OutlineableChunkEnd.java
index a92af82..6dc023c 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/OutlineableChunkEnd.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/OutlineableChunkEnd.java
@@ -1,68 +1,70 @@
-/*
- * Copyright 2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/*
- * $Id$
- */
-
-package org.apache.xalan.xsltc.compiler.util;
-
-import org.apache.bcel.generic.Instruction;
-
-/**
- * <p>Marks the end of a region of byte code that can be copied into a new
- * method. See the {@link OutlineableChunkStart} pseudo-instruction for
- * details.</p>
- */
-class OutlineableChunkEnd extends MarkerInstruction {
- /**
- * A constant instance of {@link OutlineableChunkEnd}. As it has no fields,
- * there should be no need to create an instance of this class.
- */
- public static final Instruction OUTLINEABLECHUNKEND =
- new OutlineableChunkEnd();
-
- /**
- * Private default constructor. As it has no fields,
- * there should be no need to create an instance of this class. See
- * {@link OutlineableChunkEnd#OUTLINEABLECHUNKEND}.
- */
- private OutlineableChunkEnd() {
- }
-
- /**
- * Get the name of this instruction. Used for debugging.
- * @return the instruction name
- */
- public String getName() {
- return OutlineableChunkEnd.class.getName();
- }
-
- /**
- * Get the name of this instruction. Used for debugging.
- * @return the instruction name
- */
- public String toString() {
- return getName();
- }
-
- /**
- * Get the name of this instruction. Used for debugging.
- * @return the instruction name
- */
- public String toString(boolean verbose) {
- return getName();
- }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * $Id$
+ */
+
+package org.apache.xalan.xsltc.compiler.util;
+
+import org.apache.bcel.generic.Instruction;
+
+/**
+ * <p>Marks the end of a region of byte code that can be copied into a new
+ * method. See the {@link OutlineableChunkStart} pseudo-instruction for
+ * details.</p>
+ */
+class OutlineableChunkEnd extends MarkerInstruction {
+ /**
+ * A constant instance of {@link OutlineableChunkEnd}. As it has no fields,
+ * there should be no need to create an instance of this class.
+ */
+ public static final Instruction OUTLINEABLECHUNKEND =
+ new OutlineableChunkEnd();
+
+ /**
+ * Private default constructor. As it has no fields,
+ * there should be no need to create an instance of this class. See
+ * {@link OutlineableChunkEnd#OUTLINEABLECHUNKEND}.
+ */
+ private OutlineableChunkEnd() {
+ }
+
+ /**
+ * Get the name of this instruction. Used for debugging.
+ * @return the instruction name
+ */
+ public String getName() {
+ return OutlineableChunkEnd.class.getName();
+ }
+
+ /**
+ * Get the name of this instruction. Used for debugging.
+ * @return the instruction name
+ */
+ public String toString() {
+ return getName();
+ }
+
+ /**
+ * Get the name of this instruction. Used for debugging.
+ * @return the instruction name
+ */
+ public String toString(boolean verbose) {
+ return getName();
+ }
+}
diff --git a/src/org/apache/xalan/xsltc/compiler/util/OutlineableChunkStart.java b/src/org/apache/xalan/xsltc/compiler/util/OutlineableChunkStart.java
index c0dcf3e..01bab2e 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/OutlineableChunkStart.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/OutlineableChunkStart.java
@@ -1,77 +1,79 @@
-/*
- * Copyright 2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/*
- * $Id$
- */
-
-package org.apache.xalan.xsltc.compiler.util;
-
-import org.apache.bcel.generic.Instruction;
-
-/**
- * <p>This pseudo-instruction marks the beginning of a region of byte code that
- * can be copied into a new method, termed an "outlineable" chunk. The size of
- * the Java stack must be the same at the start of the region as it is at the
- * end of the region, any value on the stack at the start of the region must not
- * be consumed by an instruction in the region of code, the region must not
- * contain a return instruction, no branch instruction in the region is
- * permitted to have a target that is outside the region, and no branch
- * instruction outside the region is permitted to have a target that is inside
- * the region.</p>
- * <p>The end of the region is marked by an {@link OutlineableChunkEnd}
- * pseudo-instruction.</p>
- * <p>Such a region of code may contain other outlineable regions.</p>
- */
-class OutlineableChunkStart extends MarkerInstruction {
- /**
- * A constant instance of {@link OutlineableChunkStart}. As it has no fields,
- * there should be no need to create an instance of this class.
- */
- public static final Instruction OUTLINEABLECHUNKSTART =
- new OutlineableChunkStart();
-
- /**
- * Private default constructor. As it has no fields,
- * there should be no need to create an instance of this class. See
- * {@link OutlineableChunkStart#OUTLINEABLECHUNKSTART}.
- */
- private OutlineableChunkStart() {
- }
-
- /**
- * Get the name of this instruction. Used for debugging.
- * @return the instruction name
- */
- public String getName() {
- return OutlineableChunkStart.class.getName();
- }
-
- /**
- * Get the name of this instruction. Used for debugging.
- * @return the instruction name
- */
- public String toString() {
- return getName();
- }
-
- /**
- * Get the name of this instruction. Used for debugging.
- * @return the instruction name
- */
- public String toString(boolean verbose) {
- return getName();
- }
-}
\ No newline at end of file
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/*
+ * $Id$
+ */
+
+package org.apache.xalan.xsltc.compiler.util;
+
+import org.apache.bcel.generic.Instruction;
+
+/**
+ * <p>This pseudo-instruction marks the beginning of a region of byte code that
+ * can be copied into a new method, termed an "outlineable" chunk. The size of
+ * the Java stack must be the same at the start of the region as it is at the
+ * end of the region, any value on the stack at the start of the region must not
+ * be consumed by an instruction in the region of code, the region must not
+ * contain a return instruction, no branch instruction in the region is
+ * permitted to have a target that is outside the region, and no branch
+ * instruction outside the region is permitted to have a target that is inside
+ * the region.</p>
+ * <p>The end of the region is marked by an {@link OutlineableChunkEnd}
+ * pseudo-instruction.</p>
+ * <p>Such a region of code may contain other outlineable regions.</p>
+ */
+class OutlineableChunkStart extends MarkerInstruction {
+ /**
+ * A constant instance of {@link OutlineableChunkStart}. As it has no fields,
+ * there should be no need to create an instance of this class.
+ */
+ public static final Instruction OUTLINEABLECHUNKSTART =
+ new OutlineableChunkStart();
+
+ /**
+ * Private default constructor. As it has no fields,
+ * there should be no need to create an instance of this class. See
+ * {@link OutlineableChunkStart#OUTLINEABLECHUNKSTART}.
+ */
+ private OutlineableChunkStart() {
+ }
+
+ /**
+ * Get the name of this instruction. Used for debugging.
+ * @return the instruction name
+ */
+ public String getName() {
+ return OutlineableChunkStart.class.getName();
+ }
+
+ /**
+ * Get the name of this instruction. Used for debugging.
+ * @return the instruction name
+ */
+ public String toString() {
+ return getName();
+ }
+
+ /**
+ * Get the name of this instruction. Used for debugging.
+ * @return the instruction name
+ */
+ public String toString(boolean verbose) {
+ return getName();
+ }
+}
diff --git a/src/org/apache/xalan/xsltc/compiler/util/RealType.java b/src/org/apache/xalan/xsltc/compiler/util/RealType.java
index b74955e..7a5eb6e 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/RealType.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/RealType.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ReferenceType.java b/src/org/apache/xalan/xsltc/compiler/util/ReferenceType.java
index 3c445d5..e7124ca 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ReferenceType.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ReferenceType.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/ResultTreeType.java b/src/org/apache/xalan/xsltc/compiler/util/ResultTreeType.java
index fbf7358..fade6ec 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/ResultTreeType.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/ResultTreeType.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/RtMethodGenerator.java b/src/org/apache/xalan/xsltc/compiler/util/RtMethodGenerator.java
index e5a9e8b..cdf01dc 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/RtMethodGenerator.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/RtMethodGenerator.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/SecuritySupport.java b/src/org/apache/xalan/xsltc/compiler/util/SecuritySupport.java
index 51493b9..5452b05 100755
--- a/src/org/apache/xalan/xsltc/compiler/util/SecuritySupport.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/SecuritySupport.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2002-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/SecuritySupport12.java b/src/org/apache/xalan/xsltc/compiler/util/SecuritySupport12.java
index 8640af8..78fe6bc 100755
--- a/src/org/apache/xalan/xsltc/compiler/util/SecuritySupport12.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/SecuritySupport12.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2002-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/SlotAllocator.java b/src/org/apache/xalan/xsltc/compiler/util/SlotAllocator.java
index 159e066..c885af9 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/SlotAllocator.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/SlotAllocator.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/StringStack.java b/src/org/apache/xalan/xsltc/compiler/util/StringStack.java
index 2f60745..629e31d 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/StringStack.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/StringStack.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/StringType.java b/src/org/apache/xalan/xsltc/compiler/util/StringType.java
index 97b6a62..08997eb 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/StringType.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/StringType.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/TestGenerator.java b/src/org/apache/xalan/xsltc/compiler/util/TestGenerator.java
index 3895f35..359736b 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/TestGenerator.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/TestGenerator.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/Type.java b/src/org/apache/xalan/xsltc/compiler/util/Type.java
index ec14dff..dbc4b8a 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/Type.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/Type.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/TypeCheckError.java b/src/org/apache/xalan/xsltc/compiler/util/TypeCheckError.java
index 245cc55..d984969 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/TypeCheckError.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/TypeCheckError.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/Util.java b/src/org/apache/xalan/xsltc/compiler/util/Util.java
index 186549d..ad907db 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/Util.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/Util.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
diff --git a/src/org/apache/xalan/xsltc/compiler/util/VoidType.java b/src/org/apache/xalan/xsltc/compiler/util/VoidType.java
index 86e5cba..a4f564f 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/VoidType.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/VoidType.java
@@ -1,7 +1,9 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*