diff --git a/fhem/webfrontend/pgm3/CHANGED b/fhem/webfrontend/pgm3/CHANGED
index 854308257..edd66e1fb 100644
--- a/fhem/webfrontend/pgm3/CHANGED
+++ b/fhem/webfrontend/pgm3/CHANGED
@@ -210,3 +210,6 @@ It is not necessary to tell fhem that there are other logs.
2012-04-24
-- Bugfix: check for FHEM-Version not needed any more
+2012-04-25
+ -- Feature: debugging for xmllist included
+
diff --git a/fhem/webfrontend/pgm3/HISTORY b/fhem/webfrontend/pgm3/HISTORY
index 3916bb2be..f8b8f659f 100644
--- a/fhem/webfrontend/pgm3/HISTORY
+++ b/fhem/webfrontend/pgm3/HISTORY
@@ -113,3 +113,6 @@
- Martin 2012-04-24
-- Bugfix: no need for checking FHEM-Version any more
-- Bugfxi: the FS20-Type from Userdef the first time with a broken graphic
+
+- Martin 2012-04-25
+ -- Feature: debugging for xmllist included
diff --git a/fhem/webfrontend/pgm3/index.php b/fhem/webfrontend/pgm3/index.php
index a5f0afff9..71b88d521 100644
--- a/fhem/webfrontend/pgm3/index.php
+++ b/fhem/webfrontend/pgm3/index.php
@@ -41,7 +41,7 @@ include "include/gnuplot.php";
include "include/functions.php";
-$pgm3version='120424';
+$pgm3version='120425';
@@ -318,25 +318,28 @@ if (!(list($xml_parser, $live) = new_xml_parser($live))) {
die("could not parse XML input");
}
+
foreach($output as $data) {
if (!xml_parse($xml_parser, $data)) {
- die(sprintf("XML error: %s at line %d\n",
- xml_error_string(xml_get_error_code($xml_parser)),
- xml_get_current_line_number($xml_parser)));
- }
+ echo("There is a xmllist file for debugging under $AbsolutPath/tmp/debugxml
");
+ $handle=fopen("tmp/debugxml","w");
+ fwrite($handle,$outputvar);
+ fclose($handle);
+ die(sprintf("XML error: %s at line %d\n",
+ xml_error_string(xml_get_error_code($xml_parser)),
+ xml_get_current_line_number($xml_parser)));
+ };
}
+
xml_parser_free($xml_parser);
-
-
-
-
#print_r($stack);
#exit;
+
#searching for rooms/fs20/Logpaths
$rooms=array();
$fs20devs=array();