W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2002

Re: opening php file error

From: Irene Vatton <Irene.Vatton@inrialpes.fr>
Date: Tue, 13 Aug 2002 17:27:55 +0200
To: Richard Davis <RichardD@pcanz.org.nz>
Cc: "'www-amaya@w3.org'" <www-amaya@w3.org>, Irene.Vatton@inrialpes.fr
Message-Id: <20020813152755.67CDBC@maiaina.inrialpes.fr>

> I having trouble with Amaya. I have looked at the lists and FAQ and my
> question is not quite answered there (as far as I can tell).
> We use a combination of HTML and PHP pages on our website. We want to know
> whether we can edit *.php files with Amaya. When I try to open them I get a
> message which reads: "Not Well-Formed XML document - Reload as HTML or show
> Parsing errors?" If I load as HTML then my php coding is stripped out. If I
> show errors then I cannot see anything in the WYSIWYG window, but can edit
> the code. Do I have errors in my php files, which if corrected would enable
> me to open them in Amaya, or can't it handle PHP yet?

Yes, it's because you declared your file as a XHTML document and in that
case you have to conform to XML rules.
The solution could be to declare your document as a simple HTML document.

> Richard Davis 
> Communications Advisor and Webmaster
> Presbyterian Church of Aotearoa New Zealand
> PO Box 9049, Wellington, Aotearoa New Zealand 
> Phone: +64-4-381 8285  Fax: +64-4-801 6001 
> http://www.presbyterian.org.nz/
Received on Tuesday, 13 August 2002 11:28:04 UTC

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