Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Canonicalizer Performance

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: "'Wolfgang Hoschek'" <wolfgang.hoschek AT mac.com>
  • Cc: 'Elliotte Harold' <elharo AT metalab.unc.edu>, 'John Cowan' <cowan AT ccil.org>, 'xom-interest' <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Canonicalizer Performance
  • Date: Mon, 28 Aug 2006 22:06:01 +0100

> Ok. You might still consider the most trivial fix: On
> overflow, have saxon simply change the prefix to one that's
> already been bound to the same URI, and continue as normal.

It works until you start using QNames in content. Because of this problem,
the XSLT and XQuery specs have moved firmly in the direction of treating
prefixes as significant and to-be-retained, though there are exceptions for
example where you generate two attributes of the same element using the same
prefix to refer to different URIs.

But if there were enough people hitting the limit to justify coding and
testing a recovery strategy for use when the limit is encoutered, then I
would be thinking of how to remove the limit.

Michael Kay
http://www.saxonica.com/





Archive powered by MHonArc 2.6.24.

Top of Page