Problem with text() method
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 474
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
using XSoup and the XPATH Query //td[text()='Unverb. Preisempf.:'], i get the following exception:
Could not parse query 'td[text()='Unverb. Preisempf.:']': unexpected token at 'text()='Unverb. Preisempf.:''
Using the same query within chrome works fine.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in XSoup with the reported XPath expression //td[text()='Unverb. Preisempf.:'] and confirm the unexpected-token exception. Compare the result with the same query in Chrome, then add a regression check showing that this expression is accepted; done means it no longer produces the reported parse error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100