Re: [xml] Forcing the xml:base attribute for included files in the same directory
- From: Wieant Nielander <wieant altium nl>
- To: xml gnome org
- Subject: Re: [xml] Forcing the xml:base attribute for included files in the same directory
- Date: Thu, 3 Jul 2008 13:04:27 +0200
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]