Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
jaxp\TypeInfoWriter.java - Apache Xerves JAXP Sample
What is the jaxp\TypeInfoWriter.java provided in the Apache Xerces package? I have Apache Xerces 2.11.0 installed.
✍: FYIcenter
jaxp\TypeInfoWriter.java provided in the Apache Xerces package provides a trace of the schema type information for elements and attributes in an XML document. This demonstrates usage of the JAXP 1.4 Validation API, particuarly how to read type information from a TypeInfoProvider.
Here is how to run jaxp\TypeInfoWriter.java, if you have Apache Xerces 2.11.0 installed:
>\fyicenter\jdk-1.8.0\bin\java -cp \fyicenter\xerces-2_11_0\xercesSamples.jar jaxp.TypeInfoWriter usage: java jaxp.TypeInfoWriter (options) ... options: -l name Select schema language by name. -p name Select parser by name. -a uri ... Provide a list of schema documents -i uri ... Provide a list of instance documents to validate -f | -F Turn on/off Schema full checking. NOTE: Not supported by all schema factories and validators. -hs | -HS Turn on/off honouring of all schema locations. NOTE: Not supported by all schema factories and validators. -va | -VA Turn on/off validation of schema annotations. NOTE: Not supported by all schema factories and validators. -ga | -GA Turn on/off generation of synthetic schema annotations. NOTE: Not supported by all schema factories and validators. -h This help screen. defaults: Schema language: http://www.w3.org/2001/XMLSchema Parser: org.apache.xerces.parsers.SAXParser Schema full checking: off Honour all schema locations: off Validate annotations: off Generate synthetic annotations: off
⇒ Display XML Element Type Info with jaxp\TypeInfoWriter.java
⇐ Performance of XML Parsers with jaxp\SourceValidator.java
2017-07-30, 11948🔥, 0💬
Popular Posts:
What Is ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is the JAR files of ojdbc.jar, JD...
JDK 11 jrt-fs.jar is the JAR file for JDK 11 JRT-FS (Java RunTime - File System) defined in the "jdk...
What Is HttpComponents commons-httpclient-3.1.j ar?HttpComponents commons-httpclient-3.1.j aris the ...
What Is log4j-1.2.15.jar? I got the JAR file from apache-log4j-1.2.15.zip. log4j-1.2.15.jar is the v...
What Is poi-scratchpad-3.5.jar? poi-scratchpad-3.5.jar is one of the JAR files for Apache POI 3.5, w...