I've been tracking down an annoying problem in the SAXMachines language
module whereby my SAX filters properly run, but the contents of the raw
file on disk is processed by the downstream processors, rather than the
results of my Pipeline.  I narrowed it down to the fact that the DOM
tree generated by XML::LibXML::SAX::Builder was expected to be returned
by $pipeline->parse_string().

I'm not sure if the return value of an end_document event is supposed to
be returned by parse() (I'm on holiday, and don't have my Michael Kay
XML book), but it didn't seem to be doing that anyway.

I created the "saxbuilder-domref.patch" patch to XML::LibXML, and
modified the SAXMachines language module to use that new patch.

I'm not sure if the XML::LibXML patch will actually be accepted, but It
Works For Me(tm).

Does anyone know any other way of getting around this problem? (one that
doesn't require patching two separate packages?)

-- 
OpenSource: Every now and then, you get what you don't pay for.

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

Reply via email to