Hallo Thomas,
yes i'm online. I tried it with the speedo and the JPOX JDO Implementation 
and it works. But i will try to set the path to my local jdo.dtd. Hope it 
works. Do i hava to start the ant targets 
xdoclet and setup-db after enhancing? I think it will be like this or 
doesn't it?

Regards

Michael




Thomas Dudziak <[EMAIL PROTECTED]> 
07.12.2004 11:39
Bitte antworten an
"OJB Users List" <[EMAIL PROTECTED]>


An
OJB Users List <[EMAIL PROTECTED]>
Kopie

Thema
Re: ojb







[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