[Osr-101] Relative paths in url attribute of open, save, etc.
Thomas Comiotto
comiotto at rcfmedia.ch
Thu Feb 1 17:39:55 CET 2007
>
> But for instance CSS links referenced from within the editable
> document, the document URL would be considered the base URL.
>
Unfortunately Neutron's introspection data lacks information about
what you call the document URL (the URI of the document that was
introspected) which is needed to resolve CSS and other linked resources.
As a workaround the introspection document's referrer has to be
considered the baseURI for linked resources (I bet it's how Yulup
does it - if at all).
But introspection data should be self contained I think. If you load
a doc from a NAR for instance or point your editor directly to an
introspection file there is no referrer.
I'd either introduce a referrer directive to the introspection file,
find a catchy term for "introspected document" and introduce a
baseURI for that, or (as suggested) keep things flexible and add an
attribute to the <style> directive that let's the server state a
baseURI for linked resources referred to by the styled view.
Thomas
> Thanks
>
> Michi
>
>>
>> Cheers,
>> Thomas
>>
>>
>>
>
>
> --
> Michael Wechner
> Wyona - Open Source Content Management - Apache Lenya
> http://www.wyona.com http://lenya.apache.org
> michael.wechner at wyona.com michi at apache.org
> +41 44 272 91 61
>
>
More information about the Osr-101
mailing list