We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Specifically when I call:
Document doc = Jsoup.parse(xhtml, "", Parser.xmlParser());
on a xhtml document that has the following doctype:
<!DOCTYPE html SYSTEM "exampledtdfile.dtd">
I end up with the following result in the document (SYSTEM is now missing):
<!DOCTYPE html "exampledtdfile.dtd">
But this works fine on a document with:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Since SYSTEM is a proper way of declaring a DTD, I believe this is an issue with Jsoup.
The text was updated successfully, but these errors were encountered:
@gzli92 ,
This thing is also happening to me, and not only has to do with the SYSTEM identifier.
Having a file header like:
Parsing my document twice:
Jsoup.parse(new FileInputStream(xmlFile), FILE_ENCODING, xmlFile.getPath(), Parser.xmlParser());
Will generate this in the first iteration (parse):
And then generate this in the second iteration (parse):
And I am using the latest version so far (1.8.3)
Sorry, something went wrong.
@jhy can you make a statement to this issue, please.
c28e5bf
Thanks!
No branches or pull requests
Specifically when I call:
on a xhtml document that has the following doctype:
I end up with the following result in the document (SYSTEM is now missing):
But this works fine on a document with:
Since SYSTEM is a proper way of declaring a DTD, I believe this is an issue with Jsoup.
The text was updated successfully, but these errors were encountered: