ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dino Valente <d...@3dstockcharts.com>
Subject RE: XML entity question
Date Thu, 27 Jul 2000 18:55:42 GMT
At 01:57 PM 7/27/00 -0400, you wrote:
>On Thu, 27 Jul 2000, Dino Valente wrote:
>
>> With sun's parser I get the following with file://../build.template
>> 
>>         at java.net.InetAddress.getAllByName0(InetAddress.java:571)
>>         at java.net.InetAddress.getAllByName0(InetAddress.java:540)
>>         at java.net.InetAddress.getByName(InetAddress.java:449)
>>         at java.net.Socket.<init>(Socket.java:100)
>>         at sun.net.NetworkClient.doConnect(NetworkClient.java:50)
>>         at sun.net.NetworkClient.openServer(NetworkClient.java:38)
>>         at sun.net.ftp.FtpClient.openServer(FtpClient.java:267)
>>         at sun.net.ftp.FtpClient.<init>(FtpClient.java:381)
>> 
>> with file:/// I get:
>> 
>> BUILD FAILED
>> 
>> File "build.xml" not found
>> 
>> but it works fine with file:../build.template
>> 
>> 
>> Using the xerces parser I get the following with file:///../build.template
>
>I don't think that means what you think it means. Per RFC 1808, a relative
>URL does not include the scheme identifier (that is inferred from the base
>document). In an absolute URL, the '.' and '..' are used to resolve to an
>absolute URL. But when they appear in an absolute URL, they are actual
>identifiers in the hierarchy.
>
>Try not using the scheme identifier at all.

What do you mean? Not use "file:"? I have to since the sun parser gives the
following error:

build.xml:3: Relative URI "../build.template"; can not be resolved without
a document

(xerces parser accepts this).

dino


Mime
View raw message