db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bouschen <mbo.t...@spree.de>
Subject Re: JDO TCK Conference Call Friday, Feb 17, 9 am PST
Date Mon, 20 Feb 2006 21:03:22 GMT
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.<init>(FileInputStream.java:106)
>>         at java.io.FileInputStream.<init>(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			


Mime
View raw message