Page 1 of 1

XML Parsing error

Posted: Thu Feb 07, 2008 8:52 pm
by sgreen
Hi,

Uploading/Installing of component gives this error:

XML Parsing Error at 1:0. Error 4: not well-formed (invalid token)


XML file is as per tutorials.

Any ideas?

StuG

Re: XML Parsing error

Posted: Thu Feb 07, 2008 10:16 pm
by radiant_tech
You have a character in the xml file that is not allowed by the XML parser (i.e, & instead of &).  Take a fine tooth comb back through the file.

Re: XML Parsing error - Possible J1.5 Bug

Posted: Fri Feb 08, 2008 9:46 pm
by sgreen
I thought that, but I think this is a bug in J1.5.

Have run the offending XML file through a parser and it looks like the specification is flawed. Even the demo XML file in the 'Hello World' tutorial causes the same error.  I think there may be a bug in the spec at http://dev.joomla.org/xml/1.5/component-install.dtd.

Any thoughts?

Re: XML Parsing error

Posted: Fri Feb 08, 2008 10:21 pm
by radiant_tech
Ah yes, on that point I agree.  If you remove that line of the xml file all works as expected.  Note that tutorial was written almost a year ago and updates of the docs are no where near completed.