On Thu, Jul 03, 2008 at 01:04:27PM +0200, Wieant Nielander wrote:
> >> 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?

  Whoops, now I feel stupid! I really though I had implemented it
when I added the flags options (ctxt->parseFlags and associated APIs),
that was certainly my intent, but ... it's not there. Should be rather
simple, just adding a new value for parsing flags (annoying, but well)
and test against it on line 1681.
  If you have a patch ready for this, sure send it along !

   thanks, and sorry :-)

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to