W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2007

Re: XPathNSResolver issues

From: <keshlam@us.ibm.com>
Date: Thu, 11 Oct 2007 13:19:37 -0400
To: Joćo Eiras <joao.eiras@gmail.com>
Cc: "www-dom@w3.org" <www-dom@w3.org>, www-dom-request@w3.org
Message-ID: <OF8F750CE8.EA57C9CF-ON85257371.005F0D12-85257371.005F2E47@lotus.com>
Correct behavior.

XPath 1.0 has no concept of default namespace. If you want to reference
namespaced nodes you MUST use a prefix in your XPath and bind it

XPath 2.0 adds the concept of default namespace, but I don't believe the
DOM APIs support that yet.

"... Three things see no end: A loop with exit code done wrong,
A semaphore untested, And the change that comes along. ..."
  -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish
Received on Thursday, 11 October 2007 17:34:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:13 UTC