W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2001

Errors with XML file

From: Denis Queffeulou <denis.queffeulou@wokup.fr>
Date: Fri, 12 Jan 2001 12:09:51 +0100
Message-Id: <200101121100.MAA04387@chiron.rennes.wokup>
To: <html-tidy@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:45 GMT