forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <>
Subject Re: generated doc and not finding DTD
Date Fri, 16 Sep 2005 13:46:40 GMT wrote:
> I am having a problem with generating a listing of files in a directory. I 
> get the following error in my browser:
> The system cannot locate the object specified. Error processing resource 
> ''. 
> The top of the generated output looks like:
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.3//EN" 
> "document-v13.dtd">
> My sitemap entry looks like:
>       <map:pipeline internal-only="false">
>       <map:match pattern="**/defaultbuilddir.html">
>       <map:generate type="directory" src="d://builds">
>       <map:parameter name="depth" value="1"/>
>       </map:generate>
>       <map:transform 
> src="{project:resources.stylesheets}/builddir2document.xsl" />
>       <map:transform type="idgen"/>
>       <map:serialize type="xml-document"/>
>       </map:match>
>       </map:pipeline>
> It looks like it is not looking for the DTD in the webapp directory.
> Any thoughts?

That is not Forrest's problem. You would get the same issue
looking at any raw XML file with a web browser. Well it depends
on the browser actually - some don't try to resolve the DTD.

However, i think that you have something wrong with your sitemap.
That should be <map:match pattern="**/defaultbuilddir.xml">

You are serializing to the internal "xml-document"
format which then gets the forrest theme applied.

Does that help, or have i misunderstood?


View raw message