Hi
This is a patch to XSP.pm, it changes the way XML is built up. At the moment
XML is added to the document when a start_element is encountered, this
changes it
to adding it when the end_element happens.
The advantage being that if an exception happens, the xml generated only
contains xml tags which have been fully closed.
Before.... if you had the following xsp.
<xml>
<err:try>
<wibble/>
<tag>
<die:throw/>
</tag>
<err:catch>
<exception/>
</err:catch>
</err:try>
</xml>
you ended up with...
<xml>
<wibble/>
<tag>
<exception/>
</tag>
</xml>
Now you get.
<xml>
<wibble/>
<exception/>
</xml>
So this means you don't have to write xsp code which throws all it's
exceptions at the start,
but can now throw whenever it wants to, and it should do the right thing.
Mike.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]