From af46bb5f3230e553d6d98dd23bc51654f634239e Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 14 Dec 2005 17:16:46 +0000 Subject: [PATCH] handle different quotes and empty strings git-svn-id: svn://svn.open-ils.org/ILS/trunk@2374 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/external/dtd2js.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/external/dtd2js.pl b/Open-ILS/xul/staff_client/external/dtd2js.pl index 3e79d2f116..432e28a963 100755 --- a/Open-ILS/xul/staff_client/external/dtd2js.pl +++ b/Open-ILS/xul/staff_client/external/dtd2js.pl @@ -9,7 +9,9 @@ print "var entities = {};"; while( $line = <> ) { - if ($line =~ //) { + if ($line =~ //) { print "entities['$1'] = $2;\n"; + } else { + print STDERR "Problem with: $line"; } } -- 2.43.2