Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 72579 invoked by uid 500); 9 Jul 2003 06:07:55 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 72570 invoked from network); 9 Jul 2003 06:07:54 -0000 Received: from d12lmsgate-4.de.ibm.com (194.196.100.237) by daedalus.apache.org with SMTP; 9 Jul 2003 06:07:54 -0000 Received: from d12relay02.megacenter.de.ibm.com (d12relay02.megacenter.de.ibm.com [9.149.165.196]) by d12lmsgate-4.de.ibm.com (8.12.9/8.12.8) with ESMTP id h6967uMk040968 for ; Wed, 9 Jul 2003 08:08:01 +0200 Received: from d12ml044.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12relay02.megacenter.de.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id h6967tq8228318 for ; Wed, 9 Jul 2003 08:07:56 +0200 To: forrest-dev@xml.apache.org MIME-Version: 1.0 Subject: Re: Problems validating xdoc X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002 Message-ID: From: "Oliver Alth" Date: Wed, 9 Jul 2003 08:07:54 +0200 X-MIMETrack: Serialize by Router on D12ML044/12/M/IBM(Release 5.0.9a |January 7, 2002) at 09/07/2003 08:07:55, Serialize complete at 09/07/2003 08:07:55 Content-Type: multipart/alternative; boundary="=_alternative 00213EEBC1256D5E_=" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is a multipart message in MIME format. --=_alternative 00213EEBC1256D5E_= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, this is the document beginning. I did not change anything to the DOCTYPE=20 reference. What is wrong here? Thanks for the help, Oiver ?xml version=3D"1.0" encoding=3D"UTF-8"?> =20
=20 Welcome to xTcm - extensible Tool configuration management</titl= e>=20 </header>=20 <body>=20 =20 <anchor id=3D"spec"/> <section> =20 <title>Functional Specification

=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F IBM Deutschland Entwicklung GmbH, Sch=F6naicher Str. 220, D-71032 B=F6bling= en 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 09.07.2003 06:13 Please respond to forrest-dev =20 To: forrest-dev@xml.apache.org cc:=20 Subject: Re: Problems validating xdoc Oliver Alth wrote: > Hello, >=20 > I am trying to validate an Xdoc, I get the following message: > 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.(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=20 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+documen= t+types http://cocoon.apache.org/2.1/userdocs/concepts/catalog.html --David --=_alternative 00213EEBC1256D5E_= Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
this is the document beginning. I di= d not change anything to the DOCTYPE reference.

What is wrong here?

Thanks for the help,

Oiver







?xml version= =3D"1.0" encoding=3D<= tt>"UTF-8"?>

<!DOCTYPE docu= ment PUBLIC "-//APACHE//DTD Documentation V1.1//EN&= quot; "document-v11.dtd= ">
<document><= /tt>
  <
header>
    <title
>Wel= come to xTcm - extensible Tool configuration management</= title>
  </
header>
  <body>
   
    <anchor id=3D= "spec"= />
    <section>
   
      <title>= Functional Specification= </title>
      <p>





=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F
IBM Deutschland Entwicklung GmbH, Sch=F6naicher Str. 220, D-71032 B=F6bling= en
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@index= geo.com.au>

09.07.2003 06:13
Please respond to forrest-dev

       
        To: &nbs= p;      forrest-dev@xml.apache.org
        cc: &nbs= p;      
        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(PlainS= ocketImpl.java:153)
>         at java.net.Socket.connect(Socket.java:452= )
>         at java.net.Socket.connect(Socket.java:402= )
>         at sun.net.NetworkClient.doConnect(Network= Client.java:139)
>         at sun.net.NetworkClient.openServer(Networ= kClient.java:118)
>         at sun.net.ftp.FtpClient.openServer(FtpCli= ent.java:423)
>         at sun.net.ftp.FtpClient.<init>(FtpC= lient.java:692)
>         at
> sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.jav= a)

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, espe= cially
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+documen= t+types
http://cocoon.apache.org/2.1/userdocs/concepts/catalog.html

--David





--=_alternative 00213EEBC1256D5E_=--