I have come across an interesting problem with the 1.3 implementation of Xerces Perl. For starters I was unable to install from source any other version higher than this, I kept getting error messages, and Deb pacakges are not availalbe for Potato. So upgrading is not an option...
Here is what I want to do... I have created a class that needs to store state on different instances, each instance can parse an XML file. I want to write an error handler that will store the error messages and warnings that occur while parsing and XML document. These errors can then later be retrieved by the calling object... For example $object->parse($XMLFile); ... This function parses the xmlfile and does stuff returns success or ... failuer $object->getErrorsOccured(); ... Gets a string of all the errors that occured while parsing the ... xmlfile using xerces I tried to subclass the perlErrorHandler but I didn't get anywhere I added a fuction to it and was told by perl that it couldn't find the .al file associated with that fuction. Does anyboyd have any thoughts on this? I know my explination is a little confusing so if you have any questions please let me know. Thanks in advance... -- 0/ Derek Wueppelmann [EMAIL PROTECTED] /D Canada NewsWire Ltd. http://www.newswire.ca / ) Work: (416) 863-2107 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
