That book was based on XML4J version 1, I think.
We're up to version 3 now (essentially Xerces 1.0.3 is XML4J version 3).

We've moved away from proprietary interfaces, to adhere more closely to
standards.  I'm not sure there's an equivalent to that particular function.

Check out the examples (in the Xerces-J distribution and docs) for an
example of a validating SAX parser.

Terence McGhee wrote:
> 
> Could you help me out please? I recently bought the book "XML and Java" by
> Maruyama et al. I'm trying to implement a validating SAX parser. It appears
> that the example in the book is a bit outdated, as the XML4J product has
> changed extensively. Could you please point me in the direction of a code
> sample that uses a validating SAX parser? I'm having a difficult time
> finding the equivalent of "parser.getNumberOfErrors( ) "
> 
> If anyone can help, would you please respond to me directly? Thank you.
> 
> --
> TMc

Reply via email to