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

Re: Somewhat off-topic question (isolating XLST engine

Subject: Re: Somewhat off-topic question (isolating XLST engine) was Re: Followup about Saxon-HE and Oracle Unified Directory (OUD) problem
From: "Norm Tovey-Walsh ndw@xxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 8 Sep 2023 12:30:12 -0000
 Re: Somewhat off-topic question (isolating XLST engine
"ohaya ohaya@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> writes:
> Sorry - per the subject this may be kind of off-topic for this list...

Last time this came up, I thought Mike laid out a pretty convincing
explanatin of the problem. You appear to have competing implementations
of XSLT on the classpath. The JAXP interface (I am responsible for some
of the errors in JAXP, but I think this one predates me!) doesnbt really
give you good control over this.

If youbve got both Xalan and Saxon on the classpath, youbre sometimes
going to get odd behavior. If your code requires Saxon and some other
code requires Xalan, I donbt know of any way to make it work reliably
for both parties.

> 1) In one of the responses I got from Oracle, they said the following:
> "Also OUD ships a jaxb jar ./lib:jaxb-api-2.2.12 which may or may not
> be helpful for you. ". I kind of ignored that comment/suggestion at
> the time, but now, I am wondering, can we somehow leverage that
> Oracle-produced jaxb jar, to allow us to use SAXON-HE together with
> OUD?

I donbt think thatbs going to help. JAXB is a different technology and
no version of it on the classpath is going to have any impact on how
Saxon and Xalan interfere with each other.

> 2) Has anyone else run into a similar situation, and if so, is there
> maybe some way to "isolate" the XLST engine/libraries so that it
> doesn't cause the problems that I encountered when I tried to
> integrate the SAXON-HE libs with OUD?

I think you already implemented an entirely pragmatic solution: run the
Saxon code in a different VM by way of a web service.

                                        Be seeing you,
                                          norm

--
Norm Tovey-Walsh <ndw@xxxxxxxxxx>
https://norm.tovey-walsh.com/

> Sometimes the only choices you have are bad ones, but you still have to
> choose.--Dr Who

[demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]

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.