Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jsoup.parse doesnt parse <frame> tag #180

Closed
LiorBarnea opened this issue Apr 8, 2012 · 4 comments
Closed

Jsoup.parse doesnt parse <frame> tag #180

LiorBarnea opened this issue Apr 8, 2012 · 4 comments

Comments

@LiorBarnea
Copy link

Hi,
Sending the following html :

result in frame tag doest not exist in result "org.jsoup.nodes.Document"
@michaelklishin
Copy link

Please use ``` or gist, HTML pasted inline is stripped by github

@LiorBarnea
Copy link
Author

fixed issue description

@Wound
Copy link

Wound commented Apr 9, 2012

Your HTML example has quite incorrect syntax. Refer to: http://www.edition-w3.de/TR/1999/REC-html401-19991224/present/frames.html#h-16.2

Basically you would either have an <iframe> inside a body tag, or <frame> tags inside a frameset and no body tag at all. I guess even a 'real world' parser might produce undeterminable results for your input.

So replace your body-tag with a frameset and it should work.

@LiorBarnea
Copy link
Author

Thanks :)

jhy added a commit that referenced this issue Jul 3, 2022
Simplifies use of xpath queries when there are xmlns attributes set, by allowing elements to be found by their local name, consistently.

Fixes #180
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants