j1.5 - XML Parsing Error at 1:1. Error 4: Empty document

Have a programming question regarding your component, plug-in, extension or core hacks? Have an interesting tidbit, FAQ or programming tip you’d like to share? This is the place for you.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Post Reply
User avatar
duvien
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Sun Sep 18, 2005 8:28 pm
Location: Scotland
Contact:

j1.5 - XML Parsing Error at 1:1. Error 4: Empty document

Post by duvien » Wed Feb 20, 2008 8:18 pm

I keep getting this error message when i install a plugin that i have created for Joomla 1.5.

Strange thing is that it still seems to install and the plugin works fine but the error:

XML Parsing Error at 1:1. Error 4: Empty document

always show up on the each time i install it.

Also, for the xml file -

<description>
<![CDATA[
... Whatever markup goes here ...
]]>
</description>

doesn't render the markup anymore? I've seen some plugin use a language file for the description, how is this done. Looking at those plugins all they did is have something like DESC in the description tag and then in their language .ini file DESC=

I tried this but does not work. Also, all language files are saved as utf-8

Can anyone help? thanks.
Custom website design | blog | tutorials | Photography | Downloads
Freelance Web Designer/Developer: www.duvien.com

User avatar
duvien
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Sun Sep 18, 2005 8:28 pm
Location: Scotland
Contact:

Re: j1.5 - XML Parsing Error at 1:1. [SOLVED]

Post by duvien » Thu Feb 21, 2008 1:38 am

Okay, seems to be working now. Had to save the files as utf-8 NO-BOM
Custom website design | blog | tutorials | Photography | Downloads
Freelance Web Designer/Developer: www.duvien.com


Post Reply