Re: Anyone building utilities from Xerces-P?

[email protected] (Jason E. Stewart)
Newsgroups gmane.text.xml.xerces-p.devel
Message-ID <[email protected]>
"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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.