-
Notifications
You must be signed in to change notification settings - Fork 752
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
Document Dom\HTMLDocument methods #4314
base: master
Are you sure you want to change the base?
Conversation
This is intentional |
language-snippets.ent
Outdated
The <link linkend="libxml.constants">LIBXML_NOEMPTYTAG</link> | ||
and <link linkend="libxml.constants">LIBXML_NOXMLDECL</link> options are supported. | ||
Prior to PHP 8.3.0, only the <link linkend="libxml.constants">LIBXML_NOEMPTYTAG</link> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can just use the <constant>
tags here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I made this mistake because this was copied+adapted
language-snippets.ent
Outdated
|
||
<!ENTITY dom.parameter.compliant.encoding '<simpara xmlns="http://docbook.org/ns/docbook"> | ||
The encoding that the document was created in. | ||
If not provided, it will automatically detect the used encoding. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure we should use "detect" here.
Maybe more something along the lines
It will attempt to determine the most likely encoding that is used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
&dom.errors.compliant.common; | ||
<listitem> | ||
<simpara> | ||
Throws an <exceptionname>Exception</exceptionname> if |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it generic or is it a DOMException?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A normal Exception, DOM doesn't define this exception so it's not a DOMException.
No description provided.