Java Doc for ARPErrorNumbers.java in  » RSS-RDF » Jena-2.5.5 » com » hp » hpl » jena » rdf » arp » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » RSS RDF » Jena 2.5.5 » com.hp.hpl.jena.rdf.arp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.hp.hpl.jena.rdf.arp.ARPErrorNumbers

All known Subclasses:   com.hp.hpl.jena.rdf.arp.ARPOptions,  com.hp.hpl.jena.rdf.arp.impl.XMLContext,  com.hp.hpl.jena.rdf.arp.states.test.TestData,  com.hp.hpl.jena.rdf.arp.impl.ParserSupport,  com.hp.hpl.jena.rdf.arp.test.WGTestSuite,  com.hp.hpl.jena.rdf.arp.JenaReader,  com.hp.hpl.jena.rdf.arp.impl.XMLBaselessContext,  com.hp.hpl.jena.rdf.arp.impl.AbsXMLContext,  com.hp.hpl.jena.rdf.arp.impl.URIReference,  com.hp.hpl.jena.rdf.arp.impl.XMLHandler,  com.hp.hpl.jena.rdf.arp.test.MoreTests,  com.hp.hpl.jena.rdf.arp.test.TaintingTests,  com.hp.hpl.jena.rdf.arp.impl.QNameLexer,  com.hp.hpl.jena.rdf.arp.ParseException,  com.hp.hpl.jena.rdf.arp.states.Frame,  com.hp.hpl.jena.rdf.arp.test.ExceptionTests,  com.hp.hpl.jena.rdf.arp.impl.AttributeLexer,  com.hp.hpl.jena.rdf.arp.NTriple,
ARPErrorNumbers
public interface ARPErrorNumbers (Code)
Error numbers used by ARP.
author:
   jjc


Field Summary
public  intEM_ERROR
     Used as ErrorMode to report error, and not generate associated triples. In the event of an error (i.e.
public  intEM_FATAL
     Used as ErrorMode to stop processing after reporting error.
public  intEM_IGNORE
     Used as ErrorMode to not report an error.
public  intEM_WARNING
     Used as ErrorMode to report warning and continue processing.
public  intERR_ABOUTEACH_NOT_TOPLEVEL
     rdf:aboutEach may only occur in a top-level obj expansion, either an rdf:Description or a typed node.
public  intERR_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. These are rdf:Description, rdf:aboutEach, rdf:aboutEachPrefix. The latter two are deprecated.
public  intERR_BAD_RDF_ELEMENT
     An element is tagged rdf:XXX where XXX is an RDF attribute name.
public  intERR_ENCODING_MISMATCH
     ARP was called with an InputSteamReader or a FileReader which used an encoding differnt from that in the XML declaration.
public  intERR_GENERIC_IO
     An IOException occurred.
public  intERR_INTERNAL_ERROR
     Should not happen.
public  intERR_INTERRUPTED
     The Thread was interrupted.
public  intERR_LI_AS_TYPE
     rdf:li is being used in the typed node construction.
public  intERR_NOT_WHITESPACE
     Non-white character data has occurred where the RDF grammar does not permit it.
public  intERR_RESOLVING_AGAINST_MALFORMED_BASE
     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 ARPErrorNumbers.WARN_MALFORMED_URI ). A relative URI needs to be resolved against it, and this cannot be done correctly.
public  intERR_RESOLVING_AGAINST_RELATIVE_BASE
     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 ARPErrorNumbers.WARN_RELATIVE_URI . A relative URI needs to be resolved against it, resulting in a relative URI.
public  intERR_RESOLVING_URI_AGAINST_NULL_BASE
     A base URI was required but not given.
public  intERR_SAX_ERROR
     The SAX Parser generated an error.
public  intERR_SAX_FATAL_ERROR
     The SAX Parser generated a fatal error.
public  intERR_STRING_NOT_NORMAL_FORM_C
     No longer used.
public  intERR_SYNTAX_ERROR
     The attributes or element tags contravene the RDF grammar.
public  intERR_UNABLE_TO_RECOVER
     No longer used.
public  intERR_URI_NOT_NORMAL_FORM_C
     No longer used.(E208).
public  intERR_UTF_ENCODING
     The document claimed to be UTF-8 but was not. It probably needs an xml declaration with an encoding attribute.
public  intIGN_DAML_COLLECTION
     The use of rdf:parseType="daml:collection" does not conform with RDF2004.
public  intIGN_NO_BASE_URI_SPECIFIED
     Indicates that no name is known for the current file being parsed.
public  intIGN_PRIVATE_XMLLANG
     An xml:lang attribute uses one or more of the extension facilities in RFC3066 or ISO639.
