Categories:
Audio (13)
Biotech (29)
Bytecode (35)
Database (77)
Framework (7)
Game (7)
General (512)
Graphics (53)
I/O (32)
IDE (2)
JAR Tools (86)
JavaBeans (16)
JDBC (89)
JDK (337)
JSP (20)
Logging (103)
Mail (54)
Messaging (8)
Network (71)
PDF (94)
Report (7)
Scripting (83)
Security (32)
Server (119)
Servlet (17)
SOAP (24)
Testing (50)
Web (19)
XML (301)
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
Â
2017-07-30, 5409👍, 0💬
Popular Posts:
How to run "jar" command from JDK tools.jar file? "jar" is the JAR (Java Archive) file management co...
The Apache FontBox library is an open source Java tool to obtain low level information from font fil...
JDK 11 jdk.crypto.mscapi.jmod is the JMOD file for JDK 11 Crypto MSCAPI module. JDK 11 Crypto MSCAPI...
Jaxen, Release 1.1.1, is an open source XPath library written in Java. It is adaptable to many diffe...
The Digester package lets you configure an XML -> Java object mapping module, which triggers certain...