From 478265679129970a579244e8556ef324a00f11f3 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 24 Sep 2015 20:49:40 +0200 Subject: more TODOs I guess --- lib/Travel/Status/DE/HAFAS.pm | 4 ++++ 1 file changed, 4 insertions(+) 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}; } -- cgit v1.2.3