comparison src/share/classes/com/sun/xml/internal/dtdparser/resources/Messages.properties @ 0:0961a4a21176

Initial load
author duke
date Sat, 01 Dec 2007 00:00:00 +0000
parents
children 31822b475baa
comparison
equal deleted inserted replaced
-1:000000000000 0:32b2decabada
1 #
2 # Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. Sun designates this
8 # particular file as subject to the "Classpath" exception as provided
9 # by Sun in the LICENSE file that accompanied this code.
10 #
11 # This code is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
22 # CA 95054 USA or visit www.sun.com if you need additional information or
23 # have any questions.
24 #
25
26 #
27 # English diagnostic messages (and fragments) for Sun's XML parser.
28 #
29 # P-NNN ... parser messages
30 # F-NNN ... message fragments (sometimes associated with more
31 # than one message, but usually just with one)
32 # V-NNN ... validation related messages
33 #
34 # Most messages can be produced in only one way.
35 #
36
37
38 #
39 # Generic parsing messages, not specific to validation
40 #
41 P-000 = No parser input source!
42 P-001 = Illegal character at end of document, &#x{0};
43 P-002 = Expansion of entity "&{0};" is not well formed
44 P-003 = Premature end of input
45 P-004 = Missing whitespace {0}
46 P-005 = Only whitespace allowed {0}
47
48 #
49 # unadorned "missing whitespace", with P-004 only
50 #
51 F-000 = after element name declaration
52 F-001 = between attribute name and type
53 F-002 = after NOTATION type name
54 F-003 = between attribute type and default value
55 F-004 = after #FIXED
56 F-005 = after <!ENTITY declaration
57 F-006 = after % in parameter entity declaration
58 F-007 = after entity name
59 F-008 = before SYSTEM literal URI
60 F-009 = after PUBLIC keyword
61 # F-010 ... identifier can be reused
62 F-011 = after notation name
63 # F-012 ... identifier can be reused
64 # F-013 ... identifier can be reused
65
66 #
67 # in declaration, in "S Name", with P-004 and P-005
68 #
69 F-014 = before name in <!DOCTYPE declaration
70 F-015 = before name in <!ELEMENT declaration
71 F-016 = before name in <!ATTLIST declaration
72 F-017 = before name in <!ENTITY declaration
73 F-018 = before NDATA notation name in <!ENTITY declaration
74 F-019 = before name in <!NOTATION declaration
75
76 P-006 = Name tokens must not start with "{0}" characters
77 P-007 = Value must be quoted
78 P-008 = Next character must be "{0}" {1} {2}
79
80 F-020 = terminating reference to entity
81 F-021 = terminating reference to parameter entity
82 F-022 = terminating comment
83 F-023 = in XML Declaration
84 F-024 = terminating internal DTD subset
85 F-025 = terminating <!DOCTYPE ...> declaration
86 F-026 = after attribute name
87 F-027 = terminating element
88 F-028 = starting content model for element
89 F-029 = starting list of attribute NOTATIONS
90 F-030 = beginning condition DTD subset
91 F-031 = terminating <!ENTITY ...> declaration
92 F-032 = terminating <!NOTATION ...> declaration
93
94 P-009 = Illegal character or entity reference syntax
95
96 P-010 = Only external parameter entities may use "%{0};" in entity values
97 P-011 = Illegal parameter entity reference syntax
98 P-012 = Use "&lt;" for "<" in attribute values
99 P-013 = Illegal reference to external entity "&{0};" in attribute
100 P-014 = Reference to undefined entity "&{0};"
101 P-015 = Expecting quoted value for {0}
102
103 F-033 = PUBLIC identifier
104 F-034 = SYSTEM identifier
105 F-035 = attribute value {0}
106
107 P-016 = Illegal character in PUBLIC identifier: "{0}"
108 P-017 = End of entity while processing comment
109 P-018 = Processing instruction target is missing
110 P-019 = XML declaration may only begin entities
111
112 P-020 = Illegal processing instruction target: "{0}"
113 P-021 = End of input inside processing instruction
114 P-022 = Illegal processing instruction name, or missing whitespace
115 P-023 = Illegal character "&#x{0};" ({1}) at end of XML Declaration
116 P-024 = Expected "{0}=..."
117 P-025 = XML version "{0}" should be declared
118 P-026 = Illegal XML version string "{0}"
119 P-027 = XML version "{0}" is recognized, but not "{1}"
120 P-028 = Internal DTD subset must not have "<![..." constructs
121 P-029 = Standalone declaration must be "yes" or "no", not "{0}"
122
123 P-030 = Whitespace required before attributes
124 P-031 = Attribute names must not start with "{0}" characters
125 P-032 = Attribute "{0}" already appeared in this tag
126 P-033 = Illegal xml:lang value "{0}"
127 P-034 = Expected "</{0}>" to terminate element starting on line {1}
128 P-035 = End of entity not allowed; an end tag is missing
129 P-036 = ">" must terminate <!ELEMENT {0} ...> declaration, not "{1}"
130 P-037 = Sequence content model must not contain "{0}"
131 P-038 = Choice content model must not contain "{0}"
132 P-039 = No content model may contain "{0}"
133
134 P-040 = Need right parenthesis or "{1}" in content model, not "{0}"
135 P-041 = Need right parenthesis, ",", or "|" in content model, not "{0}"
136 P-042 = Illegal mixed content model for "{0}", next char = &#x{1};
137 P-043 = Mixed content model for "{0}" must end with ")*", not "{1}"
138 P-044 = Either an attribute declaration or ">" is expected, not "{0}"
139 P-045 = Illegal type (starts with "{1}") for attribute "{0}"
140 P-046 = Need keyword in conditional DTD section
141 P-047 = Unterminated conditional DTD section
142 P-048 = Only INCLUDE and IGNORE are allowed, not "{0}"
143 P-049 = Illegal decimal character reference
144
145 P-050 = Illegal hexadecimal character reference
146 P-051 = Illegal XML character &#x{0};
147 P-052 = Internal entity "&{0};" has characters after content
148 P-053 = Unparsed entities such as "&{0};" must not be included
149 P-054 = Using original entity definition for "&{0};"
150 P-055 = Relative URI "{0}"; can not be resolved without a document URI
151 P-056 = URI "{0}" has a fragment ID
152 P-057 = Need "?>" to terminate XML declaration
153 P-058 = External entity "&{0};" has characters after content
154 P-059 = External parameter entity "%{0};" has characters after markup
155
156 P-060 = Illegal character "{0}" in encoding name
157 P-061 = Declared encoding "{0}" does not match actual one "{1}"; \
158 this might not be an error
159 P-062 = Notation must be PUBLIC or SYSTEM
160 P-063 = Using first definition of notation "{0}"
161 P-064 = Premature end of parameter entity "%{0};"
162 P-065 = Entity Resolver did not provide SYSTEM id; may affect relative URIs
163 # P-066 ... ID available
164 P-067 = Document root element is missing
165 P-068 = Notation name is required
166 P-069 = Expansion of entity "{0}" is recursive
167
168 P-070 = Malformed second part of surrogate pair: &#x{0};
169 P-071 = Illegal XML character: &#x{0};
170 P-072 = Character data cannot have "]]>"
171 P-073 = EOF while parsing <![CDATA[ section
172 P-074 = Illegal Unicode surrogate pair: &#x{0}; &#x{1};
173 P-075 = Unsupported encoding: "{0}" (line number may be too low)
174 P-076 = Character conversion error: "{0}" (line number may be too low)
175 P-077 = Maximum symbol length ({0} characters) exceeded
176 P-078 = No messages for locale "{0}" are available
177 P-079 = The content beginning "<{1}" is not legal markup \
178 Perhaps the "{1}" (&#{0};) character should be a letter
179
180 P-080 = Parameter entity references must not appear within \
181 markup declarations in the internal DTD subset
182 P-081 = Incomplete Unicode surrogate pair: &#x{0}
183
184 #
185 # Validation messages, won't normally show up unless validation is
186 # being performed. Note that V-022 relates to a spec bug: there
187 # are both a WFC and VC on undefined PEs. If that's a WVC violation
188 # there's no need for the VC, ever; and "standalone" would then affect
189 # WF-ness. For the moment this assumes it's to be a VC not a WFC
190 #
191 V-000 = Validation is disabled
192 V-001 = Valid documents must have a <!DOCTYPE declaration
193 V-002 = This document is standalone, so it must not refer to "&{0};"
194 V-003 = Undeclared notation "{0}" is used by an <!ENTITY...> declaration
195 V-004 = Undeclared notation "{0}" is used by an <!ATTLIST...> declaration
196 V-005 = Element type "{0}" is not declared
197 V-006 = Root element type is "{0}", but was declared to be "{1}"
198 V-007 = Attribute "{0}" is not declared for element "{1}"
199 V-008 = Attribute "{0}" of element "{1}" must only have value "{2}"
200 V-009 = Attribute value for "{0}" is #REQUIRED
201
202 V-010 = This document is standalone, \
203 so attribute "{0}" must not be defaulted
204 V-011 = This document is standalone, \
205 so element "{0}" must not have ignorable whitespace
206 V-012 = Element "{0}" was already declared
207 V-013 = Parameter entities must not contain partial declarations
208 V-014 = Parameter entity nesting error in content model for "{0}"
209 V-015 = Mixed content model repeats element "{0}"
210 V-016 = This element already has an ID attribute, "{0}"
211 V-017 = ID attribute "{0}" must not be #FIXED
212 V-018 = ID attribute "{0}" must not be defaulted
213 V-019 = This document is standalone; this attribute needs to be pre-normalized
214
215 V-020 = Parameter entities must not contain partial conditional DTD sections
216 V-021 = Parameter entities must not contain partial comments
217 V-022 = Reference to undefined parameter entity "%{0};"
218 V-023 = This document is standalone; this ignorable CDATA whitespace is forbidden
219 V-024 = No element has an ID attribute with value "{0}"
220 V-025 = ID values must be XML names; "{0}" is not a name
221 V-026 = Another element already has an ID attribute with value "{0}"
222 V-027 = IDREF/IDREFS values must be XML names; "{0}" is not a name
223 V-028 = NMTOKEN/NMTOKENS values must be XML name tokens; "{0}" is not one
224 V-029 = Value "{0}" is not one of the enumerated values for this attribute
225
226 V-030 = Attribute value "{0}" does not name a notation
227 V-031 = Attribute value "{0}" does not name an unparsed entity
228 V-032 = NMTOKENS attributes must have at least one value
229 V-033 = EMPTY content models must have no content
230 V-034 = Element "{0}" does not allow "{1}" -- {2}
231 V-035 = Element "{0}" allows no further input; "{1}" is not allowed
232 V-036 = Element "{0}" does not allow "{1}" here
233 V-037 = Element "{0}" does not allow text
234 V-038 = Element "{0}" requires additional elements
235 V-039 = IDREFS attributes must have at least one value
236
237 V-040 = ENTITIES attributes must have at least one value
238