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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> + Maximum recursion depth exceed... (3)
-> + How do I develop the server si... (2)
-> + XSD Reuse (2)
-> + what happened to my preview re... (3)
-> + How do I use the Custom XML Co... (4)
-> + WYSIWYG missing in release 2 o... (2)
-> + space between elements (3)
-> + Oracle XML Gateway output CONV... (6)
-> + Someone please help me install... (5)
-> + XML Schema (XSD) to COBOL Data... (2)
-> + Can't compile Java (9)
-> + Trouble using the UDDI Browser (5)
-> + JVM Problem when installing Ar... (2)
-> + Stylus Studio Enterprise 8r2 d... (2)
-> - xml report headers (1)
-> + ddtek:sql-delete and ddtek:sql... (4)
-> + Validation blocked (4)
-> + List from XMl to be displayed ... (2)
-> + reports - changing data source (5)
-> + Disable HTML tags in Sense:X (8)
-> + .NETCompiledTransform Paramete... (3)
-> + Why Is The Saxon Processor So ... (13)
-> + Still can not get "integrated ... (15)
-> + quick xml gen from xsd (2)
-> - new to sylus, issue with if va... (1)
-> + Question about using Data Dire... (5)
-> + Why is the DB to XML Data Sour... (2)
-> + Relational db => XML pipeline (2)
-> + connection to oracle 10g (8)
-> + xsl:function misdemeanor (3)
-> + Records Extraction from XML (2)
-> + line break variable destroyed (2)
-> + Restricting on an extended typ... (5)
-> + folding all xml elements at on... (2)
-> + help converting a text file to... (5)
-> + Java Functions (5)
-> + XML Schema - extend then restr... (6)
-> + Converting SGML to XML in pipe... (2)
-> + Unattended install? (3)
-> + what are the differences betwe... (2)
-> + cannot install (2)
-> + Missing Parameters within Web ... (3)
-> + XSLT processors not creating o... (8)
-> - How to format a seperate colum... (1)
-> + Finnish language characters (3)
-> + x12 schemas (10)
-> + Howto search multiple XML file... (3)
-> + Chameleon Schema? (2)
-> + Problems generating pdf (9)
-> + Cannot install Stylus Studio R... (19)
-> + source xml of a report (3)
-> + File I/O Error when encounter ... (3)
-> + substitution groups in xslt ma... (4)
-> + Delete rows in a MS SQL Server... (7)
-> - Attaching DB2 Database in File... (1)
-> + Can't debug xsl examples with ... (14)
-> + Best way to transform existing... (2)
-> + Exception in generated java co... (3)
-> + Java API for converting EDI X1... (2)
-> + XPath Query Editor slow perfor... (7)
-> + mapper schema problem (5)
-> + cursor issue in stylus studio ... (2)
-> + how to generate xslt code for ... (4)
-> + Web Service (12)
-> + Additional rule (2)
-> + Help needed: XMLSchema and unp... (9)
-> + Module settings for external X... (3)
-> + Finding Errors in the XML File (6)
-> + CSV 2 XML (2)
-> + Automatic Namespace when using... (2)
-> + Can't find 'Associate XML Sche... (3)
-> + Calling Stylus Studio API from... (2)
-> + EDI TO XML using the Stylus St... (4)
-> + MarkLogic Integration (4)
-> + (null)0:0 (3)
-> + Recent Windows Patch for MSXML... (3)
-> + Show XML from Schema (2)
-> + xml publisher - report to xslt... (4)
-> + EDI TO XML using the Stylus St... (3)
-> + Unable to Generate XML file fr... (6)
-> + DB to XML in Enterprise Suite (2)
-> + pdf to xml (2)
-> - Open External Schema - button ... (1)
-> - Unable to Generate XML from xC... (1)
-> + Unable to Generate XML from xC... (2)
-> + pre-proc processing in xml (2)
-> + FATAL ERROR: Expected comment ... (2)
-> + How to split window (3)
-> + XML Transformation Architectur... (2)
-> + only one record get run in an ... (2)
-> + xbrl schema file (2)
-> + Compare of 2 xml files (2)
-> + config control (4)
-> + create copy link in mapper (5)
-> + SGML DTD (3)
-> + command line access to your xs... (4)
-> + XML Schema: Attribute Choice (2)
-> + Upload file w/ topic (6)
-> - Can't View Properties (1)
-> + Can't View Properties (5)
-- Previous [1381-1400] [1401-1420] [1421-1440] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
David BrownSubject: XSL cannot save: I/O error...being used by another process (8r2 Pro)
Author: David Brown
Date: 13 Jul 2007 10:23 PM
Originally Posted: 13 Jul 2007 10:05 PM
I am writing some very simple XSL templates (maybe 10 tags total) in stylus studio. I'm just learning XSL and so I get plenty of errors. After about the second error, I can no longer save the file I'm working on. The dialog reads:

Encountered an I/O error in URL "file:///c:/Documents and Settings/...myfile.xsl" The process cannot access the file because it is being used by another process.

All files involved are part of the project and are not being used by any process not started by Stylus Studio. (I copy/paste the XSL into my PHP scripts.)

This may be associated with the appearance of a little bouncing line below the editor that holds a copy of the XSL error message. Not sure.

