[EMAIL PROTECTED] 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 > 'http://10.10.10.16:8888/build/document-v13.dtd'. > > 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. http://forrest.apache.org/docs/project-sitemap.html Does that help, or have i misunderstood? -David