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 22:20:10 GMT
At 05:33 PM 7/27/00 -0400, you wrote:
>On Thu, 27 Jul 2000, Dino Valente wrote:
>
>> At 01:57 PM 7/27/00 -0400, you wrote:
>> >On Thu, 27 Jul 2000, Dino Valente wrote:
>
>[snip]
>
>> >> 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 mean don't use it with a relative URL. Its presence implies that the URL
>is absolute, and in that context '.' and '..' can't be used to walk the
>hierarchy.
>
>Braden

Then how does one include files (absolute URL is not really acceptable:
imagine if you were forced to specify the basedir as an absolute path in
the build files!).

dino

>


Mime
View raw message