From 11952f8447b672c766e0bf6b6f709abe20fc1433 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Fri, 30 Oct 2020 11:24:30 +0000 Subject: [PATCH] Fix #79341: XmlWriter docs does not say $uri is nullable git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351079 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../functions/xmlwriter-start-attribute-ns.xml | 6 ++++-- .../functions/xmlwriter-start-element-ns.xml | 11 +++++++---- .../functions/xmlwriter-write-attribute-ns.xml | 11 +++++++---- .../functions/xmlwriter-write-element-ns.xml | 15 +++++++++------ 4 files changed, 27 insertions(+), 16 deletions(-) diff --git a/reference/xmlwriter/functions/xmlwriter-start-attribute-ns.xml b/reference/xmlwriter/functions/xmlwriter-start-attribute-ns.xml index ff5d33e096..d251e59d71 100644 --- a/reference/xmlwriter/functions/xmlwriter-start-attribute-ns.xml +++ b/reference/xmlwriter/functions/xmlwriter-start-attribute-ns.xml @@ -14,7 +14,7 @@ boolXMLWriter::startAttributeNs stringprefix stringname - stringuri + stringnulluri &style.procedural; @@ -22,7 +22,7 @@ resourcexmlwriter stringprefix stringname - stringuri + stringnulluri Starts a namespaced attribute. @@ -54,6 +54,8 @@ The namespace URI. + If uri is &null;, the namespace declaration will be + omitted. diff --git a/reference/xmlwriter/functions/xmlwriter-start-element-ns.xml b/reference/xmlwriter/functions/xmlwriter-start-element-ns.xml index c7abe2ae1e..cbcefe1bcb 100644 --- a/reference/xmlwriter/functions/xmlwriter-start-element-ns.xml +++ b/reference/xmlwriter/functions/xmlwriter-start-element-ns.xml @@ -12,17 +12,17 @@ &style.oop; boolXMLWriter::startElementNs - stringprefix + stringnullprefix stringname - stringuri + stringnulluri &style.procedural; boolxmlwriter_start_element_ns resourcexmlwriter - stringprefix + stringnullprefix stringname - stringuri + stringnulluri Starts a namespaced element. @@ -38,6 +38,7 @@ The namespace prefix. + If prefix is &null;, the namespace will be omitted. @@ -54,6 +55,8 @@ The namespace URI. + If uri is &null;, the namespace declaration will be + omitted. diff --git a/reference/xmlwriter/functions/xmlwriter-write-attribute-ns.xml b/reference/xmlwriter/functions/xmlwriter-write-attribute-ns.xml index eb96ac723a..f777f66d0e 100644 --- a/reference/xmlwriter/functions/xmlwriter-write-attribute-ns.xml +++ b/reference/xmlwriter/functions/xmlwriter-write-attribute-ns.xml @@ -12,18 +12,18 @@ &style.oop; boolXMLWriter::writeAttributeNs - stringprefix + stringnullprefix stringname - stringuri + stringnulluri stringcontent &style.procedural; boolxmlwriter_write_attribute_ns resourcexmlwriter - stringprefix + stringnullprefix stringname - stringuri + stringnulluri stringcontent @@ -40,6 +40,7 @@ The namespace prefix. + If prefix is &null;, the namespace will be omitted. @@ -56,6 +57,8 @@ The namespace URI. + If uri is &null;, the namespace declaration will be + omitted. diff --git a/reference/xmlwriter/functions/xmlwriter-write-element-ns.xml b/reference/xmlwriter/functions/xmlwriter-write-element-ns.xml index 440b94c87b..d1fb98fde9 100644 --- a/reference/xmlwriter/functions/xmlwriter-write-element-ns.xml +++ b/reference/xmlwriter/functions/xmlwriter-write-element-ns.xml @@ -12,19 +12,19 @@ &style.oop; boolXMLWriter::writeElementNs - stringprefix + stringnullprefix stringname - stringuri - stringcontent + stringnulluri + stringcontent&null; &style.procedural; boolxmlwriter_write_element_ns resourcexmlwriter - stringprefix + stringnullprefix stringname - stringuri - stringcontent + stringnulluri + stringcontent&null; Writes a full namespaced element tag. @@ -40,6 +40,7 @@ The namespace prefix. + If prefix is &null;, the namespace will be omitted. @@ -56,6 +57,8 @@ The namespace URI. + If uri is &null;, the namespace declaration will be + omitted.