Errors with XML file

Hi, I am using JTidy with an XML source file (I use setXmlTags(true)) and I
have the following messages :

line 2 column 1 -
Error:
<data>
 is not recognized!


line 4 column 5 -
Error:
<article>
 is not recognized!


line 5 column 9 -
Error:
<chapitre>
 is not recognized!


line 8 column 9 -
Error:
<chapitre>
 is not recognized!


line 11 column 9 -
Error:
<chapitre>
 is not recognized!


line 14 column 9 -
Error:
<chapitre>
 is not recognized!


This document has errors that must be fixed before
using HTML Tidy to generate a tidied up version.


... with the following file :
<?xml version="1.0" encoding="ISO-8859-1"?>
<data>

	<article>
		<chapitre>
			chapitre1
		</chapitre>
		<chapitre>
			chapitre2
		</chapitre>
		<chapitre>
			chapitre3
		</chapitre>
		<chapitre>
			chapitre4
		</chapitre>
	</article>

</data>

Is there anything else to do in order to parse XML file without errors ?

Thanks,
--
Denis Queffeulou

Received on Friday, 12 January 2001 06:02:10 UTC