Apache JDO Project - [jira] Commented: (JDO-202) orm.xsd and unit tests for xsd are

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > January 2006 > [jira] Commented: (JDO-202) orm.xsd and unit tests for xsd are





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Commented: (JDO-202) orm.xsd and unit tests for xsd are
Craig Russell (JIRA)

2006-01-06, 8:45 pm

[ http://issues.apache.org/jira/brows...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 sche
ma.

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 usi
ng 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/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com