Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 98274 invoked from network); 7 Jan 2006 01:00:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jan 2006 01:00:37 -0000 Received: (qmail 58076 invoked by uid 500); 7 Jan 2006 01:00:37 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 58061 invoked by uid 99); 7 Jan 2006 01:00:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Fri, 06 Jan 2006 17:00:36 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 37654193 for ; Sat, 7 Jan 2006 02:00:15 +0100 (CET) Message-ID: <10484627.1136595615181.JavaMail.jira@ajax.apache.org> Date: Sat, 7 Jan 2006 02:00:15 +0100 (CET) From: "Craig Russell (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Commented: (JDO-202) orm.xsd and unit tests for xsd are missing In-Reply-To: <981423673.1131139159756.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/JDO-202?page=comments#action_12362029 ] Craig Russell commented on JDO-202: ----------------------------------- This issue has two parts. The first part is a program that validates xml files according to schema or DTD that is passed in. The program should look for files that have the suffixes .jdo, .orm, and .jdoquery and validate them against both the DTD and schema. For example, javax.jdo.schema.SchemaTest is the JUnit test that looks for files with the pattern "positiveXXX.jdo, positiveXXX.orm, positiveXXX.jdoquery, negativeXXX.jdo, negativeXXX.orm, negativeXXX.jdoquery" and simply loads them into a standard DOM using a validating parser. All test files named positiveXXX should succeed; tests named negativeXXX should fail to load. The second part is a set of test data that is organized into positive and negative test cases. The union of positive tests should test every feature (each element and attribute) of each of the .orm, .jdo, and .jdoquery schema and DTD. Negative tests will verify for example that no more than one element is permitted if annotated as ? in DTD or maxOccurs=1 in schema. > orm.xsd and unit tests for xsd are missing > ------------------------------------------ > > Key: JDO-202 > URL: http://issues.apache.org/jira/browse/JDO-202 > Project: JDO > Type: Bug > Components: api20 > Reporter: Michelle Caisse > Assignee: Michael Bouschen > > The xsd is missing from api20/src/dtd/javax/jdo and there is no test for it. Also need a test for jdo.xsd. -- 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