Skip to content

Commit 8f6fd5c

Browse files
haszihaszi
andauthored
Add missing libxml related constants (#3388)
* [skip-revcheck] Fix whitespace * Add missing libxml related constants --------- Co-authored-by: haszi <[email protected]>
1 parent 617b58b commit 8f6fd5c

File tree

2 files changed

+34
-7
lines changed

2 files changed

+34
-7
lines changed

reference/dom/constants.xml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,22 @@
230230
<entry>10</entry>
231231
<entry/>
232232
</row>
233+
<row xml:id="constant.xml-local-namespace">
234+
<entry>
235+
<constant>XML_LOCAL_NAMESPACE</constant>
236+
(<type>int</type>)
237+
</entry>
238+
<entry></entry>
239+
<entry>A namespace declaration node.</entry>
240+
</row>
241+
<row xml:id="constant.xml-global-namespace">
242+
<entry>
243+
<constant>XML_GLOBAL_NAMESPACE</constant>
244+
(<type>int</type>)
245+
</entry>
246+
<entry></entry>
247+
<entry>Global namespace type. Removed from libXML.</entry>
248+
</row>
233249
</tbody>
234250
</tgroup>
235251
</table>
@@ -271,7 +287,7 @@
271287
</entry>
272288
<entry>2</entry>
273289
<entry>
274-
If the specified range of text does not fit into a
290+
If the specified range of text does not fit into a
275291
<classname>DOMString</classname>.
276292
</entry>
277293
</row>
@@ -386,7 +402,7 @@
386402
</entry>
387403
<entry>14</entry>
388404
<entry>
389-
If an attempt is made to create or change an object in a way which is
405+
If an attempt is made to create or change an object in a way which is
390406
incorrect with regard to namespaces.
391407
</entry>
392408
</row>
@@ -408,7 +424,7 @@
408424
<entry>16</entry>
409425
<entry>
410426
If a call to a method such as insertBefore or removeChild would make the Node
411-
invalid with respect to "partial validity", this exception would be raised and
427+
invalid with respect to "partial validity", this exception would be raised and
412428
the operation would not be done.
413429
</entry>
414430
</row>

reference/libxml/constants.xml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,17 @@
109109
</note>
110110
</listitem>
111111
</varlistentry>
112+
<varlistentry xml:id="constant.libxml-loaded-version">
113+
<term>
114+
<constant>LIBXML_LOADED_VERSION</constant>
115+
(<type>string</type>)
116+
</term>
117+
<listitem>
118+
<simpara>
119+
Version of libxml's core parser module.
120+
</simpara>
121+
</listitem>
122+
</varlistentry>
112123
<varlistentry xml:id="constant.libxml-noblanks">
113124
<term>
114125
<constant>LIBXML_NOBLANKS</constant>
@@ -233,15 +244,15 @@
233244
</term>
234245
<listitem>
235246
<simpara>
236-
Sets XML_PARSE_HUGE flag, which relaxes any hardcoded limit from the parser. This affects
237-
limits like maximum depth of a document or the entity recursion, as well as limits of the
247+
Sets XML_PARSE_HUGE flag, which relaxes any hardcoded limit from the parser. This affects
248+
limits like maximum depth of a document or the entity recursion, as well as limits of the
238249
size of text nodes.
239250
</simpara>
240251
<note>
241252
<para>
242253
Only available in Libxml &gt;= 2.7.0 (as of PHP &gt;= 5.3.2 and PHP &gt;= 5.2.12)
243254
</para>
244-
</note>
255+
</note>
245256
</listitem>
246257
</varlistentry>
247258
<varlistentry xml:id="constant.libxml-pedantic">
@@ -350,7 +361,7 @@
350361
<para>
351362
Only available in Libxml &gt;= 2.6.14 (as of PHP &gt;= 5.5.2)
352363
</para>
353-
</note>
364+
</note>
354365
</listitem>
355366
</varlistentry>
356367
</variablelist>

0 commit comments

Comments
 (0)