I don't know how to solve your problem, I'm afraid. I just wanted to point out that I've noticed similar behaviour when using the <c:catch> tag, and not using xtags. I believe there is something odd happening under the covers when <c:catch> is used that can interfere with the behaviour of subsequent parts of the page.

It's probably worth filing a bug, if you have a brief example that demonstrates the problem that you could include in the bug report.

--
Martin Cooper


On Thu, 8 Jul 2004, Malcolm Cowe wrote:

I am trying to wrap an xtags:parse command in a catch tag, so that I can trap errors without Tomcat hurling all over the browser. This is fine, but I need to apply an XSL stylesheet to the parsed document, and this fails if the c:catch tag is in place. Code fragment follows:

<c:catch var="xmlerr">
 <xtags:parse url="http://some/place/x.xml"; id="x"/>
</c:catch>

<%-- Some intermediate XML processing stuff deleted --%>

<xtags:style document="<%= x %>" xsl="y.xsl"/>


How can I reference the id "x" from the xtags:style tag?

I parse the XML file in this way in order that I can manipulate the XML before sending it to the XSL processor. Unfortunately, the manipulation cannot be accommodated by XSLT. Take the c:catch tag away and everything works fine.


Regards,

Malcolm Cowe.


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



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



Reply via email to