From: Colin A. <col...@go...> - 2007-12-26 12:51:42
|
On 26/12/2007, Eric Bezault <er...@go...> wrote: > Colin Adams wrote: > > OK - mystery solved. > > > > The function concerned is: > > > > XM_XPATH_ATOMIC_SORT_COMPARER.raise_non_comparable_exception > > > > This is the sole exception in the XPath library, and it does not leak > > out of any API. > > But it's a problem when compiled with gec at the moment. > > > > I couldn't find a design to report the error except by using an > > internal exception. > > I guess you need to inherit from KL_PART_COMPARATOR instead > of KL_COMPARATOR. I don't see how that helps. If two atomic values are comparable, I need to call less_than. But if they are not comparable, then I need to raise an XPath error. |