📄 xpatherrorresources.java
字号:
public static final String WG_COULDNOT_FIND_FUNCTION = "WG_COULDNOT_FIND_FUNCTION"; public static final String WG_CANNOT_MAKE_URL_FROM ="WG_CANNOT_MAKE_URL_FROM"; public static final String WG_EXPAND_ENTITIES_NOT_SUPPORTED = "WG_EXPAND_ENTITIES_NOT_SUPPORTED"; public static final String WG_ILLEGAL_VARIABLE_REFERENCE = "WG_ILLEGAL_VARIABLE_REFERENCE"; public static final String WG_UNSUPPORTED_ENCODING ="WG_UNSUPPORTED_ENCODING"; /** detach() not supported by XRTreeFragSelectWrapper */ public static final String ER_DETACH_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = "ER_DETACH_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER"; /** num() not supported by XRTreeFragSelectWrapper */ public static final String ER_NUM_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = "ER_NUM_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER"; /** xstr() not supported by XRTreeFragSelectWrapper */ public static final String ER_XSTR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = "ER_XSTR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER"; /** str() not supported by XRTreeFragSelectWrapper */ public static final String ER_STR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = "ER_STR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER"; // Error messages... /** * Get the association list. * * @return The association list. */ public Object[][] getContents() { return new Object[][]{ { "ERROR0000" , "{0}" }, { ER_CURRENT_NOT_ALLOWED_IN_MATCH, "The current() function is not allowed in a match pattern!" }, { ER_CURRENT_TAKES_NO_ARGS, "The current() function does not accept arguments!" }, { ER_DOCUMENT_REPLACED, "document() function implementation has been replaced by com.sun.org.apache.xalan.internal.xslt.FuncDocument!"}, { ER_CONTEXT_HAS_NO_OWNERDOC, "context does not have an owner document!"}, { ER_LOCALNAME_HAS_TOO_MANY_ARGS, "local-name() has too many arguments."}, { ER_NAMESPACEURI_HAS_TOO_MANY_ARGS, "namespace-uri() has too many arguments."}, { ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS, "normalize-space() has too many arguments."}, { ER_NUMBER_HAS_TOO_MANY_ARGS, "number() has too many arguments."}, { ER_NAME_HAS_TOO_MANY_ARGS, "name() has too many arguments."}, { ER_STRING_HAS_TOO_MANY_ARGS, "string() has too many arguments."}, { ER_STRINGLENGTH_HAS_TOO_MANY_ARGS, "string-length() has too many arguments."}, { ER_TRANSLATE_TAKES_3_ARGS, "The translate() function takes three arguments!"}, { ER_UNPARSEDENTITYURI_TAKES_1_ARG, "The unparsed-entity-uri function should take one argument!"}, { ER_NAMESPACEAXIS_NOT_IMPLEMENTED, "namespace axis not implemented yet!"}, { ER_UNKNOWN_AXIS, "unknown axis: {0}"}, { ER_UNKNOWN_MATCH_OPERATION, "unknown match operation!"}, { ER_INCORRECT_ARG_LENGTH, "Arg length of processing-instruction() node test is incorrect!"}, { ER_CANT_CONVERT_TO_NUMBER, "Can not convert {0} to a number"}, { ER_CANT_CONVERT_TO_NODELIST, "Can not convert {0} to a NodeList!"}, { ER_CANT_CONVERT_TO_MUTABLENODELIST, "Can not convert {0} to a NodeSetDTM!"}, { ER_CANT_CONVERT_TO_TYPE, "Can not convert {0} to a type#{1}"}, { ER_EXPECTED_MATCH_PATTERN, "Expected match pattern in getMatchScore!"}, { ER_COULDNOT_GET_VAR_NAMED, "Could not get variable named {0}"}, { ER_UNKNOWN_OPCODE, "ERROR! Unknown op code: {0}"}, { ER_EXTRA_ILLEGAL_TOKENS, "Extra illegal tokens: {0}"}, { ER_EXPECTED_DOUBLE_QUOTE, "misquoted literal... expected double quote!"}, { ER_EXPECTED_SINGLE_QUOTE, "misquoted literal... expected single quote!"}, { ER_EMPTY_EXPRESSION, "Empty expression!"}, { ER_EXPECTED_BUT_FOUND, "Expected {0}, but found: {1}"}, { ER_INCORRECT_PROGRAMMER_ASSERTION, "Programmer assertion is incorrect! - {0}"}, { ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL, "boolean(...) argument is no longer optional with 19990709 XPath draft."}, { ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG, "Found ',' but no preceding argument!"}, { ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG, "Found ',' but no following argument!"}, { ER_PREDICATE_ILLEGAL_SYNTAX, "'..[predicate]' or '.[predicate]' is illegal syntax. Use 'self::node()[predicate]' instead."}, { ER_ILLEGAL_AXIS_NAME, "illegal axis name: {0}"}, { ER_UNKNOWN_NODETYPE, "Unknown nodetype: {0}"}, { ER_PATTERN_LITERAL_NEEDS_BE_QUOTED, "Pattern literal ({0}) needs to be quoted!"}, { ER_COULDNOT_BE_FORMATTED_TO_NUMBER, "{0} could not be formatted to a number!"}, { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON, "Could not create XML TransformerFactory Liaison: {0}"}, { ER_DIDNOT_FIND_XPATH_SELECT_EXP, "Error! Did not find xpath select expression (-select)."}, { ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH, "ERROR! Could not find ENDOP after OP_LOCATIONPATH"}, { ER_ERROR_OCCURED, "Error occured!"}, { ER_ILLEGAL_VARIABLE_REFERENCE, "VariableReference given for variable out of context or without definition! Name = {0}"}, { ER_AXES_NOT_ALLOWED, "Only child:: and attribute:: axes are allowed in match patterns! Offending axes = {0}"}, { ER_KEY_HAS_TOO_MANY_ARGS, "key() has an incorrect number of arguments."}, { ER_COUNT_TAKES_1_ARG, "The count function should take one argument!"}, { ER_COULDNOT_FIND_FUNCTION, "Could not find function: {0}"}, { ER_UNSUPPORTED_ENCODING, "Unsupported encoding: {0}"}, { ER_PROBLEM_IN_DTM_NEXTSIBLING, "Problem occured in DTM in getNextSibling... trying to recover"}, { ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL, "Programmer error: EmptyNodeList can not be written to."}, { ER_SETDOMFACTORY_NOT_SUPPORTED, "setDOMFactory is not supported by XPathContext!"}, { ER_PREFIX_MUST_RESOLVE, "Prefix must resolve to a namespace: {0}"}, { ER_PARSE_NOT_SUPPORTED, "parse (InputSource source) not supported in XPathContext! Can not open {0}"}, { ER_SAX_API_NOT_HANDLED, "SAX API characters(char ch[]... not handled by the DTM!"}, { ER_IGNORABLE_WHITESPACE_NOT_HANDLED, "ignorableWhitespace(char ch[]... not handled by the DTM!"}, { ER_DTM_CANNOT_HANDLE_NODES, "DTMLiaison can not handle nodes of type {0}"}, { ER_XERCES_CANNOT_HANDLE_NODES, "DOM2Helper can not handle nodes of type {0}"}, { ER_XERCES_PARSE_ERROR_DETAILS, "DOM2Helper.parse error: SystemID - {0} line - {1}"}, { ER_XERCES_PARSE_ERROR, "DOM2Helper.parse error"}, { ER_INVALID_UTF16_SURROGATE, "Invalid UTF-16 surrogate detected: {0} ?"}, { ER_OIERROR, "IO error"}, { ER_CANNOT_CREATE_URL, "Cannot create url for: {0}"}, { ER_XPATH_READOBJECT, "In XPath.readObject: {0}"}, { ER_FUNCTION_TOKEN_NOT_FOUND, "function token not found."}, { ER_CANNOT_DEAL_XPATH_TYPE, "Can not deal with XPath type: {0}"}, { ER_NODESET_NOT_MUTABLE, "This NodeSet is not mutable"}, { ER_NODESETDTM_NOT_MUTABLE, "This NodeSetDTM is not mutable"}, { ER_VAR_NOT_RESOLVABLE, "Variable not resolvable: {0}"}, { ER_NULL_ERROR_HANDLER, "Null error handler"}, { ER_PROG_ASSERT_UNKNOWN_OPCODE, "Programmer''s assertion: unknown opcode: {0}"}, { ER_ZERO_OR_ONE, "0 or 1"}, { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, "rtf() not supported by XRTreeFragSelectWrapper"}, { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, "asNodeIterator() not supported by XRTreeFragSelectWrapper"}, /** detach() not supported by XRTreeFragSelectWrapper */ { ER_DETACH_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, "detach() not supported by XRTreeFragSelectWrapper"}, /** num() not supported by XRTreeFragSelectWrapper */ { ER_NUM_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, "num() not supported by XRTreeFragSelectWrapper"}, /** xstr() not supported by XRTreeFragSelectWrapper */ { ER_XSTR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, "xstr() not supported by XRTreeFragSelectWrapper"}, /** str() not supported by XRTreeFragSelectWrapper */ { ER_STR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, "str() not supported by XRTreeFragSelectWrapper"}, { ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS, "fsb() not supported for XStringForChars"}, { ER_COULD_NOT_FIND_VAR, "Could not find variable with the name of {0}"}, { ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING, "XStringForChars can not take a string for an argument"}, { ER_FASTSTRINGBUFFER_CANNOT_BE_NULL, "The FastStringBuffer argument can not be null"}, { ER_TWO_OR_THREE, "2 or 3"}, { ER_VARIABLE_ACCESSED_BEFORE_BIND, "Variable accessed before it is bound!"}, { ER_FSB_CANNOT_TAKE_STRING, "XStringForFSB can not take a string for an argument!"}, { ER_SETTING_WALKER_ROOT_TO_NULL, "\n !!!! Error! Setting the root of a walker to null!!!"}, { ER_NODESETDTM_CANNOT_ITERATE, "This NodeSetDTM can not iterate to a previous node!"}, { ER_NODESET_CANNOT_ITERATE, "This NodeSet can not iterate to a previous node!"}, { ER_NODESETDTM_CANNOT_INDEX, "This NodeSetDTM can not do indexing or counting functions!"}, { ER_NODESET_CANNOT_INDEX, "This NodeSet can not do indexing or counting functions!"}, { ER_CANNOT_CALL_SETSHOULDCACHENODE, "Can not call setShouldCacheNodes after nextNode has been called!"}, { ER_ONLY_ALLOWS, "{0} only allows {1} arguments"}, { ER_UNKNOWN_STEP, "Programmer''s assertion in getNextStepPos: unknown stepType: {0}"}, //Note to translators: A relative location path is a form of XPath expression. // The message indicates that such an expression was expected following the // characters '/' or '//', but was not found. { ER_EXPECTED_REL_LOC_PATH, "A relative location path was expected following the '/' or '//' token."}, // Note to translators: A location path is a form of XPath expression. // The message indicates that syntactically such an expression was expected,but // the characters specified by the substitution text were encountered instead. { ER_EXPECTED_LOC_PATH, "A location path was expected, but the following token was encountered\u003a {0}"}, // Note to translators: A location path is a form of XPath expression. // The message indicates that syntactically such a subexpression was expected, // but no more characters were found in the expression. { ER_EXPECTED_LOC_PATH_AT_END_EXPR, "A location path was expected, but the end of the XPath expression was found instead."}, // Note to translators: A location step is part of an XPath expression.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -