You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Chuck Amadi <ch...@breconbeacons.org> on 2002/10/01 11:33:12 UTC

Xindice - ERROR: file "file:///home/chucka/xindice/bin/sdocbook.dtd" not found

Hi , I have installed Xindice successfully digested the commands and 
ready to go.

I have a Xml Project  up and running whereby I have transformed static 
html pages to Xml content pages.
using html-tidy , Xalan Parser , and Sdocbook.dtd ( Cocoon 2 nearly 
ready to serve xml sauce ) Anyway
I have a vast collection of xml pages that are part of the new web-site 
so I want to store them in Xindice nxd's

I have created the collection to store under  and the file path path to 
my xml pages (documents).

Thus as a xindice user :[chuck @**** bin ]$ xindice ad -c 
/db/xmlproject/english -f 
/home/chucka/XmlProject/tourism/english/xml/outdoor.xml - outdoor

I get an ERROR: file "file:///home/chucka/xindice/bin/sdocbook.dtd" not 
found

Thus should I place a copy of sdocbook.dtd into this path -  I'm just a 
bit hestitent as this is a live working project assignment and I have 
read a few articles and nothing points me to have done this so if any 
pointers to the obvious would be kind.

-- 
Regards 
Chuck Amadi
ICT Dept Systems Programmer
Rhaglenydd Systemau Adran ICT

Before you criticize someone,
you should walk a mile in their shoes.
That way, when you criticize them,
you're a mile away, and you have their shoes.




Re: Xindice - ERROR: file "file:///home/chucka/xindice/bin/sdocbook.dtd" not found

Posted by Chuck Amadi <ch...@breconbeacons.org>.
Chuck Amadi wrote:

> Hi , I have installed Xindice successfully digested the commands and 
> ready to go.
>
> I have a Xml Project  up and running whereby I have transformed static 
> html pages to Xml content pages.
> using html-tidy , Xalan Parser , and Sdocbook.dtd ( Cocoon 2 nearly 
> ready to serve xml sauce ) Anyway
> I have a vast collection of xml pages that are part of the new 
> web-site so I want to store them in Xindice nxd's
>
> I have created the collection to store under  and the file path path 
> to my xml pages (documents).
>
> Thus as a xindice user :[chuck @**** bin ]$ xindice ad -c 
> /db/xmlproject/english -f 
> /home/chucka/XmlProject/tourism/english/xml/outdoor.xml - outdoor
>
> I get an ERROR: file "file:///home/chucka/xindice/bin/sdocbook.dtd" 
> not found
>
> Thus should I place a copy of sdocbook.dtd into this path -  I'm just 
> a bit hestitent as this is a live working project assignment and I 
> have read a few articles and nothing points me to have done this so if 
> any pointers to the obvious would be kind.
>
Yippy the obvious worked - Thus I placed sdocbook.dtd into 
/home/chucka/xindice/bin/

and I'm away populating Xindice with xml DIDO and once I completed that 
I'll try xpath and sixdml .
Nice one NXD's

-- 
Regards 
Chuck Amadi
ICT Dept Systems Programmer
Rhaglenydd Systemau Adran ICT

Before you criticize someone,
you should walk a mile in their shoes.
That way, when you criticize them,
you're a mile away, and you have their shoes.





Re: Xindice - ERROR: file "file:///home/chucka/xindice/bin/sdocbook.dtd" not found

Posted by Murray Altheim <m....@open.ac.uk>.
Fernando Padilla wrote:

> this of course deals with the parser tring to access external entities (
> like the DTD ).  Essentially, in the future Xindice will have to support
> Catalogs, like cocoon does, etc etc.  So that you can match external 
> entities ( public id, or system id, or uri ) and tell it where in the 
> system to find the resource...
> 
> fernando
> 
> ps - so yes, for now just place it where it thinks it should be.. sorry


This problem has an easy and functional solution.

 
http://wwws.sun.com/software/xml/developers/resolver/article/?redirect=false&refurl=http://www.google.com/search?q=norm+walsh+entity+resolver+java&hl=en&safe=off&btnG=Search+Google+US

If this stupidly long URL doesn't work, search Google on "Norm Walsh's
XML Entity and URI Resolvers". Basically, you hook this up to your
XML parser and provide a catalog linking FPIs and URIs to system
identifiers. It does all the work. Brilliant.

This solution does not need to be part of Xindice. It's an XML problem
in general.

Murray

......................................................................
Murray Altheim                  <http://kmi.open.ac.uk/people/murray/>
Knowledge Media Institute
The Open University, Milton Keynes, Bucks, MK7 6AA, UK

      Stop the Bush-Cheney Reign of Terror:  no war in Iraq!
      2800 people dead in New York? 1 million in Iraq, about
      half a million of them children. Sanctions against Iraq
      include vaccines and even chlorine -- end the sanctions!
      http://www.globalissues.org/Geopolitics/MiddleEast/Iraq.asp


Re: Xindice - ERROR: file "file:///home/chucka/xindice/bin/sdocbook.dtd" not found

Posted by Fernando Padilla <fe...@interdimensions.com>.
this of course deals with the parser tring to access external entities (
like the DTD ).  Essentially, in the future Xindice will have to support
Catalogs, like cocoon does, etc etc.  So that you can match external 
entities ( public id, or system id, or uri ) and tell it where in the 
system to find the resource...

fernando

ps - so yes, for now just place it where it thinks it should be.. sorry


On Tue, 1 Oct 2002, Chuck Amadi wrote:

> Hi , I have installed Xindice successfully digested the commands and 
> ready to go.
> 
> I have a Xml Project  up and running whereby I have transformed static 
> html pages to Xml content pages.
> using html-tidy , Xalan Parser , and Sdocbook.dtd ( Cocoon 2 nearly 
> ready to serve xml sauce ) Anyway
> I have a vast collection of xml pages that are part of the new web-site 
> so I want to store them in Xindice nxd's
> 
> I have created the collection to store under  and the file path path to 
> my xml pages (documents).
> 
> Thus as a xindice user :[chuck @**** bin ]$ xindice ad -c 
> /db/xmlproject/english -f 
> /home/chucka/XmlProject/tourism/english/xml/outdoor.xml - outdoor
> 
> I get an ERROR: file "file:///home/chucka/xindice/bin/sdocbook.dtd" not 
> found
> 
> Thus should I place a copy of sdocbook.dtd into this path -  I'm just a 
> bit hestitent as this is a live working project assignment and I have 
> read a few articles and nothing points me to have done this so if any 
> pointers to the obvious would be kind.
> 
>