public  intIGN_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).
public  intIGN_XMLBASE_USED
     Indicates that somewhere, other than in an XML Literal an xml:base attribute has been used. This is ignored in default and strict mode.
public  intWARN_BAD_NAME
     An ID symbol or other grammar production that should be an XML name is malformed.
public  intWARN_BAD_NAMESPACE_URI
     Some xmlns declaration has a non-URI as its right hand side. This currently permits non-ASCII characters, awaiting clarification from the namespace editor.
public  intWARN_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.
public  intWARN_BAD_XML
     No longer used.
public  intWARN_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.
public  intWARN_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.
public  intWARN_BIG_FILE
     After 10000 rdf:ID attributes have been read, ARP no longer checks for ARPErrorNumbers.WARN_REDEFINITION_OF_ID .
public  intWARN_DEPRECATED_XMLLANG
     The value of an xml:lang attribute has been deprecated by IANA (W117).
public  intWARN_ENCODING_MISMATCH
     ARP was called with an InputSteamReader or a FileReader which used an encoding differnt from that in the XML declaration.
public  intWARN_IN_STRICT_MODE
     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.
public  intWARN_LEGAL_REUSE_OF_ID
     No longer used.
public  intWARN_MALFORMED_URI
     A URI reference does not conform to the definition of RDF URI Reference.
public  intWARN_MALFORMED_XMLLANG
     The value of an xml:lang attribute does not conform to the syntactic rules of RFC3066. In default mode this is a warning, in strict mode an error.
public  intWARN_MINOR_INTERNAL_ERROR
     Should not happen.
public  intWARN_NONCANONICAL_IANA_NAME
     The encoding in the XML declaration is an alias registered with IANA.
public  intWARN_NON_IANA_ENCODING
     The character encoding in the XML declaration is not registered with IANA.
public  intWARN_NOT_RDF_NAMESPACE
     It seems likely that the namespace for rdf: has a typo in it.
public  intWARN_PROCESSING_INSTRUCTION_IN_RDF
     An XML processing instruction occurred in RDF content.
public  intWARN_QNAME_AS_ID
     No longer used.
public  intWARN_RDF_NN_AS_TYPE
     rdf:_NNN is being used in the typed node construction.
public  intWARN_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).
public  intWARN_RELATIVE_NAMESPACE_URI_DEPRECATED
     A namespace has been declared with a relative URI. Such relative URI namespaces have been deprecated.
public  intWARN_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.
public  intWARN_RESOLVING_URI_AGAINST_EMPTY_BASE
     A base URI was required but "" was given.
public  intWARN_SAX_WARNING
     The SAX Parser generated a warning.
public  intWARN_STRING_COMPOSING_CHAR
     String Literals in RDF should not start with a composing char, as defined by the CharacterModel working draft.
public  intWARN_STRING_NOT_NORMAL_FORM_C
     String Literals in RDF should be in Unicode Normal Form C (W131).
public  intWARN_UNKNOWN_PARSETYPE
     An unrecognised value for rdf:parseType has been found.
public  intWARN_UNKNOWN_RDF_ATTRIBUTE
     An attribute name in the RDF namespace has been used that is not a reserved RDF attribute name. In default and strict modes, a statement is generated with the given name as property. In default and strict modes this is a warning.
public  intWARN_UNKNOWN_RDF_ELEMENT
     An element is tagged rdf:XXX where XXX is not a recognised RDF element name.
public  intWARN_UNKNOWN_XML_ATTRIBUTE
     An attribute from the xml namespace has been used that is not recognised.
public  intWARN_UNQUALIFIED_ATTRIBUTE
     Some attribute that is not an RDF keyword is used in an unqualified fashion.
public  intWARN_UNQUALIFIED_ELEMENT
     An element tag is not a qualified name.
public  intWARN_UNQUALIFIED_RDF_ATTRIBUTE
     A standard rdf attribute like type or about is used without a namespace qualifier.
public  intWARN_UNSUPPORTED_ENCODING
     The character encoding in the XML declaration is not fully supported.
public  intWARN_URI_COMPOSING_CHAR
     No longer used.
public  intWARN_XMLBASE_MISSING
    



