]> git.mjollnir.org Git - moodle.git/commitdiff
Now xmlize is invoked with XML_OPTION_SKIP_WHITE = 0 to
authorstronk7 <stronk7>
Sat, 5 Jul 2003 22:44:29 +0000 (22:44 +0000)
committerstronk7 <stronk7>
Sat, 5 Jul 2003 22:44:29 +0000 (22:44 +0000)
avoid \n skipping.

backup/restorelib.php

index 3e52896fe88f24ee9acf7c456f64bbe238a3126d..8786c64ed7ef6a5a5c20ca46582f02a1a975d805 100644 (file)
                     $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
                     $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