Source Code Cross Referenced for XMLMessages.java in  » Web-Server » Rimfaxe-Web-Server » org » apache » xerces » msg » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Server » Rimfaxe Web Server » org.apache.xerces.msg 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * The Apache Software License, Version 1.1
003:         *
004:         *
005:         * Copyright (c) 1999 The Apache Software Foundation.  All rights 
006:         * reserved.
007:         *
008:         * Redistribution and use in source and binary forms, with or without
009:         * modification, are permitted provided that the following conditions
010:         * are met:
011:         *
012:         * 1. Redistributions of source code must retain the above copyright
013:         *    notice, this list of conditions and the following disclaimer. 
014:         *
015:         * 2. Redistributions in binary form must reproduce the above copyright
016:         *    notice, this list of conditions and the following disclaimer in
017:         *    the documentation and/or other materials provided with the
018:         *    distribution.
019:         *
020:         * 3. The end-user documentation included with the redistribution,
021:         *    if any, must include the following acknowledgment:  
022:         *       "This product includes software developed by the
023:         *        Apache Software Foundation (http://www.apache.org/)."
024:         *    Alternately, this acknowledgment may appear in the software itself,
025:         *    if and wherever such third-party acknowledgments normally appear.
026:         *
027:         * 4. The names "Xerces" and "Apache Software Foundation" must
028:         *    not be used to endorse or promote products derived from this
029:         *    software without prior written permission. For written 
030:         *    permission, please contact apache@apache.org.
031:         *
032:         * 5. Products derived from this software may not be called "Apache",
033:         *    nor may "Apache" appear in their name, without prior written
034:         *    permission of the Apache Software Foundation.
035:         *
036:         * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
037:         * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
038:         * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
039:         * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
040:         * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
041:         * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
042:         * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
043:         * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
044:         * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
045:         * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
046:         * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
047:         * SUCH DAMAGE.
048:         * ====================================================================
049:         *
050:         * This software consists of voluntary contributions made by many
051:         * individuals on behalf of the Apache Software Foundation and was
052:         * originally based on software copyright (c) 1999, International
053:         * Business Machines, Inc., http://www.apache.org.  For more
054:         * information on the Apache Software Foundation, please see
055:         * <http://www.apache.org/>.
056:         */
057:
058:        package org.apache.xerces.msg;
059:
060:        import java.util.ListResourceBundle;
061:
062:        /**
063:         * This file contains error and warning messages related to XML
064:         * The messages are arranged in key and value tuples in a ListResourceBundle.
065:         *
066:         * @version
067:         */
068:        public class XMLMessages extends ListResourceBundle {
069:            /** The list resource bundle contents. */
070:            public static final Object CONTENTS[][] = {
071:                    // Internal message formatter messages
072:                    { "BadMajorCode",
073:                            "The majorCode parameter to createMessage was out of bounds." },
074:                    { "FormatFailed",
075:                            "An internal error occurred while formatting the following message:\n  " },
076:                    // Document messages
077:                    // 2.1 Well-Formed XML Documents
078:                    { "RootElementRequired",
079:                            "The root element is required in a well-formed document." },
080:                    // 2.2 Characters
081:                    { "InvalidCharInCDSect",
082:                            "An invalid XML character (Unicode: 0x{0}) was found in the CDATA section." },
083:                    {
084:                            "InvalidCharInContent",
085:                            "An invalid XML character (Unicode: 0x{0}) was found in the element content of the document." },
086:                    { "TwoColonsInQName",
087:                            "An invalid second ':' was found in the element type or attribute name." },
088:                    {
089:                            "InvalidCharInMisc",
090:                            "An invalid XML character (Unicode: 0x{0}) was found in markup after the end of the element content." },
091:                    {
092:                            "InvalidCharInProlog",
093:                            "An invalid XML character (Unicode: 0x{0}) was found in the prolog of the document." },
094:                    { "InvalidCharInXMLDecl",
095:                            "An invalid XML character (Unicode: 0x{0}) was found in the XML declaration." },
096:                    // 2.4 Character Data and Markup
097:                    {
098:                            "CDEndInContent",
099:                            "The character sequence \"]]>\" must not appear in content unless used to mark the end of a CDATA section." },
100:                    // 2.7 CDATA Sections
101:                    { "CDSectUnterminated",
102:                            "The CDATA section must end with \"]]>\"." },
103:                    // 2.8 Prolog and Document Type Declaration
104:                    { "XMLDeclMustBeFirst",
105:                            "The XML declaration may only appear at the very beginning of the document." },
106:                    { "EqRequiredInXMLDecl",
107:                            "The ''='' character must follow \"{0}\" in the XML declaration." },
108:                    { "QuoteRequiredInXMLDecl",
109:                            "The value following \"{0}\" in the XML declaration must be a quoted string." },
110:                    { "XMLDeclUnterminated",
111:                            "The XML declaration must end with \"?>\"." },
112:                    { "VersionInfoRequired",
113:                            "The version is required in the XML declaration." },
114:                    { "MarkupNotRecognizedInProlog",
115:                            "The markup in the document preceding the root element must be well-formed." },
116:                    { "MarkupNotRecognizedInMisc",
117:                            "The markup in the document following the root element must be well-formed." },
118:                    // 2.9 Standalone Document Declaration
119:                    {
120:                            "SDDeclInvalid",
121:                            "The standalone document declaration value must be \"yes\" or \"no\", not \"{0}\"." },
122:                    // 2.12 Language Identification
123:                    // Deleted see http://www.w3.org/XML/xml-19980210-errata#E73 and bug 2793
124:
125:                    // 3. Logical Structures
126:                    {
127:                            "ETagRequired",
128:                            "The element type \"{0}\" must be terminated by the matching end-tag \"</{0}>\"." },
129:                    // 3.1 Start-Tags, End-Tags, and Empty-Element Tags
130:                    {
131:                            "ElementUnterminated",
132:                            "Element type \"{0}\" must be followed by either attribute specifications, \">\" or \"/>\"." },
133:                    { "EqRequiredInAttribute",
134:                            "Attribute name \"{0}\" must be followed by the ''='' character." },
135:                    { "AttributeNotUnique",
136:                            "Attribute \"{1}\" was already specified for element \"{0}\"." },
137:                    { "ETagUnterminated",
138:                            "The end-tag for element type \"{0}\" must end with a ''>'' delimiter." },
139:                    { "MarkupNotRecognizedInContent",
140:                            "The content of elements must consist of well-formed character data or markup." },
141:                    // 4.1 Character and Entity References
142:                    { "ReferenceUnterminated",
143:                            "The reference must be terminated by a ';' delimiter." },
144:                    // 4.3.2 Well-Formed Parsed Entities
145:                    { "ReferenceNotInOneEntity",
146:                            "The reference must be entirely contained within the same parsed entity." },
147:                    { "ElementEntityMismatch",
148:                            "The element \"{0}\" must start and end within the same entity." },
149:                    // Messages common to Document and DTD
150:                    // 2.2 Characters
151:                    {
152:                            "InvalidCharInAttValue",
153:                            "An invalid XML character (Unicode: 0x{2}) was found in the value of attribute \"{1}\"." },
154:                    { "InvalidCharInComment",
155:                            "An invalid XML character (Unicode: 0x{0}) was found in the comment." },
156:                    {
157:                            "InvalidCharInPI",
158:                            "An invalid XML character (Unicode: 0x{0}) was found in the processing instruction." },
159:                    {
160:                            "InvalidCharInInternalSubset",
161:                            "An invalid XML character (Unicode: 0x{0}) was found in the internal subset of the DTD." },
162:                    { "InvalidCharInTextDecl",
163:                            "An invalid XML character (Unicode: 0x{0}) was found in the text declaration." },
164:                    // 2.3 Common Syntactic Constructs
165:                    {
166:                            "QuoteRequiredInAttValue",
167:                            "The value of attribute \"{1}\" must begin with either a single or double quote character." },
168:                    { "LessthanInAttValue",
169:                            "The value of attribute \"{1}\" must not contain the ''<'' character." },
170:                    { "AttributeValueUnterminated",
171:                            "The value for attribute \"{1}\" must end with the matching quote character." },
172:                    // 2.5 Comments
173:                    { "DashDashInComment",
174:                            "The string \"--\" is not permitted within comments." },
175:                    { "CommentUnterminated",
176:                            "The comment must end with \"-->\"." },
177:                    // 2.6 Processing Instructions
178:                    { "PITargetRequired",
179:                            "The processing instruction must begin with the name of the target." },
180:                    { "SpaceRequiredInPI",
181:                            "White space is required between the processing instruction target and data." },
182:                    { "PIUnterminated",
183:                            "The processing instruction must end with \"?>\"." },
184:                    { "ReservedPITarget",
185:                            "The processing instruction target matching \"[xX][mM][lL]\" is not allowed." },
186:                    // 2.8 Prolog and Document Type Declaration
187:                    { "VersionInfoInvalid", "Invalid version \"{0}\"." },
188:                    { "VersionNotSupported",
189:                            "XML version \"{0}\" is not supported." },
190:                    // 4.1 Character and Entity References
191:                    {
192:                            "DigitRequiredInCharRef",
193:                            "A decimal representation must immediately follow the \"&#\" in a character reference." },
194:                    {
195:                            "HexdigitRequiredInCharRef",
196:                            "A hexadecimal representation must immediately follow the \"&#x\" in a character reference." },
197:                    { "SemicolonRequiredInCharRef",
198:                            "The character reference must end with the ';' delimiter." },
199:                    { "InvalidCharRef",
200:                            "Character reference \"&#{0}\" is an invalid XML character." },
201:                    { "NameRequiredInReference",
202:                            "The entity name must immediately follow the '&' in the entity reference." },
203:                    { "SemicolonRequiredInReference",
204:                            "The reference to entity \"{0}\" must end with the '';'' delimiter." },
205:                    // 4.3.1 The Text Declaration
206:                    {
207:                            "TextDeclMustBeFirst",
208:                            "The text declaration may only appear at the very beginning of the external parsed entity." },
209:                    { "EqRequiredInTextDecl",
210:                            "The ''='' character must follow \"{0}\" in the text declaration." },
211:                    { "QuoteRequiredInTextDecl",
212:                            "The value following \"{0}\" in the text declaration must be a quoted string." },
213:                    { "SpaceRequiredInTextDecl",
214:                            "White space is required between the version and the encoding declaration." },
215:                    { "TextDeclUnterminated",
216:                            "The text declaration must end with \"?>\"." },
217:                    { "EncodingDeclRequired",
218:                            "The encoding declaration is required in the text declaration." },
219:                    // 4.3.2 Well-Formed Parsed Entities
220:                    { "CommentNotInOneEntity",
221:                            "The comment must be entirely contained within the same parsed entity." },
222:                    {
223:                            "PINotInOneEntity",
224:                            "The processing instruction must be entirely contained within the same parsed entity." },
225:                    // 4.3.3 Character Encoding in Entities
226:                    { "EncodingDeclInvalid", "Invalid encoding name \"{0}\"." },
227:                    // DTD Messages
228:                    // 2.2 Characters
229:                    {
230:                            "InvalidCharInEntityValue",
231:                            "An invalid XML character (Unicode: 0x{0}) was found in the literal entity value." },
232:                    {
233:                            "InvalidCharInExternalSubset",
234:                            "An invalid XML character (Unicode: 0x{0}) was found in the external subset of the DTD." },
235:                    {
236:                            "InvalidCharInIgnoreSect",
237:                            "An invalid XML character (Unicode: 0x{0}) was found in the excluded conditional section." },
238:                    { "InvalidCharInPublicID",
239:                            "An invalid XML character (Unicode: 0x{0}) was found in the public identifier." },
240:                    { "InvalidCharInSystemID",
241:                            "An invalid XML character (Unicode: 0x{0}) was found in the system identifier." },
242:                    // 2.3 Common Syntactic Constructs
243:                    {
244:                            "QuoteRequiredInSystemID",
245:                            "The system identifier must begin with either a single or double quote character." },
246:                    { "SystemIDUnterminated",
247:                            "The system identifier must end with the matching quote character." },
248:                    {
249:                            "QuoteRequiredInPublicID",
250:                            "The public identifier must begin with either a single or double quote character." },
251:                    { "PublicIDUnterminated",
252:                            "The public identifier must end with the matching quote character." },
253:                    { "PubidCharIllegal",
254:                            "The character (Unicode: 0x{0}) is not permitted in the public identifier." },
255:                    // 2.8 Prolog and Document Type Declaration
256:                    {
257:                            "MSG_SPACE_REQUIRED_BEFORE_ROOT_ELEMENT_TYPE_IN_DOCTYPEDECL",
258:                            "White space is required after \"<!DOCTYPE\" in the document type declaration." },
259:                    {
260:                            "MSG_ROOT_ELEMENT_TYPE_REQUIRED",
261:                            "The root element type must appear after \"<!DOCTYPE\" in the document type declaration." },
262:                    {
263:                            "DoctypedeclUnterminated",
264:                            "The document type declaration for root element type \"{0}\" must end with ''>''." },
265:                    {
266:                            "PEReferenceWithinMarkup",
267:                            "The parameter entity reference \"%{0};\" cannot occur within markup in the internal subset of the DTD." },
268:                    {
269:                            "MSG_MARKUP_NOT_RECOGNIZED_IN_DTD",
270:                            "The markup declarations contained or pointed to by the document type declaration must be well-formed." },
271:                    // 2.10 White Space Handling
272:                    {
273:                            "MSG_XML_SPACE_DECLARATION_ILLEGAL",
274:                            "The attribute declaration for \"xml:space\" must be given as an enumerated type whose only possible values are \"default\" and \"preserve\"." },
275:                    // 3.2 Element Type Declarations
276:                    { "MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL",
277:                            "White space is required after \"<!ELEMENT\" in the element type declaration." },
278:                    { "MSG_ELEMENT_TYPE_REQUIRED_IN_ELEMENTDECL",
279:                            "The element type is required in the element type declaration." },
280:                    {
281:                            "MSG_SPACE_REQUIRED_BEFORE_CONTENTSPEC_IN_ELEMENTDECL",
282:                            "White space is required after the element type \"{0}\" in the element type declaration." },
283:                    {
284:                            "MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL",
285:                            "The constraint is required after the element type \"{0}\" in the element type declaration." },
286:                    { "ElementDeclUnterminated",
287:                            "The declaration for element type \"{0}\" must end with ''>''." },
288:                    // 3.2.1 Element Content
289:                    {
290:                            "MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN",
291:                            "A ''('' character or an element type is required in the declaration of element type \"{0}\"." },
292:                    { "MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN",
293:                            "A '')'' is required in the declaration of element type \"{0}\"." },
294:                    // 3.2.2 Mixed Content
295:                    { "MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT",
296:                            "An element type is required in the declaration of element type \"{0}\"." },
297:                    { "MSG_CLOSE_PAREN_REQUIRED_IN_MIXED",
298:                            "A '')'' is required in the declaration of element type \"{0}\"." },
299:                    {
300:                            "MixedContentUnterminated",
301:                            "The mixed content model \"{0}\" must end with \")*\" when the types of child elements are constrained." },
302:                    // 3.3 Attribute-List Declarations
303:                    {
304:                            "MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ATTLISTDECL",
305:                            "White space is required after \"<!ATTLIST\" in the attribute-list declaration." },
306:                    { "MSG_ELEMENT_TYPE_REQUIRED_IN_ATTLISTDECL",
307:                            "The element type is required in the attribute-list declaration." },
308:                    {
309:                            "MSG_SPACE_REQUIRED_BEFORE_ATTRIBUTE_NAME_IN_ATTDEF",
310:                            "White space is required before the attribute name in the attribute-list declaration for element \"{0}\"." },
311:                    {
312:                            "AttNameRequiredInAttDef",
313:                            "The attribute name must be specified in the attribute-list declaration for element \"{0}\"." },
314:                    {
315:                            "MSG_SPACE_REQUIRED_BEFORE_ATTTYPE_IN_ATTDEF",
316:                            "White space is required before the attribute type in the declaration of attribute \"{1}\" for element \"{0}\"." },
317:                    {
318:                            "AttTypeRequiredInAttDef",
319:                            "The attribute type is required in the declaration of attribute \"{1}\" for element \"{0}\"." },
320:                    {
321:                            "MSG_SPACE_REQUIRED_BEFORE_DEFAULTDECL_IN_ATTDEF",
322:                            "White space is required before the attribute default in the declaration of attribute \"{1}\" for element \"{0}\"." },
323:                    // 3.3.1 Attribute Types
324:                    {
325:                            "MSG_SPACE_REQUIRED_AFTER_NOTATION_IN_NOTATIONTYPE",
326:                            "White space must appear after \"NOTATION\" in the \"{1}\" attribute declaration." },
327:                    {
328:                            "MSG_OPEN_PAREN_REQUIRED_IN_NOTATIONTYPE",
329:                            "The ''('' character must follow \"NOTATION\" in the \"{1}\" attribute declaration." },
330:                    {
331:                            "MSG_NAME_REQUIRED_IN_NOTATIONTYPE",
332:                            "The notation name is required in the notation type list for the \"{1}\" attribute declaration." },
333:                    {
334:                            "NotationTypeUnterminated",
335:                            "The notation type list must end with '')'' in the \"{1}\" attribute declaration." },
336:                    {
337:                            "MSG_NMTOKEN_REQUIRED_IN_ENUMERATION",
338:                            "The name token is required in the enumerated type list for the \"{1}\" attribute declaration." },
339:                    {
340:                            "EnumerationUnterminated",
341:                            "The enumerated type list must end with '')'' in the \"{1}\" attribute declaration." },
342:                    // 3.3.2 Attribute Defaults
343:                    { "MSG_SPACE_REQUIRED_AFTER_FIXED_IN_DEFAULTDECL",
344:                            "White space must appear after \"FIXED\" in the \"{1}\" attribute declaration." },
345:                    // 3.4 Conditional Sections
346:                    { "IncludeSectUnterminated",
347:                            "The included conditional section must end with \"]]>\"." },
348:                    { "IgnoreSectUnterminated",
349:                            "The excluded conditional section must end with \"]]>\"." },
350:                    // 4.1 Character and Entity References
351:                    {
352:                            "NameRequiredInPEReference",
353:                            "The entity name must immediately follow the '%' in the parameter entity reference." },
354:                    { "SemicolonRequiredInPEReference",
355:                            "The parameter entity reference \"%{0};\" must end with the '';'' delimiter." },
356:                    // 4.2 Entity Declarations
357:                    { "MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_ENTITYDECL",
358:                            "White space is required after \"<!ENTITY\" in the entity declaration." },
359:                    {
360:                            "MSG_SPACE_REQUIRED_BEFORE_PERCENT_IN_PEDECL",
361:                            "White space is required between \"<!ENTITY\" and the '%' character in the parameter entity declaration." },
362:                    {
363:                            "MSG_SPACE_REQUIRED_BEFORE_ENTITY_NAME_IN_PEDECL",
364:                            "White space is required between the '%' and the entity name in the parameter entity declaration." },
365:                    { "MSG_ENTITY_NAME_REQUIRED_IN_ENTITYDECL",
366:                            "The name of the entity is required in the entity declaration." },
367:                    {
368:                            "MSG_SPACE_REQUIRED_AFTER_ENTITY_NAME_IN_ENTITYDECL",
369:                            "White space is required between the entity name \"{0}\" and the definition in the entity declaration." },
370:                    {
371:                            "MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_UNPARSED_ENTITYDECL",
372:                            "White space is required between \"NDATA\" and the notation name in the declaration for the entity \"{0}\"." },
373:                    {
374:                            "MSG_NOTATION_NAME_REQUIRED_FOR_UNPARSED_ENTITYDECL",
375:                            "The notation name is required after \"NDATA\" in the declaration for the entity \"{0}\"." },
376:                    { "EntityDeclUnterminated",
377:                            "The declaration for the entity \"{0}\" must end with ''>''." },
378:                    // 4.2.2 External Entities
379:                    {
380:                            "ExternalIDRequired",
381:                            "The external entity declaration must begin with either \"SYSTEM\" or \"PUBLIC\"." },
382:                    { "MSG_SPACE_REQUIRED_BEFORE_PUBIDLITERAL_IN_EXTERNALID",
383:                            "White space is required between \"PUBLIC\" and the public identifier." },
384:                    {
385:                            "MSG_SPACE_REQUIRED_AFTER_PUBIDLITERAL_IN_EXTERNALID",
386:                            "White space is required between the public identifier and the system identifier." },
387:                    { "MSG_SPACE_REQUIRED_BEFORE_SYSTEMLITERAL_IN_EXTERNALID",
388:                            "White space is required between \"SYSTEM\" and the system identifier." },
389:                    {
390:                            "MSG_URI_FRAGMENT_IN_SYSTEMID",
391:                            "The fragment identifier should not be specified as part of the system identifier \"{0}\"." },
392:                    // 4.7 Notation Declarations
393:                    {
394:                            "MSG_SPACE_REQUIRED_BEFORE_NOTATION_NAME_IN_NOTATIONDECL",
395:                            "White space is required after \"<!NOTATION\" in the notation declaration." },
396:                    { "MSG_NOTATION_NAME_REQUIRED_IN_NOTATIONDECL",
397:                            "The name of the notation is required in the notation declaration." },
398:                    {
399:                            "MSG_SPACE_REQUIRED_AFTER_NOTATION_NAME_IN_NOTATIONDECL",
400:                            "White space is required after the notation name \"{0}\" in the notation declaration." },
401:                    { "NotationDeclUnterminated",
402:                            "The declaration for the notation \"{0}\" must end with ''>''." },
403:                    // Validation messages
404:                    { "DuplicateTypeInMixedContent",
405:                            "The element type \"{0}\" was already specified in this content model." },
406:                    {
407:                            "ENTITIESInvalid",
408:                            "Attribute value \"{1}\" of type ENTITIES must be the names of one or more unparsed entities." },
409:                    {
410:                            "ENTITYInvalid",
411:                            "Attribute value \"{1}\" of type ENTITY must be the name of an unparsed entity." },
412:                    {
413:                            "IDDefaultTypeInvalid",
414:                            "The ID attribute \"{0}\" must have a declared default of \"#IMPLIED\" or \"#REQUIRED\"." },
415:                    { "IDInvalid",
416:                            "Attribute value \"{1}\" of type ID must be a name." },
417:                    { "IDNotUnique",
418:                            "Attribute value \"{1}\" of type ID must be unique within the document." },
419:                    { "IDREFInvalid",
420:                            "Attribute value \"{1}\" of type IDREF must be a name." },
421:                    { "IDREFSInvalid",
422:                            "Attribute value \"{0}\" of type IDREFS must be one or more names." },
423:                    {
424:                            "ImproperDeclarationNesting",
425:                            "The replacement text of parameter entity \"{0}\" must include properly nested declarations." },
426:                    {
427:                            "ImproperGroupNesting",
428:                            "The replacement text of parameter entity \"{0}\" must include properly nested pairs of parentheses." },
429:                    { "MSG_ATTRIBUTE_NOT_DECLARED",
430:                            "Attribute \"{1}\" must be declared for element type \"{0}\"." },
431:                    { "MSG_ATTRIBUTE_VALUE_NOT_IN_LIST",
432:                            "Attribute \"{0}\" with value \"{1}\" must have a value from the list \"{2}\"." },
433:                    {
434:                            "MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE",
435:                            "The value \"{1}\" of attribute \"{0}\" must not be changed by normalization (to \"{2}\") in a standalone document." },
436:                    { "MSG_CONTENT_INCOMPLETE",
437:                            "The content of element type \"{0}\" is incomplete, it must match \"{1}\"." },
438:                    { "MSG_CONTENT_INVALID",
439:                            "The content of element type \"{0}\" must match \"{1}\"." },
440:                    {
441:                            "MSG_DEFAULTED_ATTRIBUTE_NOT_SPECIFIED",
442:                            "Attribute \"{1}\" for element type \"{0}\" has a default value and must be specified in a standalone document." },
443:                    { "MSG_DUPLICATE_ATTDEF",
444:                            "Attribute \"{1}\" is already declared for element type \"{0}\"." },
445:                    { "MSG_ELEMENT_ALREADY_DECLARED",
446:                            "Element type \"{0}\" must not be declared more than once." },
447:                    { "MSG_ELEMENT_NOT_DECLARED",
448:                            "Element type \"{0}\" must be declared." },
449:                    { "MSG_ELEMENT_WITH_ID_REQUIRED",
450:                            "An element with the identifier \"{0}\" must appear in the document." },
451:                    {
452:                            "MSG_EXTERNAL_ENTITY_NOT_PERMITTED",
453:                            "The reference to external entity \"{0}\" is not permitted in a standalone document." },
454:                    { "MSG_FIXED_ATTVALUE_INVALID",
455:                            "Attribute \"{1}\" with value \"{2}\" must have a value of \"{3}\"." },
456:                    {
457:                            "MSG_MORE_THAN_ONE_ID_ATTRIBUTE",
458:                            "Element type \"{0}\" already has attribute \"{1}\" of type ID, a second attribute \"{2}\" of type ID is not permitted." },
459:                    {
460:                            "MSG_MORE_THAN_ONE_NOTATION_ATTRIBUTE",
461:                            "Element type \"{0}\" already has attribute \"{1}\" of type NOTATION, a second attribute \"{2}\" of type NOTATION is not permitted." },
462:                    {
463:                            "MSG_NOTATION_NOT_DECLARED_FOR_NOTATIONTYPE_ATTRIBUTE",
464:                            "The notation \"{2}\" must be declared when referenced in the notation type list for attribute \"{1}\"." },
465:                    {
466:                            "MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL",
467:                            "The notation \"{1}\" must be declared when referenced in the unparsed entity declaration for \"{0}\"." },
468:                    {
469:                            "MSG_REFERENCE_TO_EXTERNALLY_DECLARED_ENTITY_WHEN_STANDALONE",
470:                            "The reference to entity \"{0}\" declared in an external parsed entity is not permitted in a standalone document." },
471:                    { "MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED",
472:                            "Attribute \"{1}\" is required and must be specified for element type \"{0}\"." },
473:                    {
474:                            "MSG_WHITE_SPACE_IN_ELEMENT_CONTENT_WHEN_STANDALONE",
475:                            "White space must not occur between elements declared in an external parsed entity with element content in a standalone document." },
476:                    { "NMTOKENInvalid",
477:                            "Attribute value \"{1}\" of type NMTOKEN must be a name token." },
478:                    { "NMTOKENSInvalid",
479:                            "Attribute value \"{0}\" of type NMTOKENS must be one or more name tokens." },
480:                    { "RootElementTypeMustMatchDoctypedecl",
481:                            "Document root element \"{1}\", must match DOCTYPE root \"{0}\"." },
482:                    {
483:                            "UndeclaredElementInContentSpec",
484:                            "The content model of element \"{0}\" refers to the undeclared element \"{1}\"." },
485:                    // Entity related messages
486:                    // 3.1 Start-Tags, End-Tags, and Empty-Element Tags
487:                    {
488:                            "ReferenceToExternalEntity",
489:                            "The external entity reference \"&{0};\" is not permitted in an attribute value." },
490:                    // 4.1 Character and Entity References
491:                    { "EntityNotDeclared",
492:                            "The entity \"{0}\" was referenced, but not declared." },
493:                    { "ReferenceToUnparsedEntity",
494:                            "The unparsed entity reference \"&{0};\" is not permitted." },
495:                    { "RecursiveReference",
496:                            "Recursive reference \"&{0};\". (Reference path: {1})" },
497:                    { "RecursivePEReference",
498:                            "Recursive reference \"%{0};\". (Reference path: {1})" },
499:                    // 4.3.3 Character Encoding in Entities
500:                    { "EncodingNotSupported",
501:                            "The encoding \"{0}\" is not supported." },
502:                    {
503:                            "EncodingRequired",
504:                            "A parsed entity not encoded in either UTF-8 or UTF-16 must contain an encoding declaration." },
505:                    // Namespaces support
506:                    // 4. Using Qualified Names
507:                    { "PrefixDeclared",
508:                            "The namespace prefix \"{0}\" was not declared." },
509:                    {
510:                            "MSG_ATT_DEFAULT_INVALID",
511:                            "The defaultValue \"{1}\" of attribute \"{0}\" is not legal as for the lexical constraints of this attribute type." },
512:                    { "MSG_GENERIC_SCHEMA_ERROR", "General Schema Error: {0}." },
513:                    {
514:                            "MSG_DTD_SCHEMA_ERROR",
515:                            "Xerces-J parser may not validate an XML document correctly if both XML Schema and DTD are present." },
516:                    { "NamespaceNameEmpty",
517:                            "The namespace name for prefix \"{0}\" is empty." }
518:
519:            };
520:
521:            /** Returns the list resource bundle contents. */
522:            public Object[][] getContents() {
523:                return CONTENTS;
524:            }
525:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.