3.2.0

Mozilla error console & tabs-code sample

Mozilla is throwing "incorrect content after an XML element in document" error and "sintax error" also for the pages that contain only text.
It is executed normally, so appears in error , but seems that is just an alert. ( Moz v 7.0.1 to 16 )

I've tried request.setParameter("Content-Type",'text/xml' );
and all variations of it, without much success.
If every line is removed except the <script> Tags, then says "NOT WELL FORMED"

I suppose that sending correct headers from server solves it , but Anyone knows a workarrond to avoid this kind of errors offline ?

Thanks
Carlos
November 14,
OK, found the reason, it expects a well formated xml doc , so surrounding the full page inside another tag, fixed it all.

Also using the header <?xml version="1.0" encoding="UTF-8" ?>
for future conflicts, but not necessary.

<?xml version="1.0" encoding="UTF-8" ?>
<test>
Page 2, still not much text here...
</test>
Carlos
November 14,

This topic is archived.

See also:


Back to support forum