-
-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Convert null to xsi:nil based on setting * Update ArrayToXml.php * Update ArrayToXml.php * Update ArrayToXmlTest__it_can_convert_an_array_with_empty_string_and_null_value_to_xml__1.xml * Update ArrayToXml.php
- Loading branch information
Showing
4 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...__/ArrayToXmlTest__it_can_convert_an_array_with_empty_string_and_null_value_to_xml__1.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0"?> | ||
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<root> | ||
<testString/> | ||
<testNull xsi:nil="true"/> | ||
<testNull/> | ||
</root> |
5 changes: 5 additions & 0 deletions
5
...lTest__it_can_convert_an_array_with_empty_string_and_null_value_to_xml_with_option__1.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0"?> | ||
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<testString/> | ||
<testNull xsi:nil="true"/> | ||
</root> |