Field Detail
EM_ERROR
public int EM_ERROR(Code)
Used as ErrorMode to report error, and not generate associated triples. In the event of an error (i.e. a condition with this error mode), no further triples involving the resources and literals associated with the error are created. The precise definition of 'associated with' is deliberately undefined, and may change in future releases. When the file includes fatal error conditions the parsing is aborted immediately after such an error. Otherwise, it is possible to see all the triples, including those involving resources and literals associated with any condition, by ensuring that the error mode of every error code is WARNING or IGNORE. (i.e. ARP optionally permits all errors to be downgraded to warnings, or to be ignored). In this case, the precise rules which ARP uses to generate triples for ill-formed input are not defined by any standard and are subject to change with future releases. For input involving no errors, ARP creates triples in accordance with the RDF/XML Syntax Revised Recommendation.
See Also:   ARPOptions.setErrorMode



EM_FATAL
public int EM_FATAL(Code)
Used as ErrorMode to stop processing after reporting error.
See Also:   ARPOptions.setErrorMode



EM_IGNORE
public int EM_IGNORE(Code)
Used as ErrorMode to not report an error.
See Also:   ARPOptions.setErrorMode



EM_WARNING
public int EM_WARNING(Code)
Used as ErrorMode to report warning and continue processing.
See Also:   ARPOptions.setErrorMode



ERR_ABOUTEACH_NOT_TOPLEVEL
public int ERR_ABOUTEACH_NOT_TOPLEVEL(Code)
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).



ERR_BAD_RDF_ATTRIBUTE
public int ERR_BAD_RDF_ATTRIBUTE(Code)
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).



ERR_BAD_RDF_ELEMENT
public int ERR_BAD_RDF_ELEMENT(Code)
An element is tagged rdf:XXX where XXX is an RDF attribute name. (E205)



ERR_ENCODING_MISMATCH
public int ERR_ENCODING_MISMATCH(Code)
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 Also:   ARPErrorNumbers.WARN_ENCODING_MISMATCH



ERR_GENERIC_IO
public int ERR_GENERIC_IO(Code)
An IOException occurred. (E213).



ERR_INTERNAL_ERROR
public int ERR_INTERNAL_ERROR(Code)
Should not happen. (E200)



ERR_INTERRUPTED
public int ERR_INTERRUPTED(Code)
The Thread was interrupted. (E302)



ERR_LI_AS_TYPE
public int ERR_LI_AS_TYPE(Code)
rdf:li is being used in the typed node construction. (E204)



ERR_NOT_WHITESPACE
public int ERR_NOT_WHITESPACE(Code)
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)



ERR_RESOLVING_AGAINST_MALFORMED_BASE
public int ERR_RESOLVING_AGAINST_MALFORMED_BASE(Code)
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 ARPErrorNumbers.WARN_MALFORMED_URI ). A relative URI needs to be resolved against it, and this cannot be done correctly. (E214)



ERR_RESOLVING_AGAINST_RELATIVE_BASE
public int ERR_RESOLVING_AGAINST_RELATIVE_BASE(Code)
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 ARPErrorNumbers.WARN_RELATIVE_URI . A relative URI needs to be resolved against it, resulting in a relative URI. (E215)



ERR_RESOLVING_URI_AGAINST_NULL_BASE
public int ERR_RESOLVING_URI_AGAINST_NULL_BASE(Code)
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).



ERR_SAX_ERROR
public int ERR_SAX_ERROR(Code)
The SAX Parser generated an error. Treated as an error in both default and strict modes. (E209)



ERR_SAX_FATAL_ERROR
public int ERR_SAX_FATAL_ERROR(Code)
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)



ERR_STRING_NOT_NORMAL_FORM_C
public int ERR_STRING_NOT_NORMAL_FORM_C(Code)
No longer used.
See Also:   ARPErrorNumbers.WARN_STRING_NOT_NORMAL_FORM_C



ERR_SYNTAX_ERROR
public int ERR_SYNTAX_ERROR(Code)
The attributes or element tags contravene the RDF grammar. (XML syntax errors are not reported with this mechanism, but as 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 ParseException.isSyntaxError to check for syntax errors. (E201).



ERR_UNABLE_TO_RECOVER
public int ERR_UNABLE_TO_RECOVER(Code)
No longer used. (E300)



ERR_URI_NOT_NORMAL_FORM_C
public int ERR_URI_NOT_NORMAL_FORM_C(Code)
No longer used.(E208).



ERR_UTF_ENCODING
public int ERR_UTF_ENCODING(Code)
The document claimed to be UTF-8 but was not. It probably needs an xml declaration with an encoding attribute. (E212).



IGN_DAML_COLLECTION
public int IGN_DAML_COLLECTION(Code)
The use of rdf:parseType="daml:collection" does not conform with RDF2004. This is ignored in default mode. In strict mode the parser follows the conformant behaviour which is to silently treat this as rdf:parseType="Literal" (W004).



IGN_NO_BASE_URI_SPECIFIED
public int IGN_NO_BASE_URI_SPECIFIED(Code)
Indicates that no name is known for the current file being parsed. (W005)



IGN_PRIVATE_XMLLANG
public int IGN_PRIVATE_XMLLANG(Code)
An xml:lang attribute uses one or more of the extension facilities in RFC3066 or ISO639. In some way, the langauge specified is non-standard. In both default and strict modes this is ignored; a conservative application in verbose mode may wish to raise a warning. (W001)
See Also:   com.hp.hpl.jena.rdf.arp.lang.LanguageTagCodes.LT_PRIVATE_USE
See Also:   com.hp.hpl.jena.rdf.arp.lang.LanguageTagCodes.LT_LOCAL_USE
See Also:   com.hp.hpl.jena.rdf.arp.lang.LanguageTagCodes.LT_EXTRA



IGN_XMLBASE_SIGNIFICANT
public int IGN_XMLBASE_SIGNIFICANT(Code)
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). (W003) This is ignored in default and strict mode.
See Also:   ARPErrorNumbers.IGN_XMLBASE_USED



