Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 42324 invoked from network); 13 Sep 2005 17:38:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Sep 2005 17:38:58 -0000 Received: (qmail 51572 invoked by uid 500); 13 Sep 2005 17:38:58 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 51326 invoked by uid 500); 13 Sep 2005 17:38:57 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 51313 invoked by uid 99); 13 Sep 2005 17:38:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2005 10:38:55 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id B9CC813E for ; Tue, 13 Sep 2005 19:38:54 +0200 (CEST) Message-ID: <497224280.1126633134759.JavaMail.jira@ajax.apache.org> Date: Tue, 13 Sep 2005 19:38:54 +0200 (CEST) From: "A B (JIRA)" To: derby-dev@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. In-Reply-To: <256490463.1126630204268.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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: 10.2.0.0 > Reporter: A B > Assignee: A B > Fix For: 10.2.0.0 > 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 tests. > 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: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira