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. The use case and semantics noted earlier still apply. Ihab -- Ihab A.B. Awad, Palo Alto, CA
