public interface ARPErrorNumbers
Modifier and Type | Field and Description |
---|---|
static int |
EM_ERROR
Used as ErrorMode to report error, and not generate associated triples.
|
static int |
EM_FATAL
Used as ErrorMode to stop processing after reporting error.
|
static int |
EM_IGNORE
Used as ErrorMode to not report an error.
|
static int |
EM_WARNING
Used as ErrorMode to report warning and continue processing.
|
static int |
ERR_ABOUTEACH_NOT_TOPLEVEL
Deprecated.
No longer occurs. Any use of rdf:aboutEach is a syntax error.
|
static int |
ERR_BAD_RDF_ATTRIBUTE
An attribute name in the RDF namespace has been
used that is reserved as an RDF name, but not as an attribute.
|
static int |
ERR_BAD_RDF_ELEMENT
An element is tagged rdf:XXX where XXX is an RDF attribute name.
|
static int |
ERR_ENCODING_MISMATCH
ARP was called with an InputSteamReader or a FileReader which used
an encoding differnt from that in the XML declaration.
|
static int |
ERR_GENERIC_IO
An IOException occurred.
|
static int |
ERR_INTERNAL_ERROR
Deprecated.
No longer used.
|
static int |
ERR_INTERRUPTED
The Thread was interrupted.
|
static int |
ERR_LI_AS_TYPE
rdf:li is being used in the typed node construction.
|
static int |
ERR_NOT_WHITESPACE
Non-white character data has occurred where the RDF grammar
does not permit it.
|
static int |
ERR_RESOLVING_AGAINST_MALFORMED_BASE
Cannot resolve a relative URI, because base URI is malformed.
|
static int |
ERR_RESOLVING_AGAINST_RELATIVE_BASE
Cannot resolve a relative URI, because base URI is relative.
|
static int |
ERR_RESOLVING_URI_AGAINST_NULL_BASE
A base URI was required but not given.
|
static int |
ERR_SAX_ERROR
The SAX Parser generated an error.
|
static int |
ERR_SAX_FATAL_ERROR
The SAX Parser generated a.error error.
|
static int |
ERR_STRING_NOT_NORMAL_FORM_C
Deprecated.
See 2nd Last Call docs
* (E207).
|
static int |
ERR_SYNTAX_ERROR
The attributes or element tags contravene the RDF grammar.
|
static int |
ERR_UNABLE_TO_RECOVER
Deprecated.
Not used.
|
static int |
ERR_URI_NOT_NORMAL_FORM_C
Deprecated.
WG decision on williams-01.
|
static int |
ERR_UTF_ENCODING
The document claimed to be UTF-8 but was not.
|
static int |
IGN_NO_BASE_URI_SPECIFIED
Indicates that no name is known for the current file being parsed.
|
static int |
IGN_PRIVATE_XMLLANG
An xml:lang attribute uses one or more of the extension
facilities in RFC3066 or ISO639.
|
static int |
IGN_XMLBASE_SIGNIFICANT
Indicates that somewhere,
an xml:base attribute has been used and
changes the interpretation of some URI (either through a
relative URI-reference or rdf:ID).
|
static int |
IGN_XMLBASE_USED
Indicates that somewhere, other than in an XML Literal
an xml:base attribute has been used.
|
static int |
WARN_BAD_NAME
An ID symbol or other grammar production that should be an
XML name is malformed.
|
static int |
WARN_BAD_NAMESPACE_URI
Some xmlns declaration has a non-URI as its right hand side.
|
static int |
WARN_BAD_RDF_NAMESPACE_URI
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.
|
static int |
WARN_BAD_XML
Deprecated.
|
static int |
WARN_BAD_XML_NAMESPACE_URI
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.
|
static int |
WARN_BAD_XMLLANG
The value of an xml:lang attribute while syntactically conforming
to RFC3066 does not conform with other rules, possibly through not
being listed in ISO639 or ISO3166 or the IANA language tag
registry.
|
static int |
WARN_BIG_FILE
After 10000 rdf:ID attributes have been
read, ARP no longer checks for
WARN_REDEFINITION_OF_ID . |
static int |
WARN_DEPRECATED_XMLLANG
The value of an xml:lang attribute has been deprecated by IANA (W117).
|
static int |
WARN_ENCODING_MISMATCH
ARP was called with an InputSteamReader or a FileReader which used
an encoding differnt from that in the XML declaration.
|
static int |
WARN_IN_STRICT_MODE
This is an internal only field, not intended for public use.
|
static int |
WARN_LEGAL_REUSE_OF_ID
Deprecated.
Last supported in Jena 2.1 - too expensive.
|
static int |
WARN_MALFORMED_URI
A URI reference does not conform to the definition of RDF URI Reference.
|
static int |
WARN_MALFORMED_XMLLANG
The value of an xml:lang attribute does not conform to the
syntactic rules of RFC3066.
|
static int |
WARN_MINOR_INTERNAL_ERROR
Deprecated.
No longer used.
|
static int |
WARN_NON_IANA_ENCODING
The character encoding in the XML declaration is not
registered with IANA.
|
static int |
WARN_NONCANONICAL_IANA_NAME
The encoding in the XML declaration is an alias
registered with IANA.
|
static int |
WARN_NOT_RDF_NAMESPACE
It seems likely that the namespace for rdf: has a typo in it.
|
static int |
WARN_PROCESSING_INSTRUCTION_IN_RDF
An XML processing instruction occurred in RDF content.
|
static int |
WARN_QNAME_AS_ID
Deprecated.
Superceded by the more general
WARN_BAD_NAME |
static int |
WARN_RDF_NN_AS_TYPE
rdf:_NNN is being used in the typed node construction.
|
static int |
WARN_REDEFINITION_OF_ID
The same name has been used for more than one rdf:ID or rdf:bagID,
in the context of the same xml:base (if any).
|
static int |
WARN_RELATIVE_NAMESPACE_URI_DEPRECATED
A namespace has been declared with a relative URI.
|
static int |
WARN_RELATIVE_URI
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.
|
static int |
WARN_RESOLVING_URI_AGAINST_EMPTY_BASE
A base URI was required but "" was given.
|
static int |
WARN_SAX_WARNING
The SAX Parser generated a warning.
|
static int |
WARN_STRING_COMPOSING_CHAR
String Literals in RDF should not start with a composing char,
as defined by the CharacterModel working draft.
|
static int |
WARN_STRING_NOT_NORMAL_FORM_C
String Literals in RDF should be in Unicode Normal Form C
* (W131).
|
static int |
WARN_UNKNOWN_PARSETYPE
An unrecognised value for rdf:parseType has been found.
|
static int |
WARN_UNKNOWN_RDF_ATTRIBUTE
An attribute name in the RDF namespace has been
used that is not a reserved RDF attribute name.
|
static int |
WARN_UNKNOWN_RDF_ELEMENT
An element is tagged rdf:XXX where XXX is not a recognised RDF element name.
|
static int |
WARN_UNKNOWN_XML_ATTRIBUTE
An attribute from the xml namespace has been used that is not
recognised.
|
static int |
WARN_UNQUALIFIED_ATTRIBUTE
Some attribute that is not an RDF keyword is used in an
unqualified fashion.
|
static int |
WARN_UNQUALIFIED_ELEMENT
An element tag is not a qualified name.
|
static int |
WARN_UNQUALIFIED_RDF_ATTRIBUTE
A standard rdf attribute like type or about is used
without a namespace qualifier.
|
static int |
WARN_UNSUPPORTED_ENCODING
The character encoding in the XML declaration is not
fully supported.
|
static int |
WARN_URI_COMPOSING_CHAR
Deprecated.
WG decision on williams-01.
|
static int |
WARN_XMLBASE_MISSING
Deprecated.
|
static final int EM_IGNORE
static final int EM_WARNING
static final int EM_ERROR
static final int EM_FATAL
static final int IGN_PRIVATE_XMLLANG
static final int IGN_XMLBASE_USED
IGN_XMLBASE_SIGNIFICANT
,
Constant Field Valuesstatic final int IGN_XMLBASE_SIGNIFICANT
IGN_XMLBASE_USED
,
Constant Field Valuesstatic final int IGN_NO_BASE_URI_SPECIFIED
@Deprecated static final int WARN_XMLBASE_MISSING
IGN_NO_BASE_URI_SPECIFIED
static final int WARN_UNQUALIFIED_RDF_ATTRIBUTE
static final int WARN_UNQUALIFIED_ATTRIBUTE
static final int WARN_UNKNOWN_RDF_ATTRIBUTE
static final int WARN_UNQUALIFIED_ELEMENT
static final int WARN_REDEFINITION_OF_ID
ARPOptions.setErrorMode(int,int)
to ignore this condition.
(W105).WARN_LEGAL_REUSE_OF_ID
,
Constant Field Valuesstatic final int WARN_UNKNOWN_PARSETYPE
static final int WARN_MALFORMED_URI
static final int WARN_BAD_NAME
static final int WARN_RELATIVE_NAMESPACE_URI_DEPRECATED
WARN_RELATIVE_URI
warnings.
(W109)@Deprecated static final int WARN_BAD_XML
@Deprecated static final int WARN_MINOR_INTERNAL_ERROR
static final int WARN_UNKNOWN_RDF_ELEMENT
static final int WARN_RDF_NN_AS_TYPE
static final int WARN_MALFORMED_XMLLANG
static final int WARN_BAD_XMLLANG
static final int WARN_UNKNOWN_XML_ATTRIBUTE
static final int WARN_PROCESSING_INSTRUCTION_IN_RDF
@Deprecated static final int WARN_LEGAL_REUSE_OF_ID
WARN_REDEFINITION_OF_ID
,
Constant Field Valuesstatic final int WARN_STRING_COMPOSING_CHAR
@Deprecated static final int WARN_QNAME_AS_ID
WARN_BAD_NAME
@Deprecated static final int WARN_URI_COMPOSING_CHAR
static final int WARN_BAD_NAMESPACE_URI
static final int WARN_DEPRECATED_XMLLANG
static final int WARN_IN_STRICT_MODE
static final int WARN_SAX_WARNING
static final int WARN_BAD_RDF_NAMESPACE_URI
static final int WARN_BAD_XML_NAMESPACE_URI
static final int WARN_ENCODING_MISMATCH
ERR_ENCODING_MISMATCH
,
Constant Field Valuesstatic final int WARN_RESOLVING_URI_AGAINST_EMPTY_BASE
static final int WARN_STRING_NOT_NORMAL_FORM_C
static final int WARN_UNSUPPORTED_ENCODING
static final int WARN_NON_IANA_ENCODING
static final int WARN_NONCANONICAL_IANA_NAME
static final int WARN_NOT_RDF_NAMESPACE
static final int WARN_RELATIVE_URI
static final int WARN_BIG_FILE
WARN_REDEFINITION_OF_ID
.
This warning is to inform the user that
ARP behaviour has changed during parsing.@Deprecated static final int ERR_INTERNAL_ERROR
static final int ERR_SYNTAX_ERROR
SAXParseException
's).
The detailed error message indicates the nature of the contravention.
Future releases may specialize these codes, it is better to
use ParseException.isSyntaxError()
to check for syntax errors.
(E201).static final int ERR_NOT_WHITESPACE
@Deprecated static final int ERR_ABOUTEACH_NOT_TOPLEVEL
static final int ERR_LI_AS_TYPE
static final int ERR_BAD_RDF_ELEMENT
static final int ERR_BAD_RDF_ATTRIBUTE
@Deprecated static final int ERR_STRING_NOT_NORMAL_FORM_C
@Deprecated static final int ERR_URI_NOT_NORMAL_FORM_C
static final int ERR_SAX_ERROR
static final int ERR_ENCODING_MISMATCH
WARN_ENCODING_MISMATCH
,
Constant Field Valuesstatic final int ERR_RESOLVING_URI_AGAINST_NULL_BASE
static final int ERR_UTF_ENCODING
static final int ERR_GENERIC_IO
static final int ERR_RESOLVING_AGAINST_MALFORMED_BASE
WARN_MALFORMED_URI
).
A relative URI needs to be resolved against it,
and this cannot be done correctly. (E214)static final int ERR_RESOLVING_AGAINST_RELATIVE_BASE
WARN_RELATIVE_URI
.
A relative URI needs to be resolved against it,
resulting in a relative URI. (E215)@Deprecated static final int ERR_UNABLE_TO_RECOVER
static final int ERR_SAX_FATAL_ERROR
static final int ERR_INTERRUPTED
Licenced under the Apache License, Version 2.0