Permalink
Browse files

Now xmlize is invoked with XML_OPTION_SKIP_WHITE = 0 to

avoid \n skipping.
  • Loading branch information...
1 parent c99ce77 commit ca5c2e1d3c7f01f05eef8b33ec277ada3229ed70 stronk7 committed Jul 5, 2003
Showing with 2 additions and 2 deletions.
  1. +2 −2 backup/restorelib.php
View
@@ -1417,7 +1417,7 @@ function endElementQuestions($parser, $tagName) {
$xml_data = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n".$this->temp;
//Call to xmlize for this portion of xml data (one MOD)
//echo "-XMLIZE: ".strftime ("%X",time()),"-"; //Debug
- $data = xmlize($xml_data);
+ $data = xmlize($xml_data,0);
//echo strftime ("%X",time())."<p>"; //Debug
//traverse_xmlize($data); //Debug
//print_object ($GLOBALS['traverse_array']); //Debug
@@ -1464,7 +1464,7 @@ function endElementModules($parser, $tagName) {
$xml_data = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n".$this->temp;
//Call to xmlize for this portion of xml data (one MOD)
echo "-XMLIZE: ".strftime ("%X",time()),"-"; //Debug
- $data = xmlize($xml_data);
+ $data = xmlize($xml_data,0);
echo strftime ("%X",time())."<p>"; //Debug
//traverse_xmlize($data); //Debug
//print_object ($GLOBALS['traverse_array']); //Debug

0 comments on commit ca5c2e1

Please sign in to comment.