Hello Vladim,

You are right ! It works now ... but only if I use a PUBLIC identifer in my
xml files instead of a SYSTEM one.

Thanks again.

Guy

----- Original Message -----
From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 20, 2002 6:29 PM
Subject: RE: Lucene, xml files and dtds.


> > From: Guy Bobenrieth [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, June 20, 2002 12:11 PM
> > To: [EMAIL PROTECTED]
> > Subject: Lucene, xml files and dtds.
> >
> > Hello,
> >
> > ( Finally, to make cocoon run I  went back to the jdk1.3 !)
> >
> > Now I want to play a little with Lucene over some xml files. I
> encounter a
> > little problem related to  where the dtd associated to my xml files
> should
> > be found on the server.
> >
> > My xml files contain a doctype declaration like this one <!DOCTYPE
> DOCUMENT
> > SYSTEM "myschema.dtd">. With this, Lucene is looking for the dtds
> inside
> > %TOMCAT_HOME%/bin !!!
> >
> > It is possible to drive an xml parser so that the doctype would be
> handled
> > like we want it, for example here to have the dtds found elsewhere ...
> But I
> > don't know how to get this done with Lucene inside Cocoon.
> >
> > Any idea how to do that ????
>
> Try entity resolver.
>
> Vadim
>
>
> > Thanks in advance !!!
> >
> > Guy
> >
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to