On Feb 13, 2008 1:20 PM, Daniel Brown <parasane@xxxxxxxxx> wrote:> On Feb 13, 2008 2:51 AM, Miguel J. Jiménez> <MiguelJose.Jimenez@xxxxxxxxxxx> 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 theclosing element tag should be OK. This looks more like a document withmultiple "root" elements or other non-whitespace characters after theclosing root element tag. Andrew