To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=61370 Issue #:|61370 Summary:|XForms and XPath: relative reference inside a |predicat Component:|Word processor Version:|OOo 2.0.1 Platform:|PC URL:| OS/Version:|Linux Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|programming Assigned to:|mru Reported by:|allart
------- Additional comments from [EMAIL PROTECTED] Mon Jan 30 07:00:50 -0800 2006 ------- Hi, It seems that relative reference doesn't work in predicats. I'm joining a document demonstrating the problem. The purpose is to perform a join between two instances: Catalog and Commands. In the form, the user is invited to fill command lines. She select a product available in the catalog, and the price should appear just beside. The request could be expressed as "select the price in the catalog where the article name is the same as the product name in the current command line". The test must be implemented in a predicat, between braces. If I express the "current line" as "line[1]", all is right. If I express it as "ancestor::line", it doesn't work. However, using "ancestor::line" outside a predicat, as shown in line 2, works fine. I don't know the context spécifications inside a predicat, but I think that this is a bug. Don't you? Regards, Ph. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]