OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] multiple Xinclude


I am not setting xml:base in any of my Xincludes. My understanding is 
that xml:base will be correstly generated by the docbook xslt. I am 
using relative paths for my files. Is't a requirement that I use 
xml:base in my Xincludes to get the generated Xinclude correctly ?



Stefan Seefeld wrote:
> Mansour wrote:
>> Stefan, you were right. It had to do with the xml:base attribute. In 
>> the generated fo file I found that the resulting path is 
>> xml:base="SECTION_DIR/IMAGES_DIR/image1.svg". It should have been 
>> xml:base="CHAPTERS_DIR/SECTION_DIR/IMAGES_DIR/image1.svg". I though 
>> Xinclude will automatically preserve and adjust this path. I am using 
>> xalan. How can I fix this ??
>
> My reading of http://www.w3.org/TR/xinclude/#base is that the injected 
> xml:base should make sure relative URIs remain valid. If your 
> processor (xalan) doesn't generate the right xml:base attribute it is 
> a bug.
>
> Regards,
>         Stefan
>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]