db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2739) Use DOM interfaces to implement XML operators
Date Mon, 21 Feb 2011 13:51:38 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997406#comment-12997406
] 

Knut Anders Hatlen commented on DERBY-2739:
-------------------------------------------

I've done some more testing with the xml-interfaces-3.diff patch on
various JVMs to see if it causes any problems. The one problem I did
find, was that on IBM 1.4.2 the XML operators work out of the box with
the original code, whereas with the patch they don't because the XML
interfaces in that JVM are too old. Following the instructions at
http://db.apache.org/derby/docs/dev/devguide/cdevstandardsxml.html and
pointing java.endorsed.dirs to a recent Xalan version makes them work
again.

I suppose we could have two implementations of SqlXmlUtil so that
every configuration that worked with the old implementation would work
with no configuration changes after the upgrade. However, since this
only affects one rather old platform, I'm leaning towards just adding
a release note saying that those who need XML support on that platform
should install a more recent Xalan. Any opinions?

Here's the full list of JVMs tested with the patch and how the
behaviour changed:

- phoneME Advanced: No change. Xalan must be added to the classpath in
  order to get the XML operators working. (I assume the same is true
  for weme, but I haven't tested that configuration.)

- Sun 1.4.2: No change. Xalan must be added to an endorsed directory,
  as specified in the developers guide.

- IBM 1.4.2: *CHANGED* Xalan must be added to an endorsed directory,
  whereas it used to work out of the box with the old implementation.

- Sun 1.5.0: No change. Xalan must be added to the classpath.

- IBM 1.5.0: No change. XML operators work out of the box.

- Sun 1.6.0: *CHANGED* XML operators now work out of the box, whereas
  Xalan would have to be added to the classpath in the old
  implementation.

- IBM 1.6.0: No change. XML operators work out of the box.

- Oracle 1.7.0 early access: *CHANGED* XML operators now work out of
  the box, whereas Xalan would have to be added to the classpath in
  the old implementation.

> Use DOM interfaces to implement XML operators
> ---------------------------------------------
>
>                 Key: DERBY-2739
>                 URL: https://issues.apache.org/jira/browse/DERBY-2739
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 10.3.1.4
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: infinity-NaN.diff, ns-npe.diff, numeric-tests.diff, stricter-assertions.diff,
xml-interfaces-2.diff, xml-interfaces-3.diff, xml-interfaces.diff
>
>
> Sun's Java 1.5.0 and higher includes Xalan, but Derby doesn't find it because it has
been moved to a non-standard package. Derby should be able to detect and use these classes
if it cannot find Xalan in the standard package on the classpath. This would make it easier
for many users to start using Derby's XML features.
> See also the discussion in this thread: <URL:http://mail-archives.apache.org/mod_mbox/db-derby-dev/200705.mbox/%3c465F015C.9070404@gmail.com%3e>

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message