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

> >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.
> 
> I've looked at these samples, and they're way too simplistic for my needs.
> In particular, they don't even attempt to trap errors and the output format
> doesn't lend itself to parsing. What I'm getting from nsgmls is:
> 
> nsgmls:<OSFD>0:1:0:E: no DOCTYPE declaration
> 
> This tells me the source of the error (nsgmls), the file containing the
> error ("<OSFD>0" (file descriptor 0, aka. STDIN), the line number in that
> "file" (1), the column number (0), and the error message. I need the file
> containing the error to report whether the error occurred in an external
> subset (usually resolved via a DOCTYPE and a catalog in this application),
> the line and column numbers, and the message for reporting to the user.

Hi Terje,

I don't know if this is still interesting for you, but I finally found
the time to write this. It will be in the next release in
samples/validator.pl

Cheers,
jas.



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

Reply via email to