Commit 65a20af3 authored by Joakim Nylén's avatar Joakim Nylén

Move to global parse

parent 6c4a1ad0
......@@ -111,14 +111,7 @@ sub ImportContent
$ds->{SILENCE_END_START_OVERLAP}=1;
$ds->{SILENCE_DUPLICATE_SKIP}=1;
my $xml = XML::LibXML->new;
my $doc;
eval { $doc = $xml->parse_string($$cref); };
if( $@ ne "" )
{
f "Failed to parse $@";
return 0;
}
my $doc = ParseXml($cref);
# Find all "Schedule"-entries.
my $ns = $doc->find( "//Schedule" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment