[Osr-101] Relative paths in url attribute of open, save, etc.

Thomas Comiotto comiotto at rcfmedia.ch
Fri Feb 2 12:19:48 CET 2007


Hi Michi

>
> why not using the document URL which is being referenced from  
> within the introspection URL?
>

I guess you mean the URI specified for the open command. If so the  
anwser is no, because - well -  it's a commandURI : The introspection  
file contains a bunch of arbitrary commandURIs that might be  
unrelated to the introspected document (if an introspection took  
place at all), e.g.

Introspected Document:
http://foo.bar/hello/world.html

Introspection file:
http://foo.bar/introspection?cmd=data

<resource><!-- BTW, do we have a resource tag already? -->
   <edit>
     <open url="http://foo.bar/neutron?cmd=open&uri=http://foo.bar/ 
sources/hello.xml
     <style url="http://foo.bar/neutron?cmd=style"/>
   </edit>
</resource>


If we had a resource tag the following would be an option:
<resource uri="http://foo.bar/hello.html>
  ..
</resource>


Cheers,
Thomas




More information about the Osr-101 mailing list