You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by David Nickerson <d....@auckland.ac.nz> on 2000/04/25 00:04:31 UTC
XPath troubles..
Hi All,
I have just ported Xalan-C to IRIX, and am having a bit of trouble with
certain XPath searches.
If I use a document's root element (or any elements further down the tree)
as the context node for a search, and look for the nodes matching the
expression ".//para", the correct nodes are returned. However, if I use the
expression "//para" it crashes somewhere in looking for siblings (I
think!!). It also crashes if I use the document's root node as the context
node and the expression ".//para".
BUT it only ever crashes if there is a <!DOCTYPE....> element in the
document - if you take out the doctype, "//para" will work fine!!
Is this caused by something I've screwed up in the port, or is it expected
behaviour for Xalan-C/XPath ???
(BTW - I'm using an Xalan/Xerces which I got from the anon cvs three days
ago, if that helps!!)
Thanks,
David.