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:07:54 GMT
Hello,
this is the document beginning. I did not change anything to the DOCTYPE 
reference.

What is wrong here?

Thanks for the help,

Oiver







?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
<document> 
  <header> 
    <title>Welcome to xTcm - extensible Tool configuration management</title>

  </header> 
  <body> 
 
    <anchor id="spec"/>
    <section>
 
      <title>Functional Specification</title>
      <p>





__________________________________________________________________
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@indexgeo.com.au>
09.07.2003 06:13
Please respond to forrest-dev

 
        To:     forrest-dev@xml.apache.org
        cc: 
        Subject:        Re: Problems validating xdoc



Oliver Alth wrote:
> Hello,
> 
> I am trying to validate an Xdoc, I get the following message:
<snip/>
> 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.java)

You did not show us the offending xml instance user/user.xml 

I wonder if you have a hard-coded systemIdentifier in the xml instance
using a full pathname to a DTD at C:
... Ant may be trying to go out onto the network to find a host machine
called "C". I have not tried to use full pathnames for DTDs, especially
not Windows pathnames. Anyway, it is not good practise to use
system-dependent pathnames.

Please see the docs (you may need to use an entity resolver) ...
http://xml.apache.org/forrest/validation.html#Associating+DTDs+with+document+types
http://cocoon.apache.org/2.1/userdocs/concepts/catalog.html

--David






Mime
View raw message