Index: /trunk/ippToPsps/scripts/pspsSchema2xml.pl
===================================================================
--- /trunk/ippToPsps/scripts/pspsSchema2xml.pl	(revision 27521)
+++ /trunk/ippToPsps/scripts/pspsSchema2xml.pl	(revision 27522)
@@ -209,5 +209,5 @@
         }
 
-        if($reading && $_ =~ m/^\)/) {$reading = 0;}
+        if($reading && $_ =~ m/^\s*\)\s*/) {$reading = 0;}
 
         if(!$reading) {next;}
@@ -218,5 +218,5 @@
         if (!$line) {next;}
         if (length($line) < 5) {next;}
-        if ($line =~ m/^--/) {next;}
+        if ($line =~ m/^\s*--/) {next;}
         if ($line =~ m/\/\*/) {next;}
         if ($line =~ m/\*\//) {next;}
