Re: [xml] XInclude and the default namespace
- From: Frans Englich <frans englich telia com>
- To: Norman Walsh <ndw nwalsh com>, xml gnome org
- Cc:
- Subject: Re: [xml] XInclude and the default namespace
- Date: Fri, 29 Apr 2005 00:23:20 +0000
On Tuesday 19 April 2005 12:13, Norman Walsh wrote:
I think this is a bug in XInclude support in libxml 2.6.16.
Consider:
test.xml:
<doc xmlns="http://example.com/"
xmlns:xi='http://www.w3.org/2001/XInclude'>
<p>What about this?</p>
<xi:include href="testinc.xml" xpointer="/1/1"/>
From what I can tell here's another bug: "/1/1" is not a valid xpointer(to be
precise, not a valid short hand pointer). I think it should be element(/1/1).
xmllint doesn't report that as a fatal error(e.g fails to process), but
interprets it as an element() scheme.
Cheers,
Frans
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]