[oXygen-user] oXygen-6.1 xml:base woes

Dan Caprioara
Wed Aug 24 06:40:12 CDT 2005


Hello Raymond,

We will look into this..

Meantime, you can replace the saxon.jar file from the lib directory (in 
the oXygen install dir) with the saxon.jar file from the Saxon 6.5.3 
distribution.

Best regards,
Dan

Raymond wrote:

> docbook-dtd-4.5b1 docbook-xsl-1.69.1 jdk-1.5.0_4, kubuntu-5.04 oXygen-6.1 
> saxon-6.5.4
> 
> Consider the following:
> 
> <sect1 xmlns:xi="&w3XInclude;" xml:base="">
> ...
> ...
> <mediaobject>
>          <imageobject>
>               <imagedata fileref="figures/foo.gif"/>
>         </imageobject>
>  </mediaobject>
> ...
> ...
> </sect1>
> 
> generates the following html:
> 
> ...
> ...
> <div class="mediaobject">
> <img 
> src="file:/home/raymond/docbook/foo/file:/home/raymond/docbook/foo/figures/foo.gif">
> </div>
> ...
> ...
> 
> Why is the image path not relative and duplicated?
> 
> Thought  xml:base="" as a document root attribute would implement relative 
> paths, but this time to no avail.
> 
> Note, xml:base="" works CORRECTLY in oXygen-6.0.
> 
> Is this an issue with saxon-6.5.4 ?
> 
> If so, what is the process to utilize saxon-6.5.3 in oXygen-6.1 ?
> 
> Help please, this issue is breaking my current project !!!
> 
> Raymond
> _______________________________________________
> oXygen-user mailing list
> 
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user




More information about the oXygen-user mailing list