Hello list, I'm trying to understand a strange behavior of libxml2's XInclude implementation. Given the following fragment:
... <xi:include href="book.xml" xpointer="xpointer(//author)" > <xi:fallback>No authors for this book ... </xi:fallback> </xi:include> If book.xml doesn't exist the fallback will kick in and everything works as expected, but if book.xml does exist but the xpointer doesn't return any nodes the inclusion fails with the following error message: : XPointer evaluation failed: #xpointer(//author) : could not load /tmp/book.xml, and no fallback was found Is this a quirk in the specs (but then the error message would be utterly misleading) of a bug in the implementation? TIA Ralf Mattes _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