IGN_XMLBASE_USED
public int IGN_XMLBASE_USED(Code)
Indicates that somewhere, other than in an XML Literal an xml:base attribute has been used. This is ignored in default and strict mode. (W002)
See Also:   ARPErrorNumbers.IGN_XMLBASE_SIGNIFICANT



WARN_BAD_NAME
public int WARN_BAD_NAME(Code)
An ID symbol or other grammar production that should be an XML name is malformed. In default mode, the malformed string is passed to the RDF application. (W108) Strict mode treats this as an error.



WARN_BAD_NAMESPACE_URI
public int WARN_BAD_NAMESPACE_URI(Code)
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).



WARN_BAD_RDF_NAMESPACE_URI
public int WARN_BAD_RDF_NAMESPACE_URI(Code)
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.



WARN_BAD_XML
public int WARN_BAD_XML(Code)
No longer used. (W111)



WARN_BAD_XMLLANG
public int WARN_BAD_XMLLANG(Code)
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. The databases used of these registries was a snapshot of July 24, 2001. If you are using language tags that postdate this snapshot, you should ignore this condition. The use of a three letter tag instead of a two letter tag or use of the language tag "und" is also reported under this condition, see RFC3066. In default mode this is a warning, in strict mode an error. (W116)



WARN_BAD_XML_NAMESPACE_URI
public int WARN_BAD_XML_NAMESPACE_URI(Code)
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.



WARN_BIG_FILE
public int WARN_BIG_FILE(Code)
After 10000 rdf:ID attributes have been read, ARP no longer checks for ARPErrorNumbers.WARN_REDEFINITION_OF_ID . This warning is to inform the user that ARP behaviour has changed during parsing.



WARN_DEPRECATED_XMLLANG
public int WARN_DEPRECATED_XMLLANG(Code)
The value of an xml:lang attribute has been deprecated by IANA (W117). In strict and default mode this is a warning.



WARN_ENCODING_MISMATCH
public int WARN_ENCODING_MISMATCH(Code)
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 Also:   ARPErrorNumbers.ERR_ENCODING_MISMATCH



WARN_IN_STRICT_MODE
public int WARN_IN_STRICT_MODE(Code)
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.



WARN_LEGAL_REUSE_OF_ID
public int WARN_LEGAL_REUSE_OF_ID(Code)
No longer used.
See Also:   ARPErrorNumbers.WARN_REDEFINITION_OF_ID



WARN_MALFORMED_URI
public int WARN_MALFORMED_URI(Code)
A URI reference does not conform to the definition of RDF URI Reference. Use Exception.getMessage() for details. In default mode, the malformed URI is passed to the RDF processing application; strict mode treats this as an error. (W107)



WARN_MALFORMED_XMLLANG
public int WARN_MALFORMED_XMLLANG(Code)
The value of an xml:lang attribute does not conform to the syntactic rules of RFC3066. In default mode this is a warning, in strict mode an error. (W115)



WARN_MINOR_INTERNAL_ERROR
public int WARN_MINOR_INTERNAL_ERROR(Code)
Should not happen. (W112)



WARN_NONCANONICAL_IANA_NAME
public int WARN_NONCANONICAL_IANA_NAME(Code)
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).



WARN_NON_IANA_ENCODING
public int WARN_NON_IANA_ENCODING(Code)
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).



WARN_NOT_RDF_NAMESPACE
public int WARN_NOT_RDF_NAMESPACE(Code)
It seems likely that the namespace for rdf: has a typo in it. (W135)



