Re: [xml] XPath "//namespace::*" and xml: weirdness

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.
   "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 Veillard      | Red Hat
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]