You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by foxmask <fo...@gmail.com> on 2004/10/25 11:55:12 UTC

Docbook + Xinclude and Correct path question.

I've a docbook file like that :

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<book xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Installation Guide</title>
<xi:include  href="divers/revhistory.xml"     />
<xi:include  href="divers/copyright.xml"        />
<xi:include  href="chaptre/foo.xml"            />
</book>

when i run forrest and access to my link i have the following error message :
Internal Server Error 
Message: null

Description: No details available.

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

Request URI

fox/My_book.html

cause

org.apache.avalon.framework.CascadingException: Resource not found:
file:/home/java/apache-forrest-0.6/src/core/context/divers/revhistory.xml

request-uri

/fox/My_book.html


in fact i've put all my file in :
/home/me/www/documentation/content/xdocs/fox/ and in the corresponding
subdir you car read in the "main" docbook file.

what do i have to do in the My_book.xml to make forrest understand the
correct path of each "xincluded" file ?

regards.