1 16 19 20 package org.apache.xalan.xsltc.runtime; 21 22 import java.util.ListResourceBundle ; 23 24 27 public class ErrorMessages extends ListResourceBundle { 28 29 78 79 private static final Object [][] m_errorMessages = { 81 82 86 {BasisLibrary.RUN_TIME_INTERNAL_ERR, 87 "Run-time internal error in ''{0}''"}, 88 89 93 {BasisLibrary.RUN_TIME_COPY_ERR, 94 "Run-time error when executing <xsl:copy>."}, 95 96 102 {BasisLibrary.DATA_CONVERSION_ERR, 103 "Invalid conversion from ''{0}'' to ''{1}''."}, 104 105 110 {BasisLibrary.EXTERNAL_FUNC_ERR, 111 "External function ''{0}'' not supported by XSLTC."}, 112 113 118 {BasisLibrary.EQUALITY_EXPR_ERR, 119 "Unknown argument type in equality expression."}, 120 121 127 {BasisLibrary.INVALID_ARGUMENT_ERR, 128 "Invalid argument type ''{0}'' in call to ''{1}''"}, 129 130 135 {BasisLibrary.FORMAT_NUMBER_ERR, 136 "Attempting to format number ''{0}'' using pattern ''{1}''."}, 137 138 143 {BasisLibrary.ITERATOR_CLONE_ERR, 144 "Cannot clone iterator ''{0}''."}, 145 146 152 {BasisLibrary.AXIS_SUPPORT_ERR, 153 "Iterator for axis ''{0}'' not supported."}, 154 155 161 {BasisLibrary.TYPED_AXIS_SUPPORT_ERR, 162 "Iterator for typed axis ''{0}'' not supported."}, 163 164 170 {BasisLibrary.STRAY_ATTRIBUTE_ERR, 171 "Attribute ''{0}'' outside of element."}, 172 173 180 {BasisLibrary.STRAY_NAMESPACE_ERR, 181 "Namespace declaration ''{0}''=''{1}'' outside of element."}, 182 183 188 {BasisLibrary.NAMESPACE_PREFIX_ERR, 189 "Namespace for prefix ''{0}'' has not been declared."}, 190 191 195 {BasisLibrary.DOM_ADAPTER_INIT_ERR, 196 "DOMAdapter created using wrong type of source DOM."}, 197 198 204 {BasisLibrary.PARSER_DTD_SUPPORT_ERR, 205 "The SAX parser you are using does not handle DTD declaration events."}, 206 207 213 {BasisLibrary.NAMESPACES_SUPPORT_ERR, 214 "The SAX parser you are using does not have support for XML Namespaces."}, 215 216 220 {BasisLibrary.CANT_RESOLVE_RELATIVE_URI_ERR, 221 "Could not resolve the URI reference ''{0}''."}, 222 223 228 {BasisLibrary.UNSUPPORTED_XSL_ERR, 229 "Unsupported XSL element ''{0}''"}, 230 231 237 {BasisLibrary.UNSUPPORTED_EXT_ERR, 238 "Unrecognized XSLTC extension ''{0}''"}, 239 240 241 247 {BasisLibrary.UNKNOWN_TRANSLET_VERSION_ERR, 248 "The specified translet, ''{0}'', was created using a version of XSLTC more recent than the version of the XSLTC run-time that is in use. You must recompile the stylesheet or use a more recent version of XSLTC to run this translet."}, 249 250 256 {BasisLibrary.INVALID_QNAME_ERR, 257 "An attribute whose value must be a QName had the value ''{0}''"}, 258 259 260 266 {BasisLibrary.INVALID_NCNAME_ERR, 267 "An attribute whose value must be an NCName had the value ''{0}''"}, 268 }; 269 270 public Object [][] getContents() { 271 return m_errorMessages; 272 } 273 274 } 275 | Popular Tags |