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
Postnext
Christos KarrasSubject: Bug when switching from WYSIWYG to XSLT source
Author: Christos Karras
Date: 25 Nov 2003 10:54 AM
When I switch from XSLT Source to WYSIWYG view and then back to XSLT Source, some of my code is removed or corrupted. I have encountered the following bugs (Stylus Studio 5.0 build 127f):

1. If I have:
<xsl:apply-templates mode="test" select=".">
<xsl:with-param name="var" select="'value'"/>
</xsl:apply-templates>

After switching to WYSIWYG and then back to source, the <xsl:with-param> disappears.
This only seems to happen with an apply-templates that has a mode="" and select="." or select="*". If I select a specific name (select="test"), the bug doesn't happen

2. Some html tags get corrupted, for example:
<a href="test.html" onmouseout="MM_swapImgRestore();" onMouseOver="MM_swapImage('img1','','images/arrow_green_over.gif',1);">test</a>

becomes this after switching from source to WYSIWYG and then back to source:

<a onmouseout='MM_swapImgRestore(); href="test.html"' href="test.html" onmouseover="MM_swapImage('img1','','images/arrow_green_over.gif',1);">test</a>

Postnext
Minollo I.Subject: Re: Bug when switching from WYSIWYG to XSLT source
Author: Minollo I.
Date: 25 Nov 2003 11:09 AM
Thanks Christos; we will work on the problems you have reported soon.

Thanks,
Minollo

Postnext
M. MonacelliSubject: Bug when switching from WYSIWYG to XSLT source
Author: M. Monacelli
Date: 05 Jan 2004 05:31 PM
I'm having similar problems.

I'm loosing tag attributes when switching between wysiwyg and xslt source view.

Repoduce the probem by doing the following:
1. edit the source by adding a nowrap=1 attribute-value pair to the td tag.
2. switch to wysiwyg view
3. switch back to the xslt source view.

The attribute is gone.

Posttop
M. MonacelliSubject: Bug when switching from WYSIWYG to XSLT source
Author: M. Monacelli
Date: 05 Jan 2004 05:34 PM
I forgot to mention that I'm running the Stylus Studio version 5.1 173d.

 
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!  
go

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.