forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Alth" <OA...@de.ibm.com>
Subject Re: Problems validating xdoc
Date Wed, 09 Jul 2003 06:57:37 GMT


Hello,

I am using Windows 2000 SP1. The version of Forrest is 0.4, I got the
binary via the download link on xml.apache.org/forrest.

If I run forrest -v validate-xdocs, the output is ...


validate-xdocs:
Using SAX2 reader org.apache.xerces.parsers.SAXParser
Validating developer.xml...
Validating index.xml...
Validating developer.xml...
Validating download.xml...
Validating downloads.xml...
Validating index.xml...
Validating faq.xml...
Validating general.xml...
Validating index.xml...
Validating index.xml...
Validating tabs.xml...
Validating index.xml...
Validating user.xml...

BUILD FAILED
file://C:/forrest/forrest.build.xml:774: Could not validate document C:
\wsad_wor
kspace\xtcm_docu\src\documentation\content\xdocs\user\user.xml
        at
org.apache.tools.ant.taskdefs.optional.XMLValidateTask.doValidate(XML
ValidateTask.java:417)
        at
org.apache.tools.ant.taskdefs.optional.XMLValidateTask.execute(XMLVal
idateTask.java:298)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1331)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1275)
        at org.apache.tools.ant.Main.runBuild(Main.java:614)
        at org.apache.tools.ant.Main.start(Main.java:197)
        at org.apache.tools.ant.Main.main(Main.java:235)
Caused by: java.net.UnknownHostException: C
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
        at java.net.Socket.connect(Socket.java:452)
        at java.net.Socket.connect(Socket.java:402)
        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:692)
        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:913)
        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)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
LDocumentFragmentScannerImpl.java:329)
        at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:525)
        at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:581)
        at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
        at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
ava:1175)
        at
org.apache.tools.ant.taskdefs.optional.XMLValidateTask.doValidate(XML
ValidateTask.java:410)
        ... 9 more
--- Nested Exception ---
java.net.UnknownHostException: C
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
        at java.net.Socket.connect(Socket.java:452)
        at java.net.Socket.connect(Socket.java:402)
        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:692)
        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:913)
        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)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
LDocumentFragmentScannerImpl.java:329)
        at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:525)
        at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:581)
        at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
        at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
ava:1175)
        at
org.apache.tools.ant.taskdefs.optional.XMLValidateTask.doValidate(XML
ValidateTask.java:410)
        at
org.apache.tools.ant.taskdefs.optional.XMLValidateTask.execute(XMLVal
idateTask.java:298)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1331)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1275)
        at org.apache.tools.ant.Main.runBuild(Main.java:614)
        at org.apache.tools.ant.Main.start(Main.java:197)
        at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 1 second






- Oliver


__________________________________________________________________
IBM Deutschland Entwicklung GmbH, Schönaicher Str. 220, D-71032 Böblingen
eServer Software Management, D4357, Intern: 7103-06, Tel. 902-2790,
Tel.: ++49-(0)7031-16-4280, Fax.: 07031-16-2790
Internet: OALTH@DE.IBM.COM


                                                                                         
                                              
                      David Crossley                                                     
                                              
                      <crossley@indexge        To:       forrest-dev@xml.apache.org   
                                                 
                      o.com.au>                cc:                                    
                                                 
                                               Subject:  Re: Problems validating xdoc    
                                              
                      09.07.2003 08:43                                                   
                                              
                      Please respond to                                                  
                                              
                      forrest-dev                                                        
                                              
                                                                                         
                                              
                                                                                         
                                              




Oliver Alth wrote:
> Hello,
> this is the document beginning. I did not change anything to the
> DOCTYPE reference.
<snip/>

Your document type declaration looks okay to me. So my guess about
entity resolution problems seems to be wrong. However, i am still
concerned that you are getting network exceptions, so part of my
comments are useful.

Would you please tell us a little about your environment.

What version of Forrest and how did you get it? Is it downloaded
from our website, or from CVS, or included with some other tool?

I presume that you are doing 'forrest -v validate-xdocs'.

... i am trying to get some handle on this obscure error.

--David







Mime
View raw message