src/share/jaxws_classes/com/sun/xml/internal/dtdparser/resources/Messages.properties

Thu, 31 Aug 2017 15:18:52 +0800

author
aoqi
date
Thu, 31 Aug 2017 15:18:52 +0800
changeset 637
9c07ef4934dd
parent 397
b99d7e355d4b
parent 0
373ffda63c9a
permissions
-rw-r--r--

merge

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

mercurial