Re: patching web.xml during build
Andreas Hartmann <[email protected]> Mon, 07 Apr 2003 10:46:51 +0200
| Newsgroups | gmane.comp.cms.wyona.devel |
|---|---|
| Message-ID | <[email protected]> |
Michael Wechner wrote: > Andreas Hartmann wrote: > >>> On the train (without internet connection) I realized that >>> the build (ant install) does not work when the web.xml is being >>> patched by the web-xml.xsl. >>> >>> Well, this seems only to be a problem if you are disconnected from >>> the net, because some host is being looked up. >>> >>> I think it would be nice if we could modify it such that it also >>> works without a connection to the net. >> >> >> >> I also noticed this problem but didn't find the cause or >> a solution yet. It's strange that it works for cocoon.xconf but not >> for web.xml. Why does it need to access java.sun.com? > > I haven't taken a closer look at it, but > maybe it looks some namespace up, which is hidden somewhere in "web.xml" The original web.xml references a DTD at http://java.sun.com/j2ee/dtds/web-app_2_2.dtd. Does anyone know how to detain the XSLT processor from looking up the DTD? Is it possible to use a non-validating parser? I guess, by default Xalan + Xerces are used. But I didn't find any configuration options for the Ant XSLT task. Andreas