Package org.apache.xml.resolver.apps
Class xparse
- java.lang.Object
-
- org.apache.xml.resolver.apps.xparse
-
public class xparse extends java.lang.ObjectDeprecated.This interface has been replaced by theResolvingXMLReaderfor SAX2.A simple command-line XML parsing application.This class implements a simple command-line XML Parser. It's just a little wrapper around the JAXP Parser with support for catalogs.
Usage: xparse [options] document.xml
Where:
-ccatalogfile- Load a particular catalog file.
-w- Perform a well-formed parse, not a validating parse.
-v(the default)- Perform a validating parse.
-n- Perform a namespace-ignorant parse.
-N(the default)- Perform a namespace-aware parse.
-dinteger- Set the debug level. Warnings are shown if the debug level is > 2.
-Einteger- Set the maximum number of errors to display.
The process ends with error-level 1, if there errors.
- Version:
- 1.0
- Author:
- Norman Walsh Norman.Walsh@Sun.COM
- See Also:
ResolvingParser
-
-
Constructor Summary
Constructors Constructor Description xparse()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Deprecated.The main entry point
-