summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-09-24 20:49:40 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-09-24 20:49:40 +0200
commit478265679129970a579244e8556ef324a00f11f3 (patch)
treeff37664d33516d1eae6102203fffe70fba249f77 /lib
parent0e2b90b0454b6986878d50a52289b2e96b9ac309 (diff)
more TODOs I guess
Diffstat (limited to 'lib')
-rw-r--r--lib/Travel/Status/DE/HAFAS.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm
index 9800ddf..bf69bc5 100644
--- a/lib/Travel/Status/DE/HAFAS.pm
+++ b/lib/Travel/Status/DE/HAFAS.pm
@@ -160,6 +160,10 @@ sub new {
=~ s{ lead = " \K ( [^"]+ ) }{ $1 =~ s{ < [^>]+ > }{}grx }egx;
}
+ # TODO the DB backend also retuns invalid XML (similar to above, but with
+ # errors in delay="...") when setting the language to dutch/italian.
+ # No, I don't know why.
+
if ( $ref->{developer_mode} ) {
say $ref->{raw_xml};
}