[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [xml] Forcing the xml:base attribute for included files in the same directory



>> BTW I know there have been some discussions about xml:base fixup
>> being required by the XInclude standard, but under Eclipse we use
>> Apache Xerces which has a feature to switch off 'fixup-base-uris'.
>> This allows us to use XInclude without going through updating each and
>> every Schema file. 
> 
> This is dangerous. The reason of the URI base fixup is to garantee that
> URI references done from the XInclud'ed documents stay valid after the
> inclusion. If you don't do the fixup you basically break URI References
> done from within the document:
>   http://www.w3.org/TR/xinclude/#base
> 
> It can be disabled in XInclude at user option, libxml2 implements this.

Sorry, but how, seem to have missed that option?

-- Wieant



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]