Hi,
Jaspreet.
In the
subject you say Xalan calls getFirstChild on DOMDocument, which is OK if Xalan
tries to evaluate the nodes in the document (there is one root element, but
maybe some comments, a DTD and whatever else before that).
In the
body you say that the ownerElement of DOMDocument is NULL, which is also OK. All
DOMNodes belong to the DOMDocument, and the DOMDocument has no owner to signal
you are at the top already.
Everything sounds as it should be. So what is the problem
actually?
Hiran
-----Original Message-----
From: Jaspreet Singh [mailto:[EMAIL PROTECTED]
Sent: Friday, March 19, 2004 5:24 PM
To: [email protected]
Subject: Why does Xalan call getFirstChild on DOMDocument?Hi
I get calls for DOMNode functions (getFirstChild, etc) in my DOMDocument while calling XPathEvaluator::execute.
Xalan should call these functions on the DocumentElement and not the Document. Since the ownerElement of my DOMDocument is NULL so I'm getting an exception.I hope you got what I'm trying to say.
Thanks in advance
Jaspreet
