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
Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Rudolf P WeinmannSubject: Dont use System.setProperty in java code generation of Enterprise Edition
Author: Rudolf P Weinmann
Date: 30 Jun 2005 12:49 AM
Originally Posted: 30 Jun 2005 12:50 AM
I like the ability to generate java code for xslt transformations. What IMO should be amended though, is the use of System.setProperty, because it changes the environment at runtime for *ALL* applications running in the same jvm. If for example one application needs to run with saxon and the other with xalan and both make use of System.setProperty to set the transformerFactory, then you will run into trouble. Also if bindir, rootdir and appdata are set this way, I get a problem, because only one of the applications (the one that executed the first) gets configured properly and all others pick up the same settings, which might not be what's needed. Which of the applications run first is by chance. I would be glad, if you'd provide a better solution.

Best regard,
Rudolf

Posttop
Ivan PedruzziSubject: Dont use System.setProperty in java code generation of Enterprise Edition
Author: Ivan Pedruzzi
Date: 01 Jul 2005 11:25 AM
Hi Rudolf,

Thank You for your feedbacks.

Please tell us more about the requirements to have multiple bindir, rootdir and appdata in the same application in your particular use case.

If you prefer you can contact me ipedruzz @ datadirect.com

Ivan Pedruzzi
Stylus Studio Team

 
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.