Daniel Fagerstrom pisze:
IIRC that is the case for the xpathstraversable generator. So it
wouldn't work with a servlets: protocol as I conceive it.
Maybe we could have some extension to the directory generator so that it
only lists directories that contain a specified URI (like e.g.
list.xsamples) that could be implemented with the exists method in the
Servlet interface, which for the servlet service source in turn could
make a HEAD call and see if the response is 200 OK.
We are back to HEAD call?
I think that we don't have to touch xpathtraversable generator. If we have list of servlets, what about generating list of XInclude
instructions and applying XInclude transformer. This way we could collect list of servlet being a sample because other would just respond
with 404 which could be filtered out.
--
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/