You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Wing Yew Poon (JIRA)" <xm...@xml.apache.org> on 2006/06/11 01:39:30 UTC
[jira] Created: (XMLBEANS-276) selectPath() with
setXqueryCurrentNodeVar() option does not work for Saxon
selectPath() with setXqueryCurrentNodeVar() option does not work for Saxon
--------------------------------------------------------------------------
Key: XMLBEANS-276
URL: http://issues.apache.org/jira/browse/XMLBEANS-276
Project: XMLBeans
Type: Bug
Components: XPath
Versions: Version 2.1
Environment: Windows XP
Reporter: Wing Yew Poon
When doing a selectPath() or execQuery() on an XmlObject or XmlCursor, "$this" gets bound automagically to the current node. In XmlOptions, there is a method to set a variable of a different name (than "this") to the current node - setXqueryCurrentNodeVar(String).
However, setting this option doesn't work when doing a selectPath(String, XmlOptions) using Saxon. [I tried this using XMLBeans 2.1.0 + Saxon 8.1.1 as well as XMLBeans latest svn + Saxon 8.6.1.]
The same thing works when using the BEA XQuery engine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org
[jira] Resolved: (XMLBEANS-276) selectPath() with
setXqueryCurrentNodeVar() option does not work for Saxon
Posted by "Radu Preotiuc-Pietro (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-276?page=all ]
Radu Preotiuc-Pietro resolved XMLBEANS-276.
-------------------------------------------
Fix Version/s: Version 2.2.1
Resolution: Fixed
Assignee: Wing Yew Poon
Commited as of SVN revision 425869, thanks for fixing this.
> selectPath() with setXqueryCurrentNodeVar() option does not work for Saxon
> --------------------------------------------------------------------------
>
> Key: XMLBEANS-276
> URL: http://issues.apache.org/jira/browse/XMLBEANS-276
> Project: XMLBeans
> Issue Type: Bug
> Components: XPath
> Affects Versions: Version 2.1
> Environment: Windows XP
> Reporter: Wing Yew Poon
> Assigned To: Wing Yew Poon
> Fix For: Version 2.2.1
>
> Attachments: xpath_fix.diff
>
>
> When doing a selectPath() or execQuery() on an XmlObject or XmlCursor, "$this" gets bound automagically to the current node. In XmlOptions, there is a method to set a variable of a different name (than "this") to the current node - setXqueryCurrentNodeVar(String).
> However, setting this option doesn't work when doing a selectPath(String, XmlOptions) using Saxon. [I tried this using XMLBeans 2.1.0 + Saxon 8.1.1 as well as XMLBeans latest svn + Saxon 8.6.1.]
> The same thing works when using the BEA XQuery engine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org
[jira] Updated: (XMLBEANS-276) selectPath() with
setXqueryCurrentNodeVar() option does not work for Saxon
Posted by "Wing Yew Poon (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-276?page=all ]
Wing Yew Poon updated XMLBEANS-276:
-----------------------------------
Attachment: xpath_fix.diff
Patch for the problem.
> selectPath() with setXqueryCurrentNodeVar() option does not work for Saxon
> --------------------------------------------------------------------------
>
> Key: XMLBEANS-276
> URL: http://issues.apache.org/jira/browse/XMLBEANS-276
> Project: XMLBeans
> Type: Bug
> Components: XPath
> Versions: Version 2.1
> Environment: Windows XP
> Reporter: Wing Yew Poon
> Attachments: xpath_fix.diff
>
> When doing a selectPath() or execQuery() on an XmlObject or XmlCursor, "$this" gets bound automagically to the current node. In XmlOptions, there is a method to set a variable of a different name (than "this") to the current node - setXqueryCurrentNodeVar(String).
> However, setting this option doesn't work when doing a selectPath(String, XmlOptions) using Saxon. [I tried this using XMLBeans 2.1.0 + Saxon 8.1.1 as well as XMLBeans latest svn + Saxon 8.6.1.]
> The same thing works when using the BEA XQuery engine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org