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
Daniel MettlerSubject: nonbreakingspace-bug in stylus?
Author: Daniel Mettler
Date: 21 Jan 2000 10:06 AM
hi,

i have a question about saving xsl-files in stylus:

i wrote a xsl-file containing some encoded nonbreaking-space characters (ampersand square 160 comma-point). when i reopen the file, stylus replaced each occurrence with a question-mark ('?'). is this a bug? do you know a work-around?

another question: can i have stylus not to change the formatting of my xsl-code when saving files?

thanks

dan

Postnext
(Deleted User) Subject: nonbreakingspace-bug in stylus?
Author: (Deleted User)
Date: 21 Jan 2000 10:26 AM
I need a bit more information.

1) What version of Stylus (see Help | About) are you running?

2) I'm not clear exactly what steps you performed. You have " " (ampersand-pound-160-semicolon) in an XSL template, and when you save the stylesheet and reload it, the template contains a '?' instead?

3) What stylesheet formatting are you referring to? Do you mean Stylus's adding the two default templates?

--Alex

Postnext
Daniel MettlerSubject: nonbreakingspace-bug in stylus?
Author: Daniel Mettler
Date: 21 Jan 2000 11:12 AM
hi alex,

On 1/21/00 10:26:17 AM, alloyd wrote:
>1) What version of Stylus (see
>Help | About) are you running?

(excelon server 2.0)
stylus 1.0 (1.03.01)

>2) I'm not clear exactly what
>steps you performed. You have
>" "
>(ampersand-pound-160-semicolon
>) in an XSL template, and when
>you save the stylesheet and
>reload it, the template
>contains a '?' instead?

exactly. i do not use any entities, just the above to insert a nbsp into my html-output...

>3) What stylesheet formatting
>are you referring to? Do you
>mean Stylus's adding the two
>default templates?

no, i meant the formatting of the xsl-code i wrote. if i save a xsl-file and reopen it, stylus adds new linebreaks between normal xsl-tag-areas and comment-tag-areas, confusing me and my code a bit ;-). this seems to happen not with all comments.

e.g. (ignore \)
\ \<\!-- optional --\>

gets

\

\<\!-- optional --\>

i would appreciate if stylus would not format the code, just highlight etc..

kind regards

da

Posttop
(Deleted User) Subject: nonbreakingspace-bug in stylus?
Author: (Deleted User)
Date: 21 Jan 2000 11:59 AM
Regarding Stylus' reformatting your stylesheet:
It is a known Stylus issue that extra line breaks are added between top-level stylesheet elements and comments.

Regarding your &#160; problem:
I'm unable to reproduce it with Stylus 1.03.01. Can you email me the styleshet you're starting with and exact steps? Thanks.

--Alex (alloyd@odi.com)

 
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.