> Here's my basic pipeline: > > <map:pipeline> > <map:match pattern="remotedb/**"> > <map:match type="request-parameter" pattern="xpath"> > <map:generate > src="xmldb:xindice://localhost:8080/db/{../1}#{1}"/> > <map:serialize type="xml"/> > </map:match> > <map:generate > src="xmldb:xindice://localhost:8080/db/{1}"/> > <map:serialize type="xml"/> > </map:match> > </map:pipeline> > > I found that if you serialize to text the only time > you will see output is if you ask for a particular > document from the collection. I get a blank page > otherwise.
I had been serilizing to xml, but I was getting back and xml doc containing <html><body/></html>, which I thought was really odd, so I switched to text to see if there was any difference. As for getting a blank page, I get blank if I don't use the rpc driver. With the rpc driver I don't get any blanks, regardless of the trailing slash. I just get errors. > I was able to generate a Resource not found error by > leaving off the trailing / on the URL. In other > words, asking for > http://localhost/cocoon/~mdeggers/remotedb fails while > http://localhost/cocoon/~mdeggers/remotedb/ works as > expected. If I have the trailing slash, it assumes its a collection and says collection not found, without the trailing slash it says document not found. > I didn't mean to sound condescending in my earlier > email . . . I was just trying to eliminate all > possible sources of the problem. I apologize if I've > caused an issue. No problem. No issue. I am thankful for any and all input. Brian