aoqi@0: # aoqi@0: # Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. aoqi@0: # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. aoqi@0: # aoqi@0: # This code is free software; you can redistribute it and/or modify it aoqi@0: # under the terms of the GNU General Public License version 2 only, as aoqi@0: # published by the Free Software Foundation. Oracle designates this aoqi@0: # particular file as subject to the "Classpath" exception as provided aoqi@0: # by Oracle in the LICENSE file that accompanied this code. aoqi@0: # aoqi@0: # This code is distributed in the hope that it will be useful, but WITHOUT aoqi@0: # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or aoqi@0: # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License aoqi@0: # version 2 for more details (a copy is included in the LICENSE file that aoqi@0: # accompanied this code). aoqi@0: # aoqi@0: # You should have received a copy of the GNU General Public License version aoqi@0: # 2 along with this work; if not, write to the Free Software Foundation, aoqi@0: # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. aoqi@0: # aoqi@0: # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA aoqi@0: # or visit www.oracle.com if you need additional information or have any aoqi@0: # questions. aoqi@0: # aoqi@0: aoqi@0: ID_MUST_BE_STRING = \ aoqi@0: Property "{0}" has an XmlID annotation but its type is not String. aoqi@0: aoqi@0: # {0} - field or field accessor (getter/setter) e.g.: foo.Bar#field has mutually exclusive annotations @javax.xml.bind.annotation.XmlAttribute and @javax.xml.bind.annotation.XmlElement OR foo.Bar#getField() has mutually exclusive annotations @javax.xml.bind.annotation.XmlAttribute and @javax.xml.bind.annotation.XmlElement aoqi@0: MUTUALLY_EXCLUSIVE_ANNOTATIONS = \ aoqi@0: {0} has mutually exclusive annotations @{1} and @{2} aoqi@0: aoqi@0: DUPLICATE_ANNOTATIONS = \ aoqi@0: @{0} annotation is found on two places; one would be suffice. aoqi@0: aoqi@0: # {0} - class name. e.g.: java.lang.StackTraceElement does not have a no-arg default constructor. aoqi@0: NO_DEFAULT_CONSTRUCTOR = \ aoqi@0: {0} does not have a no-arg default constructor. aoqi@0: aoqi@0: CANT_HANDLE_INTERFACE = \ aoqi@0: {0} is an interface, and JAXB can''t handle interfaces. aoqi@0: aoqi@0: CANT_HANDLE_INNER_CLASS = \ aoqi@0: {0} is a non-static inner class, and JAXB can''t handle those. aoqi@0: aoqi@0: ANNOTATION_ON_WRONG_METHOD = \ aoqi@0: JAXB annotation is placed on a method that is not a JAXB property aoqi@0: aoqi@0: GETTER_SETTER_INCOMPATIBLE_TYPE = \ aoqi@0: The type of the getter is {0} but that of the setter is {1}. They have to be the same. aoqi@0: aoqi@0: DUPLICATE_ENTRY_IN_PROP_ORDER = \ aoqi@0: Property "{0}" appears more than once in the @XmlType.propOrder aoqi@0: aoqi@0: DUPLICATE_PROPERTIES = \ aoqi@0: There are two properties named "{0}" aoqi@0: aoqi@0: XML_ELEMENT_MAPPING_ON_NON_IXMLELEMENT_METHOD = \ aoqi@0: The {0} method has @XmlElementMapping on it, but it doesn''t return a sub-type of JAXBElement. aoqi@0: aoqi@0: # {0} - (xsd) type name. e.g. ns:MyType is not bound to a complex type, and therefore illegal as the scope. aoqi@0: SCOPE_IS_NOT_COMPLEXTYPE = \ aoqi@0: {0} is not bound to a complex type, and therefore illegal as the scope. aoqi@0: aoqi@0: CONFLICTING_XML_ELEMENT_MAPPING = \ aoqi@0: The element name '{'{0}'}'{1} has more than one mapping. aoqi@0: aoqi@0: REFERENCE_TO_NON_ELEMENT = \ aoqi@0: Property {0} is annotated with @XmlReference but doesn''t refer to an element. aoqi@0: aoqi@0: NON_EXISTENT_ELEMENT_MAPPING = \ aoqi@0: No element mapping exists for "{0}":"{1}" aoqi@0: aoqi@0: TWO_ATTRIBUTE_WILDCARDS = \ aoqi@0: {0} has two properties with the @XmlAnyAttribute annotation. aoqi@0: aoqi@0: SUPER_CLASS_HAS_WILDCARD = \ aoqi@0: Can''t have @XmlAnyAttribute when a base class has it already. aoqi@0: aoqi@0: INVALID_ATTRIBUTE_WILDCARD_TYPE = \ aoqi@0: @XmlAnyAttribute is placed on a property whose type is {0} but it needs to be assignable to java.util.Map. aoqi@0: aoqi@0: PROPERTY_MISSING_FROM_ORDER = \ aoqi@0: Property {0} is present but not specified in @XmlType.propOrder aoqi@0: aoqi@0: PROPERTY_ORDER_CONTAINS_UNUSED_ENTRY = \ aoqi@0: Property {0} appears in @XmlType.propOrder, but no such property exists. Maybe you meant {1}? aoqi@0: aoqi@0: # {1} - (local) type name e.g.: '#foo' is not a valid value for 'NCName' aoqi@0: INVALID_XML_ENUM_VALUE = \ aoqi@0: "{0}" is not a valid value for {1}. aoqi@0: aoqi@0: FAILED_TO_INITIALE_DATATYPE_FACTORY = \ aoqi@0: Failed to initialize JAXP 1.3 DatatypeFactory class. aoqi@0: aoqi@0: NO_IMAGE_WRITER = \ aoqi@0: No javax.imageio.ImageWriter is available for the specified MIME type "{0}" aoqi@0: aoqi@0: ILLEGAL_MIME_TYPE = \ aoqi@0: "{0}" is not a valid MIME type: {1} aoqi@0: aoqi@0: ILLEGAL_ANNOTATION = \ aoqi@0: {0} annotation cannot be placed here aoqi@0: aoqi@0: MULTIPLE_VALUE_PROPERTY = \ aoqi@0: @XmlValue is only allowed one per class, but two properties are annotated with @XmlValue. aoqi@0: aoqi@0: XMLVALUE_IN_DERIVED_TYPE = \ aoqi@0: @XmlValue is not allowed on a class that derives another class. aoqi@0: aoqi@0: ELEMENT_AND_VALUE_PROPERTY = \ aoqi@0: If a class has @XmlElement property, it cannot have @XmlValue property. aoqi@0: aoqi@0: CONFLICTING_XML_TYPE_MAPPING = \ aoqi@0: Two classes have the same XML type name "{0}". Use @XmlType.name and @XmlType.namespace to \ aoqi@0: assign different names to them. aoqi@0: aoqi@0: SIMPLE_TYPE_IS_REQUIRED = \ aoqi@0: @XmlAttribute/@XmlValue need to reference a Java type that maps to text in XML. aoqi@0: aoqi@0: PROPERTY_COLLISION = \ aoqi@0: Class has two properties of the same name "{0}" aoqi@0: aoqi@0: INVALID_IDREF = \ aoqi@0: XmlIDREF property is referencing a type "{0}" that doesn''t have an XmlID property. aoqi@0: aoqi@0: INVALID_XML_ELEMENT_REF = \ aoqi@0: Invalid @XmlElementRef : Type "{0}" or any of it's subclasses are not known to this context. aoqi@0: aoqi@0: NO_XML_ELEMENT_DECL = \ aoqi@0: There''s no ObjectFactory with an @XmlElementDecl for the element '{'{0}'}'{1}. aoqi@0: aoqi@0: XML_ELEMENT_WRAPPER_ON_NON_COLLECTION = \ aoqi@0: @XmlElementWrapper is only allowed on a collection property but "{0}" is not a collection property. aoqi@0: aoqi@0: ANNOTATION_NOT_ALLOWED = \ aoqi@0: {0} annotation is not allowed on this kind of property. aoqi@0: aoqi@0: XMLLIST_NEEDS_SIMPLETYPE = \ aoqi@0: {0} maps to a structured XML fragment (AKA complex type), and therefore incompatible with @XmlList. aoqi@0: aoqi@0: XMLLIST_ON_SINGLE_PROPERTY = \ aoqi@0: @XmlList cannot be placed on a single-value property aoqi@0: aoqi@0: NO_FACTORY_METHOD = \ aoqi@0: Factory class "{0}" does not have static zero args factory method "{1}". aoqi@0: aoqi@0: FACTORY_CLASS_NEEDS_FACTORY_METHOD = \ aoqi@0: XmlType has not defined a factory method for Factory class "{0}". aoqi@0: aoqi@0: MISSING_JAXB_PROPERTIES = \ aoqi@0: Package "{0}" is missing jaxb.properties file. Have you copied this from the generated source directory or include it in the classpath? aoqi@0: aoqi@0: TRANSIENT_FIELD_NOT_BINDABLE = \ aoqi@0: Transient field "{0}" cannot have any JAXB annotations. aoqi@0: aoqi@0: THERE_MUST_BE_VALUE_IN_XMLVALUE = \ aoqi@0: Object must have some value in its @XmlValue field: {0} aoqi@0: aoqi@0: INCOMPATIBLE_API_VERSION = \ aoqi@0: JAXB 2.1 API jar is being loaded (from {0}), but this RI (from {1}) requires JAXB 2.2 API jar. aoqi@0: aoqi@0: # {0}, {1} - absolute class location e.g. JAXB 2.1 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/c:/foo/bar/jaxb-impl.jar!/com/sun/xml/internal/bind/v2/model/impl/ModelBuilder.class) needs 2.2 API. aoqi@0: INCOMPATIBLE_API_VERSION_MUSTANG = \ aoqi@0: JAXB 2.1 API is being loaded from the bootstrap classloader, but this RI (from {1}) needs 2.2 API. \ aoqi@0: Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. \ aoqi@0: (See http://java.sun.com/j2se/1.6.0/docs/guide/standards/) aoqi@0: aoqi@0: # {0}, {1} - absolute class location e.g. JAXB 2.1 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/c:/foo/bar/jaxb-impl.jar!/com/sun/xml/internal/bind/v2/model/impl/ModelBuilder.class) needs 2.2 API. aoqi@0: RUNNING_WITH_1_0_RUNTIME = \ aoqi@0: You are trying to run JAXB 2.0 runtime (from {1}) but you have old JAXB 1.0 runtime earlier \ aoqi@0: in the classpath (at {0}) Please remove the JAXB 1.0 runtime for 2.0 runtime to work correctly. aoqi@0: aoqi@0: UNMATCHABLE_ADAPTER = \ aoqi@0: Adapter {0} is not applicable to the field type {1}. aoqi@0: aoqi@0: # {0} - com.sun.xml.internal.bind.XmlAccessorFactory, {1} - class name aoqi@0: ACCESSORFACTORY_INSTANTIATION_EXCEPTION = \ aoqi@0: Unable to create instance of AccessorFactory, {0} for class {1}. aoqi@0: aoqi@0: # {0} - com.sun.xml.internal.bind.XmlAccessorFactory, {1} - class name aoqi@0: ACCESSORFACTORY_ACCESS_EXCEPTION = \ aoqi@0: Unable to access instance of AccessorFactory, {0} for class {1}. aoqi@0: aoqi@0: CUSTOM_ACCESSORFACTORY_PROPERTY_ERROR = \ aoqi@0: Custom AccessorFactory, {0}, is reporting an error accessing a property. {1} aoqi@0: aoqi@0: CUSTOM_ACCESSORFACTORY_FIELD_ERROR = \ aoqi@0: Custom AccessorFactory, {0}, is reporting an error accessing a field. {1} aoqi@0: aoqi@0: ANONYMOUS_ARRAY_ITEM = \ aoqi@0: {0} is used as an array component type, so it cannot be anonymous. aoqi@0: aoqi@0: XMLGREGORIANCALENDAR_INVALID = \ aoqi@0: Invalid set of fields set for XMLGregorianCalendar type {0}. aoqi@0: aoqi@0: XMLGREGORIANCALENDAR_SEC = \ aoqi@0: Seconds not set. aoqi@0: aoqi@0: XMLGREGORIANCALENDAR_MIN = \ aoqi@0: Minutes not set. aoqi@0: aoqi@0: XMLGREGORIANCALENDAR_HR = \ aoqi@0: Hour not set. aoqi@0: aoqi@0: XMLGREGORIANCALENDAR_DAY = \ aoqi@0: Day not set. aoqi@0: aoqi@0: XMLGREGORIANCALENDAR_MONTH = \ aoqi@0: Month not set. aoqi@0: aoqi@0: XMLGREGORIANCALENDAR_YEAR = \ aoqi@0: Year not set. aoqi@0: aoqi@0: XMLGREGORIANCALENDAR_TIMEZONE = \ aoqi@0: Timezone not set.