On 7/10/09 15:24, [email protected] wrote:
On Fri, Jul 10, 2009 at 3:06 PM, felix<[email protected]>  wrote:
I thought the point was, it's possible for the FilePosition
to be different from the base uri for resolving relative uris.
but I don't have a specific example in mind.

Ok so as you see, I fixed the first problem: that we were resolving too early.

As for the second, it would seem that the PluginEnvironment gets to
decide: it knows the FilePosition where the reference occurred; it
knows the exact URI specified in the reference; and it can decide what
to use as the base for that URI.

Does that make sense?

ah, yeah.  given that all uri resolution goes through PluginEnvironment,
a specific PluginEnvironment can do arbitrary things with the
FilePosition.source.uri, and perhaps map that do some other base uri.

ok.

Reply via email to