Hmm...

There is, of course, a difference between the "no such property" and "the
property is there, but it is null" situations. In the latter case the
Pointer won't be null.

Give me more information and I'll try to investigate.

Thanks,

- Dmitri


----- Original Message ----- 
From: "Psi Aushilfe3" <[EMAIL PROTECTED]>
To: "Jakarta Commons Users List" <[EMAIL PROTECTED]>
Sent: Friday, August 15, 2003 4:18 AM
Subject: getPointer() returns not null


Hi!

JXPathContext.getPointer(), javadoc: "Traverses the xpath and returns a
Pointer. A Pointer provides easy access to a property. If the xpath
matches no properties in the graph, the pointer will be null."

Well, this seem not to (always?) be true. I have to check for
pointer.getNode() whether it is null but the pointer itself is not
null...


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to