Manpages

NAME

xml-xread − Parse XML documents with entity and URI resolution

SYNOPSIS

xml-xread [options] xmlfile

DESCRIPTION

xml-xread is a simple command line tool for parsing and validating XML documents. It is not an actual XML parser, it just wraps around a JAXP XMLReader, adding support for catalog-based entity and URI resolution.

OPTIONS

−c catalogfile

Load a particular catalog file. May be specified multiple times.

−v

Perform a validating parse. This is the default.

−w

Perform a well-formed parse, not a validating parse.

−N

Perform a namespace-aware parse. This is the default.

−n

Perform a namespace-ignorant parse.

−d debuglevel

Set the debug level (an integer). Warnings are shown if the debug level is set to greater than 2.

−E maxerrors

Set the maximum number of errors to display. The default is 10.

FILES

/etc/java/resolver/CatalogManager.properties

The central catalog manager configuration file used by xml-xread.

SEE ALSO

xml-parse(1), xml-resolver(1), java(1), the OASIS entity resolution technical committee home page at <http://www.oasis-open.org/committees/entity/>;.

AUTHOR

Norman Walsh <Norman.Walsh [AT] Sun.COM>