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
Riten MehtaSubject: Space problem in Stylus-Studio
Author: Riten Mehta
Date: 18 May 2004 08:04 AM
Hi,
To whom it may concern.
I am getting spaces in my files while I am
using stylus studio. For check in and check
out purpose I am using Rational clear case.
Well i am mailing attachment with stylus
studio setting. Could you pls let me know
how to get rid with these space problem.
Is these stylus studio problem or there is
problem with clear case.

Waiting for your reply.

Thanks & Regards

Riten.


Imagestylus studio setting.JPG

Postnext
Alberto MassariSubject: Re: Space problem in Stylus-Studio
Author: Alberto Massari
Date: 18 May 2004 08:31 AM
Hi Riten,
can you provide an example? What kind of spaces that you didn't write do
you see in the XML files?
Do they appear only when you check the file out from ClearCase?

Alberto


Postnext
Riten MehtaSubject: Re: Space problem in Stylus-Studio
Author: Riten Mehta
Date: 19 May 2004 02:45 AM
Hi

Here is file in which i am getting space problem
these is one file like that their are so many
other file in which i am having same problem.
Can u pls let me know what would be a problem.
So that i can get rid of these problem either.
it is clear case problem or xml editor problem.

Thanks & Regards

Riten.


DocumentSpace problem file.JPG

Postnext
Tony LavinioSubject: Re: Space problem in Stylus-Studio
Author: Tony Lavinio
Date: 19 May 2004 01:17 PM
We had a problem that kept image files with spaces in their names
from being seen. For existing files with that problem, replace any
'+' symbols in the URL with '%20'. For files attached from this
point forward, there should not be a problem.

Posttop
Alberto MassariSubject: Re: Space problem in Stylus-Studio
Author: Alberto Massari
Date: 19 May 2004 02:07 PM
Hi Riten,
it looks like your end-of-line characters gets duplicated after going
through a check-in/check-out operation.
Stylus 4.5/4.6 (the version you are using, at least from what I can
understand from the screenshot) always writes the XML documents using the
sequence CR-LF, the standard Windows uses (if you open the document using
an hexadecimal editor, you will see each line followed by the two
characters 0x0D 0x0A).

I guess that somehow ClearCase thinks the document is using a different
end-of-line, and "fixing" it; but I would need to look at the XML document
to see which standard it is expecting.
In any case, I see two solutions:
1) as ClearCase is probably misconfigured, you can ask your IT department
to check why it is assuming a different end-of-line character (unless you
are using a Unix or Mac machine to do the check-in/check-out operation)
2) try downloading an evaluation version of Stylus 5.1 from
http://www.stylusstudio.com; this version autodetects the end-of-line
character being used in the document and use it when saving the document.
If it works, you could consider upgrading your 4.x license.

Hope this helps,
Alberto


 
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.