com.sun.resolver.apps
Class xparse

java.lang.Object
  extended bycom.sun.resolver.apps.xparse

Deprecated. This interface has been replaced by the ResolvingXMLReader for SAX2.

public class xparse
extends java.lang.Object

A simple command-line XML parsing application.

Copyright © 2000, 2001 Sun Microsystems, Inc. All Rights Reserved. This software is the proprietary information of Sun Microsystems, Inc. Use is subject to license terms.

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:

-c catalogfile
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.
-d integer
Set the debug level. Warnings are shown if the debug level is > 2.
-E integer
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
xparse()
          Deprecated.  
 
Method Summary
static void main(java.lang.String[] args)
          Deprecated. The main entry point
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

xparse

public xparse()
Deprecated. 
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.FileNotFoundException,
                        java.io.IOException
Deprecated. 
The main entry point

Throws:
java.io.FileNotFoundException
java.io.IOException