File changed by another process
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 25
- Joined: Mon Aug 01, 2005 10:45 pm
File changed by another process
When Oxygen uses a file to run in the debugger, it doesn't check for a new version from disk.
For instance, I have a process with two stage transforms. In Oxygen, I run stage1.xsl on my initial xml creating a stage1.xml file; then I "Save Results..." from the Results screen; open the new stage1.xml from the xml screen; run the stage2.xsl on the stage1 xml. This works okay.
Now if I change my initial xml; run the stage1.xslt again; "Save Results..." to the same stage1.xml; then select to run with stage1.xml and stage2.xsl, Oxygen runs with the old stage1.xml. When I click inside the xml editor box, it reports that the file has changed and asks to reload it and a subsequent Run uses the new copy as expected.
This also occurs if I copy a new xml or xsl file from another source when I have the old copy open in Oxygen from a previous Run.
I'd like Oxygen to look for a new version when I click the "Run" button in the debugger in addition to when I click in the editor window as it does now.
GG
For instance, I have a process with two stage transforms. In Oxygen, I run stage1.xsl on my initial xml creating a stage1.xml file; then I "Save Results..." from the Results screen; open the new stage1.xml from the xml screen; run the stage2.xsl on the stage1 xml. This works okay.
Now if I change my initial xml; run the stage1.xslt again; "Save Results..." to the same stage1.xml; then select to run with stage1.xml and stage2.xsl, Oxygen runs with the old stage1.xml. When I click inside the xml editor box, it reports that the file has changed and asks to reload it and a subsequent Run uses the new copy as expected.
This also occurs if I copy a new xml or xsl file from another source when I have the old copy open in Oxygen from a previous Run.
I'd like Oxygen to look for a new version when I click the "Run" button in the debugger in addition to when I click in the editor window as it does now.
GG
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: File changed by another process
Post by sorin_ristache »
Hello George,
Thank you for your report,
Sorin
We will fix the bug for the next version.ggorman wrote:if I change my initial xml; run the stage1.xslt again ... select to run with stage1.xml and stage2.xsl, Oxygen runs with the old stage1.xml.
Thank you for your report,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
Version 6.2 released in September 2005 will include the following fix: when you start the transformation and the XML source or the stylesheet was changed on disk but it is not the current active editor in the Debugger perspective <oXygen/> reports that you do not have the latest version loaded in the editor and offers the option of choosing between the two versions: use the version from disk by refreshing the editor content or the version from the editor. This was already implemented if the source for the transformation is the current active editor and now was extended to apply in your case.
If you have the "Save all files before transformation or validation" preference enabled (Preferences -Editor - Save) the second choice will imply that the version from the editor will overwrite the newer version from disk.
Best Regards,
Sorin
Version 6.2 released in September 2005 will include the following fix: when you start the transformation and the XML source or the stylesheet was changed on disk but it is not the current active editor in the Debugger perspective <oXygen/> reports that you do not have the latest version loaded in the editor and offers the option of choosing between the two versions: use the version from disk by refreshing the editor content or the version from the editor. This was already implemented if the source for the transformation is the current active editor and now was extended to apply in your case.
If you have the "Save all files before transformation or validation" preference enabled (Preferences -Editor - Save) the second choice will imply that the version from the editor will overwrite the newer version from disk.
Best Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service