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

Binding XSLT script functions to implementation (was ANNOUNCE: Petition.

  • From: "Arnold, Curt" <Curt.Arnold@h...>
  • To: "'xml-dev@l...'" <xml-dev@l...>
  • Date: Fri, 02 Mar 2001 10:23:24 -0700

xslt script
> It is very clear to me that the above stylesheet will work
> if and *only* if the the XSLT processor has built-in java
> capabilities.  So, although you may be right about not 
> "embedding Java", this is close enough to the same concern, 
> it is an "embedded Java package name".

It isn't clear to me that a C++ processor might not already be
aware of an compatible implementation of date:format() and ignore the definition in the transform.

The <xsl:script/> within the transform is roughly equivalent to
an internal DTD subset (if embedded) or a external DTD subset (if referenced).  The namespace URI and function name are roughly equivalent to the Public ID.

I think it would be rare that any server would trust any script that is embedded or referenced within a transform and would only support those scripts that were already known to it for the same reason
you would not blindly try to validate with a DTD or schema that you did not control.

However, the nature of this preloading of known functions must vary between platforms.  What you would expect is that the processor would allow you to intercept resolution of script functions in the
same manner XML parsers allow you to intercept resolution of external entities.

I do not see the ability to provide an embedded or reference script interferes with the ability to resolved the URI/function name pair through other mechansisms.

PURCHASE STYLUS STUDIO ONLINE TODAY!

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

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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-2007 All Rights Reserved.