Skip to content

Commit

Permalink
Now xmlize is invoked with XML_OPTION_SKIP_WHITE = 0 to
Browse files Browse the repository at this point in the history
avoid \n skipping.
  • Loading branch information
stronk7 committed Jul 5, 2003
1 parent c99ce77 commit ca5c2e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backup/restorelib.php
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ca5c2e1

Please sign in to comment.