[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: System properties

Subject: RE: System properties
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 17 Dec 2004 10:12:31 -0000
system properties
> What should be considered a system property?
> On Java, this is defined, but on other platforms?
> 
> What about environment variables? Does it make sense to consider these
> as system properties? I can't think of anything else that is portable
> across platforms.

Yes, I think it often makes sense to make environment variables accessible
as system properties.

In an early draft of XSLT 1.0 this was actually suggested as a possibility,
but then they took it out, perhaps because of concerns about security if the
stylesheet is untrusted.

I'd suggest implementations should provide a command line option "make
environment variables available as system properties in namespace X" to give
users the best chance of writing portable code, with the default being "no"
for security reasons.

Michael Kay

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.