You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Stan <sy...@oblix.com> on 2001/03/08 07:02:55 UTC
Re: XalanSourceTreeDOMSupport.cpp
Hi,
Not sure if this is changed in the newest source, but in going over the
source, line 143 asserts
the same thing twice. I think that it should be:
assert(node1.isIndexed() == true && node2.isIndexed() == true);
Thanks,
-Stan
XalanSourceTreeDOMSupport.cpp:143:
bool
XalanSourceTreeDOMSupport::isNodeAfter(
const XalanNode& node1,
const XalanNode& node2) const
{
assert(node1.isIndexed() == true && node1.isIndexed() == true);
return node1.getIndex() > node2.getIndex() ? true : false;
}