summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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};
}