Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 51802 invoked from network); 20 Feb 2006 21:03:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Feb 2006 21:03:49 -0000 Received: (qmail 27579 invoked by uid 500); 20 Feb 2006 21:03:49 -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 27568 invoked by uid 99); 20 Feb 2006 21:03:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2006 13:03:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.224.30.66] (HELO service-01.spree.de) (212.224.30.66) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2006 13:03:48 -0800 Received: from [172.16.2.80] (vpn-server [192.168.16.104]) (authenticated bits=0) by service-01.spree.de (8.13.4/8.13.4/Debian-3) with ESMTP id k1KL0HBW013206 for ; Mon, 20 Feb 2006 22:00:17 +0100 Message-ID: <43FA2E9A.5000603@spree.de> Date: Mon, 20 Feb 2006 22:03:22 +0100 From: Michael Bouschen Organization: Tech@Spree Engineering User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jdo-dev@db.apache.org Subject: Re: JDO TCK Conference Call Friday, Feb 17, 9 am PST References: <43C71B6E.2060306@sun.com> <43D02652.8010002@sun.com> <43D99C45.8090508@sun.com> <43E25FF7.6080200@sun.com> <43EBB84B.1020900@sun.com> <43F52241.8030404@sun.com> <43F6351A.5000002@sun.com> <43F79C8B.705@spree.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 Hi Craig, sorry, I have no idea what the problem is. Is it possible that you still have an outdated test case or .jdo file that explicitly refers the jdo.dtd file in the schema directory? Regards Michael > Hi Michael, > > Your update to the jdo.xsd fixed the earlier errors. But now I have > this: > >> java.io.FileNotFoundException: /Users/clr/apachejdo/jdo/trunk/api20/ >> test/schema/jdo.dtd (No such file or directory) > > > Clearly, this is the wrong location for the jdo.dtd file. The full > error message is below. I probably did something wrong. Any ideas? > > Craig > >> Testsuite: javax.jdo.schema.XMLTest >> Tests run: 3, Failures: 0, Errors: 1, Time elapsed: 6.269 sec > > > Yippee. Three tests passed, and the following is probably a bonehead > error of mine. > >> >> Testcase: testDTDBased(javax.jdo.schema.XMLTest): Caused an ERROR >> Fatal error >> javax.jdo.JDOFatalException: Fatal error >> at javax.jdo.schema.XMLTest.checkXML(XMLTest.java:213) >> at javax.jdo.schema.XMLTest.testDTDBased(XMLTest.java:156) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke >> (NativeMethodAccessorImpl.java:39) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke >> (DelegatingMethodAccessorImpl.java:25) >> at org.apache.commons.jelly.tags.ant.AntTag.doTag >> (AntTag.java:185) >> at org.apache.commons.jelly.impl.TagScript.run >> (TagScript.java:279) >> at org.apache.commons.jelly.impl.ScriptBlock.run >> (ScriptBlock.java:135) >> at org.apache.commons.jelly.TagSupport.invokeBody >> (TagSupport.java:233) >> at org.apache.commons.jelly.tags.core.IfTag.doTag >> (IfTag.java:88) >> at org.apache.commons.jelly.impl.TagScript.run >> (TagScript.java:279) >> at org.apache.commons.jelly.impl.ScriptBlock.run >> (ScriptBlock.java:135) >> at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag >> (MavenGoalTag.java:79) >> at org.apache.maven.jelly.tags.werkz.MavenGoalTag >> $MavenGoalAction.performAction(MavenGoalTag.java:110) >> at com.werken.werkz.Goal.fire(Goal.java:639) >> at com.werken.werkz.Goal.attain(Goal.java:575) >> at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) >> at com.werken.werkz.Goal.attain(Goal.java:573) >> at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) >> at com.werken.werkz.Goal.attain(Goal.java:573) >> at org.apache.maven.plugin.PluginManager.attainGoals >> (PluginManager.java:671) >> at org.apache.maven.MavenSession.attainGoals >> (MavenSession.java:263) >> at org.apache.maven.cli.App.doMain(App.java:488) >> at org.apache.maven.cli.App.main(App.java:1239) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke >> (NativeMethodAccessorImpl.java:39) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke >> (DelegatingMethodAccessorImpl.java:25) >> at com.werken.forehead.Forehead.run(Forehead.java:551) >> at com.werken.forehead.Forehead.main(Forehead.java:581) >> NestedThrowablesStackTrace: >> java.io.FileNotFoundException: /Users/clr/apachejdo/jdo/trunk/api20/ >> test/schema/jdo.dtd (No such file or directory) >> at java.io.FileInputStream.open(Native Method) >> at java.io.FileInputStream.(FileInputStream.java:106) >> at java.io.FileInputStream.(FileInputStream.java:66) >> at sun.net.www.protocol.file.FileURLConnection.connect >> (FileURLConnection.java:70) >> at >> sun.net.www.protocol.file.FileURLConnection.getInputStream >> (FileURLConnection.java:161) >> at java.net.URL.openStream(URL.java:1007) >> at >> org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown >> Source) >> at org.apache.xerces.impl.XMLEntityManager.startEntity >> (Unknown Source) >> at org.apache.xerces.impl.XMLEntityManager.startDTDEntity >> (Unknown Source) >> at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource >> (Unknown Source) >> at org.apache.xerces.impl.XMLDocumentScannerImpl >> $DTDDispatcher.dispatch(Unknown Source) >> at >> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument >> (Unknown Source) >> at org.apache.xerces.parsers.XML11Configuration.parse >> (Unknown Source) >> at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown >> Source) >> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) >> at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) >> at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown >> Source) >> at javax.xml.parsers.DocumentBuilder.parse >> (DocumentBuilder.java:172) >> at javax.jdo.schema.XMLTest.checkXML(XMLTest.java:209) >> at javax.jdo.schema.XMLTest.testDTDBased(XMLTest.java:156) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke >> (NativeMethodAccessorImpl.java:39) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke >> (DelegatingMethodAccessorImpl.java:25) >> at org.apache.commons.jelly.tags.ant.AntTag.doTag >> (AntTag.java:185) >> at org.apache.commons.jelly.impl.TagScript.run >> (TagScript.java:279) >> at org.apache.commons.jelly.impl.ScriptBlock.run >> (ScriptBlock.java:135) >> at org.apache.commons.jelly.TagSupport.invokeBody >> (TagSupport.java:233) >> at org.apache.commons.jelly.tags.core.IfTag.doTag >> (IfTag.java:88) >> at org.apache.commons.jelly.impl.TagScript.run >> (TagScript.java:279) >> at org.apache.commons.jelly.impl.ScriptBlock.run >> (ScriptBlock.java:135) >> at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag >> (MavenGoalTag.java:79) >> at org.apache.maven.jelly.tags.werkz.MavenGoalTag >> $MavenGoalAction.performAction(MavenGoalTag.java:110) >> at com.werken.werkz.Goal.fire(Goal.java:639) >> at com.werken.werkz.Goal.attain(Goal.java:575) >> at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) >> at com.werken.werkz.Goal.attain(Goal.java:573) >> at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) >> at com.werken.werkz.Goal.attain(Goal.java:573) >> at org.apache.maven.plugin.PluginManager.attainGoals >> (PluginManager.java:671) >> at org.apache.maven.MavenSession.attainGoals >> (MavenSession.java:263) >> at org.apache.maven.cli.App.doMain(App.java:488) >> at org.apache.maven.cli.App.main(App.java:1239) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke >> (NativeMethodAccessorImpl.java:39) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke >> (DelegatingMethodAccessorImpl.java:25) >> at com.werken.forehead.Forehead.run(Forehead.java:551) >> at com.werken.forehead.Forehead.main(Forehead.java:581) >> > > > On Feb 18, 2006, at 2:15 PM, Michael Bouschen wrote: > >> Hi Craig, >> >>> >>> AI: Michael B to check in fixes to xsd and upload patch to JIRA for >>> tests. AI Craig: review schema tests. >>> >> I checked in the jdo.xsd fixes (see revision 378770). From my point >> of view jdo.xsd now accepts the same .jdo files as jdo.dtd. I >> checked the jdo.dtd against the Feb-13 version of the spec. Both are >> identical, except that the jdo.dtd has renamed the attribute >> fetch-depth to recursion-depth already. Now we need to check the orm >> and jdoquery files. >> >> I attached a new patch to JDO-202 including the current version of >> the schema validation test (XMLTest). I copied Martin's message >> handling changes to the AbstractTest class, so your JDO-309 comments >> apply here too. >> >> Regards Michael >> >> -- >> Michael Bouschen Tech@Spree Engineering GmbH >> mailto:mbo.tech@spree.de http://www.tech.spree.de/ >> Tel.:++49/30/235 520-33 Buelowstr. 66 >> Fax.:++49/30/2175 2012 D-10783 Berlin >> > > Craig Russell > Architect, Sun Java Enterprise System http://java.sun.com/products/jdo > 408 276-5638 mailto:Craig.Russell@sun.com > P.S. A good JDO? O, Gasp! > -- Michael Bouschen Tech@Spree Engineering GmbH mailto:mbo.tech@spree.de http://www.tech.spree.de/ Tel.:++49/30/235 520-33 Buelowstr. 66 Fax.:++49/30/2175 2012 D-10783 Berlin