KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > apache > xerces > msg > XMLMessages


1 /*
2  * The Apache Software License, Version 1.1
3  *
4  *
5  * Copyright (c) 1999 The Apache Software Foundation. All rights
6  * reserved.
7  *
8  * Redistribution and use in source and binary forms, with or without
9  * modification, are permitted provided that the following conditions
10  * are met:
11  *
12  * 1. Redistributions of source code must retain the above copyright
13  * notice, this list of conditions and the following disclaimer.
14  *
15  * 2. Redistributions in binary form must reproduce the above copyright
16  * notice, this list of conditions and the following disclaimer in
17  * the documentation and/or other materials provided with the
18  * distribution.
19  *
20  * 3. The end-user documentation included with the redistribution,
21  * if any, must include the following acknowledgment:
22  * "This product includes software developed by the
23  * Apache Software Foundation (http://www.apache.org/)."
24  * Alternately, this acknowledgment may appear in the software itself,
25  * if and wherever such third-party acknowledgments normally appear.
26  *
27  * 4. The names "Xerces" and "Apache Software Foundation" must
28  * not be used to endorse or promote products derived from this
29  * software without prior written permission. For written
30  * permission, please contact apache@apache.org.
31  *
32  * 5. Products derived from this software may not be called "Apache",
33  * nor may "Apache" appear in their name, without prior written
34  * permission of the Apache Software Foundation.
35  *
36  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
37  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
38  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
39  * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
40  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
41  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
42  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
43  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
44  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
45  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
46  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
47  * SUCH DAMAGE.
48  * ====================================================================
49  *
50  * This software consists of voluntary contributions made by many
51  * individuals on behalf of the Apache Software Foundation and was
52  * originally based on software copyright (c) 1999, International
53  * Business Machines, Inc., http://www.apache.org. For more
54  * information on the Apache Software Foundation, please see
55  * <http://www.apache.org/>.
56  */

57
58 package org.enhydra.apache.xerces.msg;
59
60 import java.util.ListResourceBundle JavaDoc;
61
62 /**
63  * This file contains error and warning messages related to XML
64  * The messages are arranged in key and value tuples in a ListResourceBundle.
65  *
66  * @version
67  */

