W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2002

Amaya 6.4 File writing bug?!?

From: Keith Hopper <kh@waikato.ac.nz>
Date: Wed, 09 Oct 2002 08:23:02 +1300
To: www-amaya@w3.org
Message-ID: <4b825864e3kh@waikato.ac.nz>

     I am at present writing a 'web-book' on web applications, using a
secure server which involves all links being checked by PHP routines - even
though I use Amaya to produce the documents.  Yesterday I threw a page (as
a file, thus without benefit of server script execution) with hand-added
PHP to have a final Amaya check for errors.  The page contained processing
instructions like 

... an <?php glossref("XML") ; ?>-based ....

There was a bug, so I edited the file in Amaya and wrote it out. 
Unfortunately, because of the line length Amaya split the above as follows

... an <?php glossref("XML") ; ?>
-based ...

which, therefore, now produces an unwanted space before the hyphen when
served through apache and the PHP interpreter.  May I suggest that this is
actually a bug which should be avoided??

     I have also noticed that it splits argument strings to processing
instruction functions, etc over lines - which, though probably not the same
error seems not to be correct - it certainly messes up the script

                Keith Hopper

City Desk
Waikato University
[PGP key available if desired]
Received on Tuesday, 8 October 2002 15:23:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:39 UTC