ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Braden N. McDaniel" <bnmcdan...@learningsoft.net>
Subject RE: XML entity question
Date Thu, 27 Jul 2000 21:33:41 GMT
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


Mime
View raw message