68 public class XMLMessages extends ListResourceBundle JavaDoc {
69     /** The list resource bundle contents. */
70     public static final Object JavaDoc CONTENTS[][] = {
71 // Internal message formatter messages
72
{ "BadMajorCode", "The majorCode parameter to createMessage was out of bounds." },
73         { "FormatFailed", "An internal error occurred while formatting the following message:\n " },
74 // Document messages
75
// 2.1 Well-Formed XML Documents
76
{ "RootElementRequired", "The root element is required in a well-formed document." },
77     // 2.2 Characters
78
{ "InvalidCharInCDSect", "An invalid XML character (Unicode: 0x{0}) was found in the CDATA section." },
79         { "InvalidCharInContent", "An invalid XML character (Unicode: 0x{0}) was found in the element content of the document." },
80         { "TwoColonsInQName", "An invalid second ':' was found in the element type or attribute name." },
81         { "InvalidCharInMisc", "An invalid XML character (Unicode: 0x{0}) was found in markup after the end of the element content." },
82         { "InvalidCharInProlog", "An invalid XML character (Unicode: 0x{0}) was found in the prolog of the document." },
83         { "InvalidCharInXMLDecl", "An invalid XML character (Unicode: 0x{0}) was found in the XML declaration." },
84     // 2.4 Character Data and Markup
85
{ "CDEndInContent", "The character sequence \"]]>\" must not appear in content unless used to mark the end of a CDATA section." },
86     // 2.7 CDATA Sections
87
{ "CDSectUnterminated", "The CDATA section must end with \"]]>\"." },
88     // 2.8 Prolog and Document Type Declaration
89
{ "XMLDeclMustBeFirst", "The XML declaration may only appear at the very beginning of the document." },
90         { "EqRequiredInXMLDecl", "The ''='' character must follow \"{0}\" in the XML declaration." },
91         { "QuoteRequiredInXMLDecl", "The value following \"{0}\" in the XML declaration must be a quoted string." },
92         { "XMLDeclUnterminated", "The XML declaration must end with \"?>\"." },
93         { "VersionInfoRequired", "The version is required in the XML declaration." },
94         { "MarkupNotRecognizedInProlog", "The markup in the document preceding the root element must be well-formed." },
95         { "MarkupNotRecognizedInMisc", "The markup in the document following the root element must be well-formed." },
96     // 2.9 Standalone Document Declaration
97
{ "SDDeclInvalid", "The standalone document declaration value must be \"yes\" or \"no\", not \"{0}\"." },
98     // 2.12 Language Identification
99
// Deleted see http://www.w3.org/XML/xml-19980210-errata#E73 and bug 2793
100

101     // 3. Logical Structures
102
{ "ETagRequired", "The element type \"{0}\" must be terminated by the matching end-tag \"</{0}>\"." },
103     // 3.1 Start-Tags, End-Tags, and Empty-Element Tags
104
{ "ElementUnterminated", "Element type \"{0}\" must be followed by either attribute specifications, \">\" or \"/>\"." },
105         { "EqRequiredInAttribute", "Attribute name \"{0}\" must be followed by the ''='' character." },
106         { "AttributeNotUnique", "Attribute \"{1}\" was already specified for element \"{0}\"." },
107         { "ETagUnterminated", "The end-tag for element type \"{0}\" must end with a ''>'' delimiter." },
108         { "MarkupNotRecognizedInContent", "The content of elements must consist of well-formed character data or markup." },
109     // 4.1 Character and Entity References
110
{ "ReferenceUnterminated", "The reference must be terminated by a ';' delimiter." },
111     // 4.3.2 Well-Formed Parsed Entities
112
{ "ReferenceNotInOneEntity", "The reference must be entirely contained within the same parsed entity." },
113         { "ElementEntityMismatch", "The element \"{0}\" must start and end within the same entity." },
114 // Messages common to Document and DTD
115
// 2.2 Characters
116
{ "InvalidCharInAttValue", "An invalid XML character (Unicode: 0x{2}) was found in the value of attribute \"{1}\"." },
117         { "InvalidCharInComment", "An invalid XML character (Unicode: 0x{0}) was found in the comment." },
118         { "InvalidCharInPI", "An invalid XML character (Unicode: 0x{0}) was found in the processing instruction." },
119         { "InvalidCharInInternalSubset", "An invalid XML character (Unicode: 0x{0}) was found in the internal subset of the DTD." },
120         { "InvalidCharInTextDecl", "An invalid XML character (Unicode: 0x{0}) was found in the text declaration." },
121     // 2.3 Common Syntactic Constructs
122
{ "QuoteRequiredInAttValue", "The value of attribute \"{1}\" must begin with either a single or double quote character." },
123         { "LessthanInAttValue", "The value of attribute \"{1}\" must not contain the ''<'' character." },
124         { "AttributeValueUnterminated", "The value for attribute \"{1}\" must end with the matching quote character." },
125     // 2.5 Comments
126
{ "DashDashInComment", "The string \"--\" is not permitted within comments." },
127         { "CommentUnterminated", "The comment must end with \"-->\"." },
128     // 2.6 Processing Instructions
129
{ "PITargetRequired", "The processing instruction must begin with the name of the target." },
130         { "SpaceRequiredInPI", "White space is required between the processing instruction target and data." },
131         { "PIUnterminated", "The processing instruction must end with \"?>\"." },
132         { "ReservedPITarget", "The processing instruction target matching \"[xX][mM][lL]\" is not allowed." },
133     // 2.8 Prolog and Document Type Declaration
134
{ "VersionInfoInvalid", "Invalid version \"{0}\"." },
135         { "VersionNotSupported", "XML version \"{0}\" is not supported." },
136     // 4.1 Character and Entity References
137
{ "DigitRequiredInCharRef", "A decimal representation must immediately follow the \"&#\" in a character reference." },
138         { "HexdigitRequiredInCharRef", "A hexadecimal representation must immediately follow the \"&#x\" in a character reference." },
139         { "SemicolonRequiredInCharRef", "The character reference must end with the ';' delimiter." },
140         { "InvalidCharRef", "Character reference \"&#{0}\" is an invalid XML character." },
141         { "NameRequiredInReference", "The entity name must immediately follow the '&' in the entity reference." },
142         { "SemicolonRequiredInReference", "The reference to entity \"{0}\" must end with the '';'' delimiter." },
143     // 4.3.1 The Text Declaration
144
{ "TextDeclMustBeFirst", "The text declaration may only appear at the very beginning of the external parsed entity." },
145         { "EqRequiredInTextDecl", "The ''='' character must follow \"{0}\" in the text declaration." },
146         { "QuoteRequiredInTextDecl", "The value following \"{0}\" in the text declaration must be a quoted string." },
147         { "SpaceRequiredInTextDecl", "White space is required between the version and the encoding declaration." },
148         { "TextDeclUnterminated", "The text declaration must end with \"?>\"." },
149         { "EncodingDeclRequired", "The encoding declaration is required in the text declaration." },
150     // 4.3.2 Well-Formed Parsed Entities
151
{ "CommentNotInOneEntity", "The comment must be entirely contained within the same parsed entity." },
152         { "PINotInOneEntity", "The processing instruction must be entirely contained within the same parsed entity." },
153     // 4.3.3 Character Encoding in Entities
154
{ "EncodingDeclInvalid", "Invalid encoding name \"{0}\"." },
155 // DTD Messages
156
// 2.2 Characters
157
{ "InvalidCharInEntityValue", "An invalid XML character (Unicode: 0x{0}) was found in the literal entity value." },
158         { "InvalidCharInExternalSubset", "An invalid XML character (Unicode: 0x{0}) was found in the external subset of the DTD." },
159         { "InvalidCharInIgnoreSect", "An invalid XML character (Unicode: 0x{0}) was found in the excluded conditional section." },
160         { "InvalidCharInPublicID", "An invalid XML character (Unicode: 0x{0}) was found in the public identifier." },
161         { "InvalidCharInSystemID", "An invalid XML character (Unicode: 0x{0}) was found in the system identifier." },
162     // 2.3 Common Syntactic Constructs
163
{ "QuoteRequiredInSystemID", "The system identifier must begin with either a single or double quote character." },
164         { "SystemIDUnterminated", "The system identifier must end with the matching quote character." },
165         { "QuoteRequiredInPublicID", "The public identifier must begin with either a single or double quote character." },
166         { "PublicIDUnterminated", "The public identifier must end with the matching quote character." },
167         { "PubidCharIllegal", "The character (Unicode: 0x{0}) is not permitted in the public identifier." },
168     // 2.8 Prolog and Document Type Declaration
169
{ "MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL", "White space is required after \"<!DOCTYPE\" in the document type declaration." },
170         { "MSG_ROOT_ELEMENT_TYPE_REQUIRED", "The root element type must appear after \"<!DOCTYPE\" in the document type declaration." },
171         { "DoctypedeclUnterminated", "The document type declaration for root element type \"{0}\" must end with ''>''." },
172         { "PEReferenceWithinMarkup", "The parameter entity reference \"%{0};\" cannot occur within markup in the internal subset of the DTD." },
173         { "MSG_MARKUP_NOT_RECOGNIZED_IN_DTD", "The markup declarations contained or pointed to by the document type declaration must be well-formed." },
174     // 2.10 White Space Handling
175
{ "MSG_XML_SPACE_DECLARATION_ILLEGAL", "The attribute declaration for \"xml:space\" must be given as an enumerated type whose only possible values are \"default\" and \"preserve\"." },
176     // 3.2 Element Type Declarations
177
{ "MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL", "White space is required after \"<!ELEMENT\" in the element type declaration." },
178         { "MSG_ELEMENT_TYPE_REQUIRED_IN_ELEMENTDECL", "The element type is required in the element type declaration." },
179         { "MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL", "White space is required after the element type \"{0}\" in the element type declaration." },
180         { "MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL", "The constraint is required after the element type \"{0}\" in the element type declaration." },
181         { "ElementDeclUnterminated", "The declaration for element type \"{0}\" must end with ''>''." },
182     // 3.2.1 Element Content
183
{ "MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN", "A ''('' character or an element type is required in the declaration of element type \"{0}\"." },
184         { "MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN", "A '')'' is required in the declaration of element type \"{0}\"." },
185     // 3.2.2 Mixed Content
186
{ "MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT", "An element type is required in the declaration of element type \"{0}\"." },
187         { "MSG_CLOSE_PAREN_REQUIRED_IN_MIXED", "A '')'' is required in the declaration of element type \"{0}\"." },
188         { "MixedContentUnterminated", "The mixed content model \"{0}\" must end with \")*\" when the types of child elements are constrained." },
189     // 3.3 Attribute-List Declarations
190
{ "MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL", "White space is required after \"<!ATTLIST\" in the attribute-list declaration." },
191         { "MSG_ELEMENT_TYPE_REQUIRED_IN_ATTLISTDECL", "The element type is required in the attribute-list declaration." },
192         { "MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF", "White space is required before the attribute name in the attribute-list declaration for element \"{0}\"." },
193         { "AttNameRequiredInAttDef", "The attribute name must be specified in the attribute-list declaration for element \"{0}\"." },
194         { "MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF", "White space is required before the attribute type in the declaration of attribute \"{1}\" for element \"{0}\"." },
195         { "AttTypeRequiredInAttDef", "The attribute type is required in the declaration of attribute \"{1}\" for element \"{0}\"." },
196         { "MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF", "White space is required before the attribute default in the declaration of attribute \"{1}\" for element \"{0}\"." },
197     // 3.3.1 Attribute Types
198
{ "MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE", "White space must appear after \"NOTATION\" in the \"{1}\" attribute declaration." },
199         { "MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE", "The ''('' character must follow \"NOTATION\" in the \"{1}\" attribute declaration." },
200         { "MSG_NAME_REQUIRED_IN_NOTATIONTYPE", "The notation name is required in the notation type list for the \"{1}\" attribute declaration." },
201         { "NotationTypeUnterminated", "The notation type list must end with '')'' in the \"{1}\" attribute declaration." },
202         { "MSG_NMTOKEN_REQUIRED_IN_ENUMERATION", "The name token is required in the enumerated type list for the \"{1}\" attribute declaration." },
203         { "EnumerationUnterminated", "The enumerated type list must end with '')'' in the \"{1}\" attribute declaration." },
204     // 3.3.2 Attribute Defaults
205
{ "MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL", "White space must appear after \"FIXED\" in the \"{1}\" attribute declaration." },
206     // 3.4 Conditional Sections
207
{ "IncludeSectUnterminated", "The included conditional section must end with \"]]>\"." },
208         { "IgnoreSectUnterminated", "The excluded conditional section must end with \"]]>\"." },
209     // 4.1 Character and Entity References
210
{ "NameRequiredInPEReference", "The entity name must immediately follow the '%' in the parameter entity reference." },
211         { "SemicolonRequiredInPEReference", "The parameter entity reference \"%{0};\" must end with the '';'' delimiter." },
212     // 4.2 Entity Declarations
213
{ "MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL", "White space is required after \"<!ENTITY\" in the entity declaration." },
214         { "MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL", "White space is required between \"<!ENTITY\" and the '%' character in the parameter entity declaration." },
215         { "MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_PEDECL", "White space is required between the '%' and the entity name in the parameter entity declaration." },
216         { "MSG_ENTITY_NAME_REQUIRED_IN_ENTITYDECL", "The name of the entity is required in the entity declaration." },
217         { "MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL", "White space is required between the entity name \"{0}\" and the definition in the entity declaration." },
218         { "MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL", "White space is required between \"NDATA\" and the notation name in the declaration for the entity \"{0}\"." },
219         { "MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL", "The notation name is required after \"NDATA\" in the declaration for the entity \"{0}\"." },
220         { "EntityDeclUnterminated", "The declaration for the entity \"{0}\" must end with ''>''." },
221     // 4.2.2 External Entities
222
{ "ExternalIDRequired", "The external entity declaration must begin with either \"SYSTEM\" or \"PUBLIC\"." },
223         { "MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID", "White space is required between \"PUBLIC\" and the public identifier." },
224         { "MSG_SPACE_REQUIRED_AFTER_PUBIDLITERAL_IN_EXTERNALID", "White space is required between the public identifier and the system identifier." },
225         { "MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID", "White space is required between \"SYSTEM\" and the system identifier." },
226         { "MSG_URI_FRAGMENT_IN_SYSTEMID", "The fragment identifier should not be specified as part of the system identifier \"{0}\"." },
227     // 4.7 Notation Declarations
228
{ "MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL", "White space is required after \"<!NOTATION\" in the notation declaration." },
229         { "MSG_NOTATION_NAME_REQUIRED_IN_NOTATIONDECL", "The name of the notation is required in the notation declaration." },
230         { "MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL", "White space is required after the notation name \"{0}\" in the notation declaration." },
231         { "NotationDeclUnterminated", "The declaration for the notation \"{0}\" must end with ''>''." },
232 // Validation messages
233
{ "DuplicateTypeInMixedContent", "The element type \"{0}\" was already specified in this content model." },
234         { "ENTITIESInvalid", "Attribute value \"{1}\" of type ENTITIES must be the names of one or more unparsed entities." },
235         { "ENTITYInvalid", "Attribute value \"{1}\" of type ENTITY must be the name of an unparsed entity." },
236         { "IDDefaultTypeInvalid", "The ID attribute \"{0}\" must have a declared default of \"#IMPLIED\" or \"#REQUIRED\"." },
237         { "IDInvalid", "Attribute value \"{1}\" of type ID must be a name." },
238         { "IDNotUnique", "Attribute value \"{1}\" of type ID must be unique within the document." },
239         { "IDREFInvalid", "Attribute value \"{1}\" of type IDREF must be a name." },
240         { "IDREFSInvalid", "Attribute value \"{0}\" of type IDREFS must be one or more names." },
241         { "ImproperDeclarationNesting", "The replacement text of parameter entity \"{0}\" must include properly nested declarations." },
242         { "ImproperGroupNesting", "The replacement text of parameter entity \"{0}\" must include properly nested pairs of parentheses." },
243         { "MSG_ATTRIBUTE_NOT_DECLARED", "Attribute \"{1}\" must be declared for element type \"{0}\"." },
244         { "MSG_ATTRIBUTE_VALUE_NOT_IN_LIST", "Attribute \"{0}\" with value \"{1}\" must have a value from the list \"{2}\"." },
245         { "MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE", "The value \"{1}\" of attribute \"{0}\" must not be changed by normalization (to \"{2}\") in a standalone document." },
246         { "MSG_CONTENT_INCOMPLETE", "The content of element type \"{0}\" is incomplete, it must match \"{1}\"." },
247         { "MSG_CONTENT_INVALID", "The content of element type \"{0}\" must match \"{1}\"." },
248         { "MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED", "Attribute \"{1}\" for element type \"{0}\" has a default value and must be specified in a standalone document." },
249         { "MSG_DUPLICATE_ATTDEF", "Attribute \"{1}\" is already declared for element type \"{0}\"." },
250         { "MSG_ELEMENT_ALREADY_DECLARED", "Element type \"{0}\" must not be declared more than once." },
251         { "MSG_ELEMENT_NOT_DECLARED", "Element type \"{0}\" must be declared." },
252         { "MSG_ELEMENT_WITH_ID_REQUIRED", "An element with the identifier \"{0}\" must appear in the document." },
253         { "MSG_EXTERNAL_ENTITY_NOT_PERMITTED", "The reference to external entity \"{0}\" is not permitted in a standalone document." },
254         { "MSG_FIXED_ATTVALUE_INVALID", "Attribute \"{1}\" with value \"{2}\" must have a value of \"{3}\"." },
255         { "MSG_MORE_THAN_ONE_ID_ATTRIBUTE", "Element type \"{0}\" already has attribute \"{1}\" of type ID, a second attribute \"{2}\" of type ID is not permitted." },
256         { "MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE", "Element type \"{0}\" already has attribute \"{1}\" of type NOTATION, a second attribute \"{2}\" of type NOTATION is not permitted." },
257         { "MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE", "The notation \"{2}\" must be declared when referenced in the notation type list for attribute \"{1}\"." },
258         { "MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL", "The notation \"{1}\" must be declared when referenced in the unparsed entity declaration for \"{0}\"." },
259         { "MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE", "The reference to entity \"{0}\" declared in an external parsed entity is not permitted in a standalone document." },
260         { "MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED", "Attribute \"{1}\" is required and must be specified for element type \"{0}\"." },
261         { "MSG_WHITE_SPACE_IN_ELEMENT_CONTENT_WHEN_STANDALONE", "White space must not occur between elements declared in an external parsed entity with element content in a standalone document." },
262         { "NMTOKENInvalid", "Attribute value \"{1}\" of type NMTOKEN must be a name token." },
263         { "NMTOKENSInvalid", "Attribute value \"{0}\" of type NMTOKENS must be one or more name tokens." },
264         { "RootElementTypeMustMatchDoctypedecl", "Document root element \"{1}\", must match DOCTYPE root \"{0}\"." },
265         { "UndeclaredElementInContentSpec", "The content model of element \"{0}\" refers to the undeclared element \"{1}\"." },
266 // Entity related messages
267
// 3.1 Start-Tags, End-Tags, and Empty-Element Tags
268
{ "ReferenceToExternalEntity", "The external entity reference \"&{0};\" is not permitted in an attribute value." },
269     // 4.1 Character and Entity References
270
{ "EntityNotDeclared", "The entity \"{0}\" was referenced, but not declared." },
271         { "ReferenceToUnparsedEntity", "The unparsed entity reference \"&{0};\" is not permitted." },
272         { "RecursiveReference", "Recursive reference \"&{0};\". (Reference path: {1})" },
273         { "RecursivePEReference", "Recursive reference \"%{0};\". (Reference path: {1})" },
274     // 4.3.3 Character Encoding in Entities
275
{ "EncodingNotSupported", "The encoding \"{0}\" is not supported." },
276         { "EncodingRequired", "A parsed entity not encoded in either UTF-8 or UTF-16 must contain an encoding declaration." },
277 // Namespaces support
278
// 4. Using Qualified Names
279
{ "PrefixDeclared", "The namespace prefix \"{0}\" was not declared." },
280         { "MSG_ATT_DEFAULT_INVALID", "The defaultValue \"{1}\" of attribute \"{0}\" is not legal as for the lexical constraints of this attribute type." },
281         { "MSG_GENERIC_SCHEMA_ERROR", "General Schema Error: {0}." },
282         { "MSG_DTD_SCHEMA_ERROR", "Xerces-J parser may not validate an XML document correctly if both XML Schema and DTD are present." },
283         { "NamespaceNameEmpty", "The namespace name for prefix \"{0}\" is empty." }
284
285     };
286
287     /** Returns the list resource bundle contents. */
288     public Object JavaDoc[][] getContents() {
289         return CONTENTS;
290     }
291 }
292
Popular Tags