Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] XOM 1.2.8 released

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT ibiblio.org>
  • To: XOM API for Processing XML with Java <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] XOM 1.2.8 released
  • Date: Mon, 14 May 2012 21:12:33 -0700

On Mon, May 14, 2012 at 2:26 PM, Regier Avery J
<RegierAveryJ AT johndeere.com> wrote:
> Or look at it this way:  I have just had a default namespace context
> created for me and there is a big part of the namespaces list inaccessible
> via lookup(). A part that is typically the most important.

What prefix do you expect to be assigned to the default namespace?
Remember, the XPath spec is clear that no prefix is not an option
here. In an XPath expression the empty prefix always maps to no
namespace. When XOM violated this (unintentionally) it caused
noticeable bugs.

There's no traversal in either case, though. The context you created
was not based on the entire document and could not necessarily resolve
any namespace in the document. It was based on a single element.

--
Elliotte Rusty Harold
elharo AT ibiblio.org




Archive powered by MHonArc 2.6.24.

Top of Page