db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "A B (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-563) Create an XML test suite in the Derby harness to allow testing of the basic XML datatype and related operators.
Date Tue, 13 Sep 2005 17:38:54 GMT
     [ http://issues.apache.org/jira/browse/DERBY-563?page=all ]

A B updated DERBY-563:

    Attachment: xmlsuite.patch

Attaching a patch that creates the following suites for testing Derby's XML datatype and operators:

- xmlTests:  run XML tests against Derby embedded
- xmlTestsNet:  run XML tests against Derby Network Server with JCC
- xmlTestsNetClient: run XML tests against Derby Network Server with Derby Client
- xmlSuite: run all of the above suites

There are currently only two XML tests (lang/xml_general.sql and lang/xmlBinding.java); when
more are added they should be added to the xmlTests.runall file and then they will be included
in all other suites automatically.

NOTE: in order to run any of the XML tests, one must have Xerces in the classpath.  For that
reason, the XML tests are NOT included in "derbyall" at this time.

If anyone has time to review and/or commit, I'd be grateful.

> Create an XML test suite in the Derby harness to allow testing of the basic XML datatype
and related operators.
> ---------------------------------------------------------------------------------------------------------------
>          Key: DERBY-563
>          URL: http://issues.apache.org/jira/browse/DERBY-563
>      Project: Derby
>         Type: Improvement
>   Components: Test
>     Versions:
>     Reporter: A B
>     Assignee: A B
>      Fix For:
>  Attachments: xmlsuite.patch
> Back with DERBY-334 some experimental XML support was added to Derby, including an XML
datatype and three corresponding operators (see that issue for more details).  Two tests (lang/xml_general.sql
and lang/xmlBinding.java) were included in that patch but were "disabled" because current
XML support requires Apache Xerces to be in classpath and I didn't want to force people to
download Xerces in order to get a clean run of "derbyall".
> That said, I think an XML suite should be created to include the two tests mentioned
above for now, and as Derby's support for XML grows in the future, that suite can hold additional
> Also, I tried running the tests with Xerces in my classpath and they both failed--it
turns out that entries for the tests are missing from the .../functionTests/tests/lang/copyfiles.ant
file.  So that problem should be fixed as part of this issue, as well.
> NOTE: This issue involves creating a suite to run the existing tests while assuming that
the person running the tests has Xerces in his/her classpath.  Another improvement, for which
I will file a different Jira issue, would be to change Derby so that it can somehow find the
XML parser that comes with the user's JVM (current XML support requires at least a 1.4 JVM),
in which case no additional XML parser would be required.  More coming on that in a separate
Jira issue...

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message