On 03/16/2012 03:34 PM, Christian GrĂ¼n wrote:
The context() method has been added. Moreover, I have added new bind() and context() function signatures to the client APIs with an additional "type" argument.
Most excellent; thanks!
I'm a little curious how the default behavior when no type value is passed would be used -- as it stands, I always get "[XPDY0050] Root of the context item must be a document node" when not explicitly passing "XML" in the type field.
Perhaps it might make more sense for the client libraries to pass in 'XML' as the default value when .context() is called with only two arguments?