David:
You are right about my using the wrong serializer. I switched it to 'html' and it now works. It looks horrible since it is not skinned and framed by Forrest, but I think I saw a posting on fixing this. Thanks for pointing out my mistake.
The match pattern (<map:match pattern="**/defaultbuilddir.html">) is fake - I only use it to generate the directory listing. I am trying to emulate an older Apache Web Server that let's users download files from a raw directory listing. Is doing this a problem?
Thanks again,
Lou
David Crossley <[EMAIL PROTECTED]> wrote on 09/16/2005 09:46:40:
> [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-> > > <map:match pattern="**/defaultbuilddir.html">
> > <map:generate type="directory" src=""> > > <map:parameter name="depth" value="1"/>
> > </map:generate>
> > <map:transform
> > src="" />
> > <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
- generated doc and not finding DTD Louis . Masters
- Re: generated doc and not finding DTD David Crossley
- Re: generated doc and not finding DTD Louis . Masters
- Re: generated doc and not finding DTD David Crossley
- Re: generated doc and not finding DTD Louis . Masters
- Re: generated doc and not finding DT... David Crossley
- Re: generated doc and not finding DTD Louis . Masters
- Re: generated doc and not finding DT... David Crossley