On Feb 13, 2008 1:20 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Feb 13, 2008 2:51 AM, Miguel J. Jiménez
> <[EMAIL PROTECTED]> wrote:
> > Hi, after enabling error reporting with E_ALL I am having this strange
> > warning while loading a XML:
> >
> > Warning: DOMDocument::load() [function.DOMDocument-load]: Extra content
> > at the end of the document in [...]
>
>    Is there an extra whitespace or carriage return/newline after the
> final closing tag?
>
> --
> </Dan>
>
> Daniel P. Brown
> Senior Unix Geek
> <? while(1) { $me = $mind--; sleep(86400); } ?>
>
>

I don't think extra whitespace will do that. Even comments after the
closing element tag should be OK. This looks more like a document with
multiple "root" elements or other non-whitespace characters after the
closing root element tag.

Andrew

Reply via email to