forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: Navigation problem
Date Wed, 30 Apr 2003 11:00:02 GMT
On Tue, Apr 29, 2003 at 04:02:45PM +0200, Ines Robbers wrote:
> 
> > Can you run 'forrest -v validate' and post the results?
> 
> C:\xinclude-demo>forrest -v validate
...
> --- Nested Exception ---
> java.net.UnknownHostException: C
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
>         at java.net.Socket.connect(Socket.java:426)
>         at java.net.Socket.connect(Socket.java:376)
>         at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
>         at sun.net.NetworkClient.openServer(NetworkClient.java:118)
>         at sun.net.ftp.FtpClient.openServer(FtpClient.java:423)
>         at sun.net.ftp.FtpClient.<init>(FtpClient.java:687)
>         at
> sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.ja
> va:175)
>         at
> sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnec
> tion.java:257)
>         at java.net.URL.openStream(URL.java:960)
>         at
> org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.
> java:807)
>         at
> org.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManag
> er.java:767)
>         at
> org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScanner
> Impl.java:275)
>         at
> org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(
> XMLDocumentScannerImpl.java:841)
...

Looks like it's trying to interpret a Windows path C:\... as a URL to the
DTD.  I have no idea why though.

Easiest solution is to switch off XML validation, at least for that file.
See forrest.properties and http://xml.apache.org/forrest/validation.html
for how to do this.


--Jeff




Mime
View raw message