Re: [VE][xmlwf] XML Parsing Error: XML declaration allowed only at the start of the document .

ANNIE.PILOTE@mess.gouv.qc.ca wrote:

> Error [xmlwf]: "XML Parsing Error: XML declaration allowed only at the start
> of the document . "
> NOTE: Whenever possible, give the address of the document you were checking.
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
> <!-- InstanceBegin template="/Templates/portail.dwt"
> codeOutsideHTMLIsLocked="false" -->
> <?xml encoding='UTF-8'?>

Remove the last line I quoted ("<?xml encoding='UTF-8'?> "). It's an
XML declaration and can only appear at the start of the document.

-- 
David Håsäther

Received on Friday, 23 November 2007 13:12:56 UTC