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: Michael Kay <mike AT saxonica.com>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] XOM 1.2.8 released
  • Date: Mon, 14 May 2012 16:11:05 +0100



On 14/05/2012 15:44, Regier Avery J wrote:
This release resulted in a surprising failure for me. I've been successfully
giving a prefix to the default namespace of a document using:

XPathContext context =
XPathContext.makeNamespaceContext(doc.getRootElement());
context.addNamespace("a", context.lookup(""));

It looks as if a bug has been fixed. It should not be possible to bind a prefix to the "null namespace".


Michael Kay
Saxonica




Archive powered by MHonArc 2.6.24.

Top of Page