Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
Collections:
Other Resources:
sax\DocumentTracker.java - Apache Xerves Sax Sample
What is the sax\DocumentTracker.java provided in the Apache Xerces package? I have Apache Xerces 2.11.0 installed.
✍: FYIcenter
sax\DocumentTracker.java provided in the Apache Xerces package
provides a complete trace of SAX2 events for files parsed. This is useful for
making sure that a SAX parser implementation faithfully communicates all
information in the document to the SAX handlers.
Here is how to run sax\DocumentTracker.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 sax.DocumentTracer usage: java sax.DocumentTracer (options) uri ... options: -p name Select parser by name. -n | -N Turn on/off namespace processing. -np | -NP Turn on/off namespace prefixes. NOTE: Requires use of -n. -v | -V Turn on/off validation. -xd | -XD Turn on/off loading of external DTDs. NOTE: Always on when -v in use and not supported by all parsers. -s | -S Turn on/off Schema validation support. NOTE: Not supported by all parsers. -f | -F Turn on/off Schema full checking. NOTE: Requires use of -s and not supported by all parsers. -hs | -HS Turn on/off honouring of all schema locations. NOTE: Requires use of -s and not supported by all parsers. -va | -VA Turn on/off validation of schema annotations. NOTE: Requires use of -s and not supported by all parsers. -dv | -DV Turn on/off dynamic validation. NOTE: Not supported by all parsers. -xi | -XI Turn on/off XInclude processing. NOTE: Not supported by all parsers. -xb | -XB Turn on/off base URI fixup during XInclude processing. NOTE: Requires use of -xi and not supported by all parsers. -xl | -XL Turn on/off language fixup during XInclude processing. NOTE: Requires use of -xi and not supported by all parsers. -h This help screen. defaults: Parser: org.apache.xerces.parsers.SAXParser Namespaces: on Prefixes: off Validation: off Load External DTD: on Schema: off Schema full checking: off Honour all schema locations: off Validate annotations: off Dynamic: off XInclude: off XInclude base URI fixup: on XInclude language fixup: on
⇒ Show XML Parsing Flow with sax\DocumentTracer.java
⇐ XML Schema Validaiton with sax\Writer.java
2017-10-08, ∼3343🔥, 0💬
Popular Posts:
itextpdf.jar is a component in iText 5 Java library to provide core functionalities. iText Java libr...
commons-io-2.6-sources.j aris the source JAR file for Apache Commons IO 2.6, which is a library of u...
How to download and install JDK (Java Development Kit) 6? If you want to write Java applications, yo...
JDK 17 jdk.jfr.jmod is the JMOD file for JDK 17 JFR module. JDK 17 JFR module compiled class files a...
How to download and install ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is a Java 5 J...