To Daniel/friendly neighborhood libxml2 developers/anyone interested in this bug,
I believe I was mistaken about this bug. This bug does *not* exist in 2.6.26 as I reported. I *does* exist in 2.6.16 which I believe is the version that shipped with Mac OS X 10.4 Tiger. I was using this built- in version (2.6.16) mistakenly when running my tests. I had thought I was using 2.6.26, but I was wrong. The bug no longer exists in 2.6.26 as far as I can tell. Apparently it was fixed sometime between the two versions. So my humble advice to anyone wanting to use the RELAX NG features of libxml2 is to use the very latest version: 2.6.26. In 2.6.26, the "xmlStructuredErrorFunc" reports RNG validity errors. I had assumed that the "xmlTextReaderErrorFunc" would report these, but I guess I was wrong about that too. Although... perhaps *that's* a bug? ;) I've updated the bugzilla bug: http://bugzilla.gnome.org/show_bug.cgi?id=346414 Thanks, Todd Ditchendorf Scandalous Software - Cocoa Developer Tools http://scan.dalo.us On Jul 2, 2006, at 2:11 AM, Daniel Veillard wrote: > On Sat, Jul 01, 2006 at 10:19:15PM -0700, Todd Ditchendorf wrote: >> Can anyone help me with registering RELAX NG validity error callback >> functions? > > Seems to be a bug in the reader implementation, when registering an > error handler on the reader it should also propagate to the associated > schemas, I don't think you can fix it from the API since the reader > RNG validation context is not accessible, so please bugzilla this, > this > should be easy to fix. > > thanks, > > Daniel > > -- > Daniel Veillard | Red Hat http://redhat.com/ > [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http:// > xmlsoft.org/ > http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
