[EMAIL PROTECTED] wrote:

<snip/>

[java] org.xml.sax.SAXParseException: Relative URI "jdo.dtd"; kann nicht ohne eine Basis-URI aufgel�st werden.


<snip/>

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo PUBLIC "-//Sun Microsystems, Inc.//DTD Java Data Objects Metadata 1.0//EN" "jdo.dtd">
<jdo>


   <package name="org.myProject.pobjects">

       <class name="Product" identity-type="datastore">
           <field name="name"/>
           <field name="description" />
           <field name="price"/>
       </class>

<class name="Book" persistence-capable-superclass="Product">
<extension vendor-name="speedo" key="inheritance-mapping" value="filtered"/>
<field name="isbn"/>
<field name="author"/>
<field name="publisher"/>
</class>


   </package>

</jdo>

Can u perhaps find a mistake in my jdo file? Why does this massege come?


The error message states the problem: you specified a local DTD ("jdo.dtd") and the XML parser tries to check the XML against it, but you did not place this DTD file in a folder where it can be found. Either you specify an URL (in which case you have to be online when enhancing) or you download the jdo.dtd and put it in a place where it can be found (e.g. alongside the XML file).

Tom


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to