Hi,
I had the DOCTYPE pointing to the Turbine intake.dtd, but in the
DTDResolver code, unless this matches the DTD that is referenced in the
.jar it attempts to download the referenced DOCTYPE (as a resource) and
throws an exception. This is documented as a bug, however on the Sun
site the bug's been closed with no apparent solution.
Commenting out the DOCTYPE tag works!
I could not find a combination of Turbine jars that worked.
Regards,
Brett
--
Brett Gullan
[EMAIL PROTECTED]


-----Original Message-----
From: Scott Eade [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 5 June 2002 6:50 AM
To: turbine-user
Subject: Re: Turbine 2.2b1 and Intake Service - lost DTD

Or better still point your DOCTYPE to:

    http://jakarta.apache.org/turbine/dtd/intake.dtd

... thus:

<!DOCTYPE input-data SYSTEM
"http://jakarta.apache.org/turbine/dtd/intake.dtd";>

Time and time again I have seen people run into problems because they
are
not validating their intake.xml or database schema files.  Don't bypass
the
validation, save yourself a bunch of trouble by pointing to the correct
(or
at least a working) location for the DTD.

Now if only someone with the necessary access would act on my message to
turbine-dev on 11 May 2002 requesting that the intake.dtd file at the
above
location be updated to the latest version from CVS (which allows for the
defaultValue attribute for field elements).

HTH,

Scott

> From: Maciej Leks <[EMAIL PROTECTED]>
> Organization: ---
> Reply-To: "Turbine Users List" <[EMAIL PROTECTED]>
> Date: Tue, 4 Jun 2002 16:18:51 +0200
> To: "Turbine Users List" <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED]
> Subject: Re: Turbine 2.2b1 and Intake Service - lost DTD
> 
> I suggest putting the intake.dtd file in some place in the file
system,
> for instance into the tomcat directory. In your inatake.xml put
> something like this as you document type section:
> <!DOCTYPE input-data SYSTEM
> "file:///absolute-path-to-your-intake-DTD-file/intake.dtd">
> 
> i.e
> <!DOCTYPE input-data SYSTEM "file:///usr/local/tomcat/dtd/intake.dtd">
> 
> It works! I guarantee...
> 
> Best Regards
> BG> Hi,
> BG> I'm trying to get the (coupled/non-Fulcrum) TurbineIntakeService
running
> BG> under Turbine 2.2 b1, but it will not initialise because it cannot
find
> BG> the Intake DTD.
> BG> I've traced the problem to Intake attempting to load the
"intake.dtd"
> BG> file as a resource from a .jar.
> BG> The turbine-2.2b1.jar includes the DTD, but later versions
> BG> (turbine-2.2-b1.jar, turbine-2.2-b2-dev.jar) do not.
> BG> Even with the turbine-2.2b1.jar file in WEB-INF/lib, Intake still
will
> BG> not find the DTD and throws an Exception.
> BG> Has anyone encountered/resolved this issue?
> BG> Should the DTD be included in the later version jars? Is there a
reason
> BG> it was removed?
> BG> Any help would be appreciated as I'm currently stuck; I can't get
either
> BG> the Turbine, or the Fulcrum versions of Intake working.
> BG> Thanks,
> BG> Brett
> BG> --
> BG> Brett Gullan
> BG> [EMAIL PROTECTED]
> 
> 
> BG> --
> BG> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> BG> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 
> 
> ______________________________________
> Leksiu ([EMAIL PROTECTED])
> 
> 
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> 


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


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

Reply via email to