[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-GIFT] Problem with placement of comments in gift-log.mrml
From: |
David Squire |
Subject: |
[bug-GIFT] Problem with placement of comments in gift-log.mrml |
Date: |
Fri, 16 Jul 2004 12:21:46 +1000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 |
Hi folks,
I have recently revived some code which parses the gift-log.mrml file
for long-term learning purposes. I have discovered that in some gift
version that has been released since I last used this stuff, code has
been introduced that writes a comment block to the gift-log.mrml each
time the server is started or a message is send, e.g.:
<!-- This instance of the GIFT was started on -->
<!-- Fri Jul 16 12:12:06 2004
-->
<!-- PID 2388 -->
<!-- The following message was sent by
Peer INET Address: 127.0.0.1
At: Fri Jul 16 12:12:26 2004
-->
Unfortunately there is a problem. These comment blocks appear *before* the
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
line, which must start an XML document. Consequently they cause Perl's
XML parser to choke. Could this order please be reversed?
Regards,
David
--
Dr. David McG. Squire, Postgraduate Research Coordinator (Caulfield),
Computer Science and Software Engineering, Monash University, Australia
CRICOS Provider No. 00008C http://www.csse.monash.edu.au/~davids/
- [bug-GIFT] Problem with placement of comments in gift-log.mrml,
David Squire <=