ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/RuntimeFile.pm
(Generate patch)

Comparing COMP/SCRAM/src/RuntimeFile.pm (file contents):
Revision 1.2 by sashby, Fri Dec 10 13:41:36 2004 UTC vs.
Revision 1.4 by muzaffar, Fri Dec 14 09:03:42 2007 UTC

# Line 66 | Line 66 | sub read()
66                                \&runtimetagClose, $self);
67    
68     # Parse the file:
69 <   $self->{simpledoc}->parse("RUNTIME");
69 >   my $fhead='<?xml version="1.0" encoding="UTF-8" standalone="yes"?><doc type="RuntimeFile" version="1.0">';
70 >   my $ftail='</doc>';
71 >   $self->{simpledoc}->parse("RUNTIME",$fhead,$ftail);
72     delete $self->{simpledoc};
73     }
74  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines