On 7/10/09 12:50, [email protected] wrote:
Ok, after talking with Ziqing Mao, it became apparent (a fresh set of
eyes is always a good thing!) that our ExternalReference class already
has the necessary state in it:
On Thu, Jul 9, 2009 at 5:39 PM,<[email protected]> wrote:
interface PluginEnvironment {
CharProducer loadExternalResource(
ExternalReference ref,
String mimeType);
String rewriteUri(
ExternalReference ref,
String mimeType);
}
Each ExernalReference already has a FilePosition for where it's
declared, and a URI for what it points to. All we need to do is fix
the one point in the HTML attribute rewriting where we are prematurely
resolving the embedded URIs.
oh, I thought you knew that already.
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.