If I close and reopen the file, I am still unable to save changes to the XSL. While the file is closed, Process Explorer still shows that struzzo.exe has a file handle open to it.

The problem appeared after I upgraded to Build 894i (current as of July '07) of Stylus Studio Professional Suite. However, I don't use it much, so its possible I might not have noticed the problem in the earlier version. Still. I am going to try reinstalling the previous version. This problem is getting too annoying.

Thanks for any help.

EDIT: a few more bits of information.

I can NOT find a file handle to the .xsl (examining Struzzo.exe with Process Explorer) when I simply open the file. There is one very briefly while the XSL runs. Also to a tmp file (perhaps for output)

If I deliberately introduce an error and make the editor window very wide such that the error message fits within the status bar below the editor, the handle appears to close properly.

If I have the editor window narrow enough that the error message bounces from side to side, the file handle remains, I cannot save the file, and once I try and fail, I can't run the xsl either.

Hope that helps you pin it down. Now, "onward" back to 8r1 instead of 8r2. Hopefully I can still open my project files...

Postnext
David BrownSubject: XSL cannot save: I/O error...being used by another process (8r2 Pro)
Author: David Brown
Date: 13 Jul 2007 11:07 PM
update:
I cannot reproduce this problem in 8r1 (framework build 735f; all modules match). The About screen shows my Java VM to be 1.6.0_01-b06 Java HotSpot(TM) Client VM Sun Microsystems Inc.

Is there a way to turn off new version notifications? (Well, I could remove the exception in the firewall...) I might be staying at this version for a while.

PS, I wasn't kidding about how simply my XSL is... in fact, I exaggerated by a factor of three; there are only 3 tags! I was simply trying to extract the grand total from a United Parcel Service shipping rate response:

<?xml version='1.0' ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/"><xsl:value-of select="RatingServiceSelectionResponse/RatedShipment/TotalCharges/MonetaryValue"/>
</xsl:template>
</xsl:stylesheet>

Postnext
(Deleted User) Subject: XSL cannot save: I/O error...being used by another process (8r2 Pro)
Author: (Deleted User)
Date: 17 Jul 2007 01:19 PM
Hi David,
you can disable the check for new versions from the Tools | Options dialog (Application Settings, Check for newer version check boxes).
As for the locked file, which processor are you using?

Thanks,
Alberto

Postnext
David BrownSubject: XSL cannot save: I/O error...being used by another process (8r2 Pro)
Author: David Brown
Date: 17 Jul 2007 01:33 PM
When I open the dialog in 8r1 -- remembering the problem showed up in 8r2 -- it shows Saxon 8.7.3.

I honestly don't recall selecting a processor at any point during this project, but this does appear to be different from the default "built-in". It's the first option in the list.

Postnext
(Deleted User) Subject: XSL cannot save: I/O error...being used by another process (8r2 Pro)
Author: (Deleted User)
Date: 18 Jul 2007 11:23 AM
Hi David,
do you recall the type of error that was reported (invalid XML, wrong syntax for an XSL instruction...)?
Does the lock occur also when the 'Use Stylus Studio URI Resolver' checkbox in the Processor tab of the scenario dialog is cleared?

Thanks,
Alberto

Postnext
David BrownSubject: XSL cannot save: I/O error...being used by another process (8r2 Pro)
Author: David Brown
Date: 18 Jul 2007 01:18 PM
I remember that one silly error I made and that resulted in this issue was to drag-and-drop from the tree to a point past the </xsl:stylesheet> tag, creating an out-of-place <xsl:template>. Redoing that gives (in r1):

SXXP0003: Error Reported by XML Parser: The markup in the document following the root element must be well-formed.

"Use Stylus Studio URI Resolver" is *not* checked. I know what the words mean, but I don't know whether I'd want it or not, so I hadn't touched it.


I'm starting to get a feeling that maybe when I was working in a different project setting up Sablotron and expat as a custom parser (a project that depended more heavily on the eccentricities of PHP) some defaults outside of the project scope maybe got whacked?

So far, you've mentioned using the built-in parser and the URI resolver setting. I'm thinking I will try reinstalling r2, changing those settings to (built-in, enabled) and seeing whether the problem persists.

Anything else I might look for? Thanks very much for the suggestions so far.

Postnext
(Deleted User) Subject: XSL cannot save: I/O error...being used by another process (8r2 Pro)
Author: (Deleted User)
Date: 19 Jul 2007 07:16 AM
Hi David,
thanks for describing the kind of error that was present; we have been able to reproduce it and we are working to fix it.
For the record, it only appears with Saxon if you uncheck the 'Use Stylus Studio URI Resolver', so a quick workaround is to enable it (its purpose it to let Stylus Studio open all the files needed to perform the transformation, and must be enabled if you are using custom URL like converter://, xquery://, tiger:// or wscc:// to run Convert-To-XML or access relational databese, Web Services or TigerLogic servers).

Thanks,
Alberto

Posttop
David BrownSubject: XSL cannot save: I/O error...being used by another process (8r2 Pro)
Author: David Brown
Date: 20 Jul 2007 10:55 AM
I have gone back to r2 and selected the built-in XSL processor (which forces SS URI resolver on). I wasn't able to reproduce the problem in half a dozen attempts. Thank you.

   
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.