WARN_PROCESSING_INSTRUCTION_IN_RDF
public int WARN_PROCESSING_INSTRUCTION_IN_RDF(Code)
An XML processing instruction occurred in RDF content. Such instructions are ignored, and are usually in error. (W119). In default mode this is a warning; in strict mode it is ignored.



WARN_QNAME_AS_ID
public int WARN_QNAME_AS_ID(Code)
No longer used. (W122). ARPErrorNumbers.WARN_BAD_NAME



WARN_RDF_NN_AS_TYPE
public int WARN_RDF_NN_AS_TYPE(Code)
rdf:_NNN is being used in the typed node construction. In default mode this is a warning; in strict mode it is ignored.(W114)



WARN_REDEFINITION_OF_ID
public int WARN_REDEFINITION_OF_ID(Code)
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). The default mode allows this with a warning. This check is expensive in memory. When processing very large files, it may be sensible to switch the check off by using ARPOptions.setErrorMode(intint) to ignore this condition. (W105).
See Also:   ARPErrorNumbers.WARN_LEGAL_REUSE_OF_ID



WARN_RELATIVE_NAMESPACE_URI_DEPRECATED
public int WARN_RELATIVE_NAMESPACE_URI_DEPRECATED(Code)
A namespace has been declared with a relative URI. Such relative URI namespaces have been deprecated. This often results in related ARPErrorNumbers.WARN_RELATIVE_URI warnings. (W109)



WARN_RELATIVE_URI
public int WARN_RELATIVE_URI(Code)
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)



WARN_RESOLVING_URI_AGAINST_EMPTY_BASE
public int WARN_RESOLVING_URI_AGAINST_EMPTY_BASE(Code)
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).



WARN_SAX_WARNING
public int WARN_SAX_WARNING(Code)
The SAX Parser generated a warning. Treated as a warning in both default and strict modes. (W126)



WARN_STRING_COMPOSING_CHAR
public int WARN_STRING_COMPOSING_CHAR(Code)
String Literals in RDF should not start with a composing char, 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).



WARN_STRING_NOT_NORMAL_FORM_C
public int WARN_STRING_NOT_NORMAL_FORM_C(Code)
String Literals in RDF should be in Unicode Normal Form C (W131).



WARN_UNKNOWN_PARSETYPE
public int WARN_UNKNOWN_PARSETYPE(Code)
An unrecognised value for rdf:parseType has been found. In strict mode, this error is ignored, and it is treated as rdf:parseType="Literal", in default mode a warning is issued. (W106)



WARN_UNKNOWN_RDF_ATTRIBUTE
public int WARN_UNKNOWN_RDF_ATTRIBUTE(Code)
An attribute name in the RDF namespace has been used that is not a reserved RDF attribute name. In default and strict modes, a statement is generated with the given name as property. In default and strict modes this is a warning. (W103).



WARN_UNKNOWN_RDF_ELEMENT
public int WARN_UNKNOWN_RDF_ELEMENT(Code)
An element is tagged rdf:XXX where XXX is not a recognised RDF element name. The typed node or property element construction is matched. In both default and strict modes this is a warning. (W113).



WARN_UNKNOWN_XML_ATTRIBUTE
public int WARN_UNKNOWN_XML_ATTRIBUTE(Code)
An attribute from the xml namespace has been used that is not recognised. (W118). In default mode this is a warning; in strict mode it is ignored.



WARN_UNQUALIFIED_ATTRIBUTE
public int WARN_UNQUALIFIED_ATTRIBUTE(Code)
Some attribute that is not an RDF keyword is used in an unqualified fashion. In default mode, then the namespace of the enclosing element is used. In strict mode this is an error. (W102).



WARN_UNQUALIFIED_ELEMENT
public int WARN_UNQUALIFIED_ELEMENT(Code)
An element tag is not a qualified name. In default mode, a resource or property is generated with a malformed URI. Strict mode treats this as an error. (W104).



WARN_UNQUALIFIED_RDF_ATTRIBUTE
public int WARN_UNQUALIFIED_RDF_ATTRIBUTE(Code)
A standard rdf attribute like type or about is used without a namespace qualifier. In default and strict mode ARP adds the rdf: qualifier and reports a warning. (W101).



WARN_UNSUPPORTED_ENCODING
public int WARN_UNSUPPORTED_ENCODING(Code)
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).



WARN_URI_COMPOSING_CHAR
public int WARN_URI_COMPOSING_CHAR(Code)
No longer used. (W123)



WARN_XMLBASE_MISSING
public int WARN_XMLBASE_MISSING(Code)
(W100) ARPErrorNumbers.IGN_NO_BASE_URI_SPECIFIED





www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.