📄 arperrornumbers.java
字号:
* as defined by the CharacterModel working draft.
* This is particularly important if XML 1.1 compatibility is
* required.
* This is a warning in both default and strict modes (W121).
**/
public int WARN_STRING_COMPOSING_CHAR = 121;
/**
* No longer used. (W122).
*
* @deprecated Superceded by the more general {@link #WARN_BAD_NAME} */
public int WARN_QNAME_AS_ID = 122;
/**
* No longer used. (W123)
*
* @deprecated WG decision on <a href=
*
"http://www.w3.org/2001/sw/RDFCore/20030123-issues/#williams-01"
>williams-01</a>.
**/
public int WARN_URI_COMPOSING_CHAR = 123;
/**
* Some xmlns declaration has a non-URI as its right hand side.
* This currently permits non-ASCII characters, awaiting clarification from
* the namespace editor. This is a warning in default mode and an error in
* strict mode (W124). */
public int WARN_BAD_NAMESPACE_URI = 124;
/**
* The value of an xml:lang attribute has been deprecated by IANA (W117). In strict and default mode this is a warning.
*/
public int WARN_DEPRECATED_XMLLANG = 117;
/**
* This is an internal only field, not intended for public use.
* In particular, specifically setting the error mode for this
* error should be avoided.
* Errors with this error code cannot happen. (W125)
* When this warning is treated as an error, the non-RDF compliant
* daml:collection production is surpressed.
**/
public int WARN_IN_STRICT_MODE = 125;
/**
* The SAX Parser generated a warning. Treated as a warning in both default
* and strict modes. (W126)
*/
public int WARN_SAX_WARNING = 126;
/**
* Within RDF, it is not permitted to define an
* XML namespace that has a namespace URI with the
* RDF namespace URI as a proper prefix. (W127).
* A warning in default mode, an error in strict mode.
*/
public int WARN_BAD_RDF_NAMESPACE_URI = 127;
/**
* Within RDF, it is not permitted to define an
* XML namespace that has a namespace URI with the XML
* namespace URI as a proper prefix. (W128). A warning in default mode,an
* error in strict mode.
*/
public int WARN_BAD_XML_NAMESPACE_URI = 128;
/**
* ARP was called with an InputSteamReader or a FileReader which used
* an encoding differnt from that in the XML declaration. The usual fix
* is to use an InputStream or a FileInputStream instead. (W129).
* A warning in default mode, an error in strict mode.
* @see #ERR_ENCODING_MISMATCH
*/
public int WARN_ENCODING_MISMATCH = 129;
/**
* A base URI was required but "" was given. The
* RDF/XML input includes a relative URI, an rdf:ID or
* some other same document reference. (W130).
*/
public int WARN_RESOLVING_URI_AGAINST_EMPTY_BASE = 130;
/**
* String Literals in RDF should be in Unicode Normal Form C
*
* * (W131).
**/
public int WARN_STRING_NOT_NORMAL_FORM_C = 131;
/**
* The character encoding in the XML declaration is not
* fully supported. In particular, advice about
* the IANA registry entry, if any, is not available.
* This warning is only believed to be applicable to
* Java 1.4. Java 1.5 has more extensive support for
* this information, and so upgrading from Java 1.4 to Java 1.5
* is a plausible response to this warning.
* (W132).
*/
public int WARN_UNSUPPORTED_ENCODING = 132;
/**
* The character encoding in the XML declaration is not
* registered with IANA. Hence the RDF/XML file
* is not appropriate for use on the Web, but only
* for private interactions, between parties agreeing
* on the character encoding.
* It may not be possible to read this file with superficially
* similar Jena installations, let alone with other RDF systems.
* (W133).
*/
public int WARN_NON_IANA_ENCODING = 133;
/**
* The encoding in the XML declaration is an alias
* registered with IANA. Better interoperability
* is likely by replacing the encoding declaration
* with the canonical IANA name, provided in the warning
* message.
* (W134).
*/
public int WARN_NONCANONICAL_IANA_NAME =134;
/**
* It seems likely that the namespace for rdf: has a typo in it.
* (W135)
*/
public int WARN_NOT_RDF_NAMESPACE = 135;
/**
*A URI reference which is a relative reference
*has been used either as the starting base URI
*or as the outcome of a URI resolution somehow.
*In strict mode this is an error.
*(W136)
*/
public int WARN_RELATIVE_URI = 136;
/**
* After 10000 rdf:ID attributes have been
* read, ARP no longer checks for
* {@link #WARN_REDEFINITION_OF_ID}.
* This warning is to inform the user that
* ARP behaviour has changed during parsing.
*
*/
public int WARN_BIG_FILE = 137;
/** Should not happen.
(E200)
@deprecated No longer used.
*/
public int ERR_INTERNAL_ERROR = 200;
/** The attributes or element tags contravene the RDF grammar.
(XML syntax errors are not reported with this mechanism,
but as {@link org.xml.sax.SAXParseException SAXParseException}'s).
The detailed error message indicates the nature of the contravention.
Future releases may specialize these codes, it is better to
use {@link ParseException#isSyntaxError()} to check for syntax errors.
(E201).
*/
public int ERR_SYNTAX_ERROR = 201;
/** Non-white character data has occurred where the RDF grammar
does not permit it. This is a special case of ERR_SYNTAX_ERROR,
which is detected differently.
(E202)
*/
public int ERR_NOT_WHITESPACE = 202;
/** rdf:aboutEach may only occur in a top-level obj expansion,
* either an rdf:Description or a typed node. This is a special
* case of ERR_SYNTAX_ERROR, which is detected differently. (E203).
* @deprecated No longer occurs. Any use of rdf:aboutEach is a syntax error.
*
*/
public int ERR_ABOUTEACH_NOT_TOPLEVEL = 203;
/**
* rdf:li is being used in the typed node construction.
* (E204)
*/
public int ERR_LI_AS_TYPE = 204;
/**
*An element is tagged rdf:XXX where XXX is an RDF attribute name.
* (E205)
*/
public int ERR_BAD_RDF_ELEMENT = 205;
/**
An attribute name in the RDF namespace has been
used that is reserved as an RDF name, but not as an attribute.
These are rdf:Description, rdf:aboutEach, rdf:aboutEachPrefix.
The latter two are deprecated. (E206).
**/
public int ERR_BAD_RDF_ATTRIBUTE = 206;
/**
* No longer used.
* @see #WARN_STRING_NOT_NORMAL_FORM_C
@deprecated See 2nd Last Call docs
*
* * (E207).
**/
public int ERR_STRING_NOT_NORMAL_FORM_C = 207;
/**
* No longer used.(E208).
* @deprecated WG decision on <a href=
*
"http://www.w3.org/2001/sw/RDFCore/20030123-issues/#williams-01"
>williams-01</a>.
*/
public int ERR_URI_NOT_NORMAL_FORM_C = 208;
/**
* The SAX Parser generated an error.
* Treated as an error in both default and strict modes. (E209)
*/
public int ERR_SAX_ERROR = 209;
/**
* ARP was called with an InputSteamReader or a FileReader which used
* an encoding differnt from that in the XML declaration. Moreover, this
* was detected as probably significant (i.e. the document includes
* characters outside the ascii range). The usual fix is to use an
* InputStream or a FileInputStream instead. (E210).
* @see #WARN_ENCODING_MISMATCH
*/
public int ERR_ENCODING_MISMATCH = 210;
/**
* A base URI was required but not given. The
* RDF/XML input includes a relative URI, an rdf:ID or
* some other same document reference. (E211).
*/
public int ERR_RESOLVING_URI_AGAINST_NULL_BASE = 211;
/**
* The document claimed to be UTF-8 but was not.
* It probably needs an xml declaration with
* an encoding attribute. (E212).
*/
public int ERR_UTF_ENCODING = 212;/**
* An IOException occurred. (E213).
*/
public int ERR_GENERIC_IO = 213;
/**
* Cannot resolve a relative URI, because base URI is malformed.
* The base URI, specified in the API call, or
* with an xml:base was malformed,
* (see {@link #WARN_MALFORMED_URI}).
* A relative URI needs to be resolved against it,
* and this cannot be done correctly. (E214)
*/
public int ERR_RESOLVING_AGAINST_MALFORMED_BASE = 214;
/**
* Cannot resolve a relative URI, because base URI is relative.
* The base URI, specified in the API call, or
* with an xml:base was relative {@link #WARN_RELATIVE_URI}.
* A relative URI needs to be resolved against it,
* resulting in a relative URI. (E215)
*/
public int ERR_RESOLVING_AGAINST_RELATIVE_BASE = 215;
/** No longer used. (E300)
* @deprecated Not used.
**/
public int ERR_UNABLE_TO_RECOVER = 300;
/** The SAX Parser generated a fatal error.
* Resetting this mode is not supported.
* Treated as a fatal error in both
* default and strict modes. (E301) */
public int ERR_SAX_FATAL_ERROR = 301;
/** The Thread was interrupted. (E302) */
public int ERR_INTERRUPTED = 302;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -