RE: [PHP] Error in Building an XML File
| From: | Bob McConnell | Date: | Mon, 09 Mar 2009 14:53:25 +0000 |
| Subject: | RE: [PHP] Error in Building an XML File | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-289663@lists.php.net to get a copy of this message | ||
From: Joe Harman
>
> I am using PHP to build an XML file, but I keep on getting an XML
> error when open the file in Google Chrome.
>
------------------------------------------------------------------------
---------
> This page contains the following errors:
>
> error on line 30 at column 318: Entity 'iuml' not defined
> Below is a rendering of the page up to the first error.
>
------------------------------------------------------------------------
--------
>
> is this something to do with document encoding?
Entity errors are almost always caused by a bare ampersand in a URL. You
need to convert them to &. Since this error occurs, there may also
be other errors in the encoding. You need to read up on URL and HTML
sanitization.
Bob McConnell