Element not found in <head>
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 474
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
In version 0.3.1, when trying to evaluate "/html/head/link[@rel='canonical']/@href" over the DOM generated by JSOUP version 1.11.3 of the attached file, the element link is not found. Actually it is found in the body node "/html/head/link[@rel='canonical']/@href" which is obviously wrong.
milanuncios_busqueda_modular_synth.htm.zip
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 XPath evaluation for /html/head/link[@rel='canonical']/@href against the attached milanuncios_busqueda_modular_synth.htm file using JSOUP 1.11.3 and xsoup 0.3.1. Inspect how the DOM and XPath evaluation handle the head link; done means the canonical link is selected under /html/head rather than body.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100