|
From: Peter F. <pet...@zv...> - 2001-08-02 16:30:13
|
Steve Ball wrote:
>
> "Kenneth H. Cox" wrote:
> >
> > Folks, I was trying to use TclSOAP to do RPC when I encountered a
> > tclxml parser bug (it's in the sourceforge tracker): it can't parse
> > this:
> >
> > <?xml version='1.0'?>
> > <Envelope><Body><method>
> > <return>{{SOAP transport error: "HTTP/1.1 401 Authorization Required"}}</return>
> > </method></Body></Envelope>
>
> TclXML v2.1theta fixes that bug. I just released it.
>
> > I thought I should try the C-based parsers, thinking maybe since these
> > are tcl-special characters, the bug won't exist in the C parser. I
> > compiled up the latest tclxml and tcldom. To my surprise, it dumps
> > core when running the tests:
> >
> > $ tclsh8.2 tclxml.tcl
> > ...
> > Tcl_AppendStringsToObj called with shared object
> > Abort (core dumped)
> >
> > Am I wasting my time, or does anyone have the C parsers working? I
> > tried with tcl8.2.3 and tcl8.3.3.
>
> That's why the C distribution of TclXML hasn't been released yet.
> Peter Farmer was working on trying to track down and fix that bug,
> but if anyone can help it would be much appreciated. I believe the
> problem is in the TclXML generic layer, rather than the expat wrapper
> module (Pete: can you add to this?).
>
I was chasing that bug several months ago. It was proving very difficult
to
debug. I know where it goes wrong, but still havent figured why .
I had to lay it aside coz it was taking up too much paid work time. I
hope
to pick up the threads and trace away at that issue again tomorrow.
--
Peter Farmer | Custom XML software | Internet Engineering
Zveno Pty Ltd | Website XML Solutions | Training & Seminars
http://www.zveno.com/ | Open Source Tools | - XML XSL Tcl
Pet...@zv... +------------------------+---------------------
Ph. +61 8 92036380 | Mobile +61 417 906 851 | Fax +61 8 92036380
|