"Terje Bless" <[EMAIL PROTECTED]> writes:

> I've been watching the Xerces-* projects with interest for a while, but
> have come to realise that it operates at a too low level for what I need.
> 
> So I wonder if anyone are building utilities based on the Xerces
> infrastructure? In particular, I'm looking for something analogous to James
> Clark's SP toolset (specifically nsgmls). Something that works either as a
> command line utility or as a Perl library, that will take XML as input and
> output both some kind of document structure (preferably as ESIS, but
> DOM/SAX/whatever might work too) _and_ (and this is he crux) some easily
> parseable and readable list of encountered errors. ATM just Well-Formedness
> errors and Validitity errors, but in the future also the results of Schema
> Validation.
> 
> At the moment I'm calling SP as `nsgmls -wxml -c catalog file.xml`, and
> reporting any encountered errors more or less directly to the user as:
> 
>     $line, $column: $message
> 
> (if you'll forgive the pseudo-code)

Hejsan,

My appologies for the terse answer to your useful question, but I'm at
the OpenSource conference at the moment...

Instead of nsgmls I most frequently use either the SAXCount or
DOMCount applications that come with Xerces to do the same
thing. Xerces.pm includes versions of these that are both schema and
namespace aware (in the samples/ dir). You could modify these examples
to better suit your needs, and I'd be happy to help.

jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to