saw that just now. as per that disco, i put the dtd under the xindice/docs
folder and specified a http://localhost:4080/test.dtd in the test.xml
document. it works fine.

this raises a question: does xindice really validate xml against a dtd or
does it just check that the specified dtd is in a certain folder?

thanks very much mark!
-nani

-----Original Message-----
From: Mark J. Stang [mailto:[EMAIL PROTECTED]
Sent: Friday, April 05, 2002 10:34 AM
To: [EMAIL PROTECTED]
Subject: Re: Relative URI - Base URI


I sent an e-mail titled "DTD ...".   It has a bit of discussion on
how to handle DTDs.   Did you see it?

Mark

Jayaram Narayana wrote:

> without a DTD, it works fine....
>
> -----Original Message-----
> From: Mark J. Stang [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 05, 2002 9:55 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Relative URI - Base URI
>
> You might want to search the archives.   If you use a DTD, it
> has to be in a specific format.   Can you try it without?
>
> Mark
>
> Jayaram Narayana wrote:
>
> > guys,
> >
> > i have a document that references a dtd like so:
> >
> > <!DOCUMENT test SYSTEM "test.dtd">
> >                 :
> >                 :
> >
> > the command i use to add this document to a collection is this:
> >
> > xindiceadmin ad -c /db/test -f test.xml -n test
> >
> > this throws an error:
> >
> > ERROR : Relative URI "test.dtd"; can not be resolved without a base URI.
> >
> > i am trying to run this command from the same folder where test.xml and
> > test.dtd are present. so, how and where do i set the doc base URI, if at
> all
> > i must? or is there something i am doing wrong?
> >
> > many thanks,
> > -nani


Reply via email to