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
Bart RoozendaalSubject: Folders are kept n use
Author: Bart Roozendaal
Date: 03 Jun 2005 05:43 AM
Hi,

I love SStudio, but I noticed one thing. When closing a file, there still is some reference to it kept in memory and the file is kept 'in use'. When trying to delete a folder that holds a file that was open in SStudio, access is denied. When closing SStudio, the folder can be deleted.

From experience I learned that this typically can be caused by using FindFirst and FindNext (Windows calls to traverse a folder) loop, without having the FindClose that is needed to close references to found files. Maybe this helps.

Bye,
Bart Roozendaal

Postnext
Ivan PedruzziSubject: Folders are kept n use
Author: Ivan Pedruzzi
Date: 06 Jun 2005 08:53 PM

Bart

Are you able to replicate that consistently?
If you can send us mode details at stylus-field-report @ progress.com

Thank You
Ivan

Postnext
Bart RoozendaalSubject: Folders are kept n use
Author: Bart Roozendaal
Date: 06 Jun 2005 08:56 PM
Yes i can. it is really pretty simple to replicate. Open an XSL file, execute a translation. Close the xml file that was used in the translation. try to delete the folder that holds the xml file and it will fail...

Can't really send more details than that really...

Postnext
Ivan PedruzziSubject: Folders are kept n use
Author: Ivan Pedruzzi
Date: 06 Jun 2005 09:00 PM


Which Stylus Studio Version?

Which XSLT processor are you running?

Thanks
Ivan

Postnext
Bart RoozendaalSubject: Folders are kept n use
Author: Bart Roozendaal
Date: 06 Jun 2005 09:04 PM
I'm using Build 287L, stylus studio 6. I'm using the build-in processor.

Postnext
Ivan PedruzziSubject: Folders are kept n use
Author: Ivan Pedruzzi
Date: 10 Jun 2005 12:08 AM
Bart,

I tried several combinations but i am not able to reproduce it.
Are you sure that nothing else is holding a lock to the diretory?
for example a DOS console open on the same path would do that.

If you find out more details please let us know.

Thank You for you feedbacks
Ivan Pedruzzi
Stylus Studio Team

Posttop
Bart RoozendaalSubject: Folders are kept n use
Author: Bart Roozendaal
Date: 10 Jun 2005 03:50 AM
Yes, I'm pretty sure. Just had it again the other day. This is what I did then:

1) open an xml file
2) do a translation using an xsl file (using a scenario with the open xml file as the example file).
3) modify something in the xml file.
4) do the translation again.
5) close the xml file, leaving stylus studio open
6) delete it -> gives an error.

I'm getting used to it (in fact was used to it due to a similar error in another XML editor (which was confirmed by the author by the way)) and close stylus studio after I'm done. This is a bit cumbersome because of the longish startup times of Stylus Studion, but it's not a real showstopper for me.

Maybe something on my machine, but can't tell you what. possible related software that I'm using: McAfee anti virus sftware, McAfee firewall software, Microsoft anti-spyware beta.

Anything that you might want on information to help you track it down is available.

Bye,
Bart

 
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.