Issue Details (XML | Word | Printable)

Key: DERBY-1758
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: A B
Reporter: A B
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

Enable xmlSuite to run as part of derbyall in environments that have the required external jars.

Created: 24/Aug/06 03:21 PM   Updated: 11/Dec/06 04:34 PM
Return to search
Component/s: Test
Affects Version/s: 10.2.1.6, 10.2.2.0, 10.3.1.4
Fix Version/s: 10.3.1.4

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works d1758_followup_v1.patch 2006-10-27 08:53 PM A B 21 kB
Text File Licensed for inclusion in ASF works d1758_newJUnitTests_v1.patch 2006-10-21 03:17 AM A B 105 kB
File Licensed for inclusion in ASF works d1758_newJUnitTests_v1.stat 2006-10-21 03:17 AM A B 0.4 kB
Text File Licensed for inclusion in ASF works d1758_newJUnitTests_v2.patch 2006-10-24 11:59 PM A B 112 kB
Text File Licensed for inclusion in ASF works d1758_newSecMgr_doNotCommit.patch 2006-11-22 01:06 AM A B 19 kB
Text File Licensed for inclusion in ASF works d1758_newXBindTest_v1.patch 2006-11-16 10:29 PM A B 23 kB
Text File Licensed for inclusion in ASF works d1758_newXMLSuite_v1.patch 2006-11-22 08:11 PM A B 8 kB
Text File Licensed for inclusion in ASF works d1758_remove_xbindAndSuite.patch 2006-11-22 10:32 PM A B 32 kB
Text File Licensed for inclusion in ASF works d1758_remove_xgen_v1.patch 2006-10-31 10:23 PM A B 221 kB
File Licensed for inclusion in ASF works d1758_remove_xgen_v1.stat 2006-10-31 10:23 PM A B 0.5 kB
Text File Licensed for inclusion in ASF works d1758_secmgr_v1.patch 2006-12-01 07:09 PM A B 13 kB
File Licensed for inclusion in ASF works d1758_secmgr_v1.stat 2006-12-01 07:09 PM A B 0.5 kB
Issue Links:
Blocker
 
Reference
 

Urgency: Normal
Resolution Date: 11/Dec/06 04:33 PM


 Description  « Hide
Due to the fact the XML support in Derby has external dependencies on Apache Xalan and a JAXP parser (such as, but not limited to, Apache Xerces), the tests for XML, which are all included in "xmlSuite", are not currently run as part of derbyall.

Changes for DERBY-688 (and DERBY-567 indirectly) have now made it so that JVMs which have Apache Xalan and a JAXP parser embedded in them can run the XML tests without requiring additional jars, assuming that the embedded version of Xalan is at least the minimum version required by Derby (which is currently 2.5).

So given that, the xmlSuite should be enabled as part of derbyall for any environment that is capable of running them.

Per comments in DERBY-688, enabling the XML suite could include the following tasks:

  1. Enable the suite to run as part of derbyall but ONLY if the JVM has
      access to all of the required Xalan/JAXP classes.

  2. Resolve the following diff in lang/xmlBinding.java that occurs on
     some platforms (ex. Linux):

    < Inserted roughly 40k of data.
    10 del
    < Inserted roughly 40k of data.
    10a9,10
    > Inserted roughly 39k of data.
    > Inserted roughly 37k of data.
    21 del
    < 1, [ roughly 40k ]
    22 del
    < 2, [ roughly 40k ]
    22a21,22
    > 1, [ roughly 39k ]
    > 2, [ roughly 37k ]

  3. Add new tests to verify Derby behavior when XML classes are
    not present.

Note that #3 may turn out to be its own Jira issue; the first two, however, should both be addressed as part of this issue since the xmlSuite will not run (and pass) on all platforms if either 1 or 2 is not addressed.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.