Re: Limited XML tidy

2005-08-26 Thread Toby White
[EMAIL PROTECTED] writes: The problem is that when the sax handler raises an exception, I can't see how to find out why. What I want to do is for DodgyErrorHandler to do something different depending on where we are in the course of parsing. Is there anyway to get that information back from

Re: Limited XML tidy

2005-08-25 Thread Magnus Lie Hetland
In article [EMAIL PROTECTED], Toby White wrote: [snip] I do similar stuff in the new (upcoming) version of Atox (atox.sf.net), which works with potentially ill-formed, partial XML (in the form of PYX events) internally, and can take partial, ill-formed XML as input. The problem is that when the

Re: Limited XML tidy

2005-08-25 Thread uche . ogbuji
The problem is that when the sax handler raises an exception, I can't see how to find out why. What I want to do is for DodgyErrorHandler to do something different depending on where we are in the course of parsing. Is there anyway to get that information back from xml.sax (or indeed from any

Limited XML tidy

2005-08-23 Thread Toby White
I have a program which produces well-formed XML documents, but takes several hours if not days to do so. It would be useful to be able to take the incomplete output and manipulate it as XML. Clearly, however, the incomplete output will not be well- formed, so before being able to manipulate it I

Limited XML tidy

2005-08-23 Thread Toby White
I have a program which produces well-formed XML documents, but takes several hours if not days to do so. It would be useful to be able to take the incomplete output and manipulate it as XML. Clearly, however, the incomplete output will not be well- formed, so before being able to manipulate it I