Parentheses in XPath 1.0 Toolbar
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 3
- Joined: Fri Sep 15, 2006 8:15 am
Parentheses in XPath 1.0 Toolbar
Problem: Valid Xpath containing parentheses produces parsing error in XPath 1.0 toolbar and XPath Builder.
Hi all,
I sometimes have the need to enter an XPath expression like
(/*/*/*)[1]
which does something different to
/*/*/*[1]
Paths like these give me the error "A location step was expected following the '/' or '//' token".
They work in the XWatch tab, for what it's worth.
This applies to Oxygen 7.2 on at least Windows and Mac OS.[/code]
Hi all,
I sometimes have the need to enter an XPath expression like
(/*/*/*)[1]
which does something different to
/*/*/*[1]
Paths like these give me the error "A location step was expected following the '/' or '//' token".
They work in the XWatch tab, for what it's worth.
This applies to Oxygen 7.2 on at least Windows and Mac OS.[/code]
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
It is a bug when analyzing and executing the XPath expression that you enter in the toolbar. We fixed it already for the next version of <oXygen/>. Until the next version is released please apply the same expression in the XPath toolbar as an XPath 2.0 expression. It will work without problems.
Regards,
Sorin
It is a bug when analyzing and executing the XPath expression that you enter in the toolbar. We fixed it already for the next version of <oXygen/>. Until the next version is released please apply the same expression in the XPath toolbar as an XPath 2.0 expression. It will work without problems.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service