Re: [xml] XPath "//namespace::*" and xml: weirdness
- From: Daniel Veillard <veillard redhat com>
- To: Jason Viers <lists beanalby net>
- Cc: xml gnome org
- Subject: Re: [xml] XPath "//namespace::*" and xml: weirdness
- Date: Tue, 14 Mar 2006 16:05:54 -0500
On Tue, Mar 14, 2006 at 02:04:08PM -0500, Jason Viers wrote:
Wondering if someone could shed some light on exactly what libxml2 is
doing here.
Following the XPath spec as far as I can tell.
http://www.w3.org/TR/xpath#namespace-nodes
"Each element has an associated set of namespace nodes, one for each
distinct namespace prefix that is in scope for the element (including
the xml prefix, which is implicitly declared by the XML Namespaces
Recommendation [XML Names]) and one for the default namespace if one
is in scope for the element."
Read the spec, then raise an issue iif you think libxml2 behaviour
deviates from the spec, thanks.
Daniel
--
Daniel Veillard | Red Hat http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]