XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Wolfgang KostorzSubject: Debug-Error using Xalan-J
Author: Wolfgang Kostorz
Date: 10 Nov 2003 09:40 AM

I have a problem in debugging the following example:


all looks fine until I debug it with the Xalan-J pocessor.

"normal" run:

"debug" run:

He's eating my attribute :-(

I'm using Version 5.0 127e

Thanx for your help

Example file including the output

Minollo I.Subject: Re: Debug-Error using Xalan-J
Author: Minollo I.
Date: 10 Nov 2003 02:54 PM
thanks for reporting this.

The problem is caused by the way XalanJ 2.4.1 handles whitespaces in XSLT;
Stylus needs not to completely ignore those whitespaces in debug mode to
let you properly follow the execution line by line, but that confuses
XalanJ in this case, as it considers the definition of {test} complete as
soon as it finds a newline. A workaround is to remove whitespaces between
{test} and the {xsl:attribute} elements.

XalanJ 2.5.1 fixes this and other problems related to namespaces in
xsl:attribute elements; Stylus Studio 5.1 bundles the newest XalanJ
version, so the problem will just go away in the next version (beginning of

In the meanwhile, we have created a limited workaround which addresses the
behavior you are seeing; we are making this available as a maintenance
update in a couple of days (BL127h).

Thanks for your patience,

Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.