The message is not repeating.This is the complete XML File :
<?xml version="1.0" ?> <message>
>
> <application_name>Find Doc</application_name>
>
> <createDate>2006-04-10 15:05:56.984</createDate>
>
> <createdBy>1</createdBy>
>
> <id>0</id>
>
> <index_page>index.jsp</index_page>
>
> <message_text>Error on Index.jsp</message_text>
>
> <priority>5</priority>
>
> <signature>Revolution Team</signature>
>
> <user_id>1</user_id>
>
</message>
-----Original Message-----
From: Mark A Fortner [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 3:19 PM
To: Jakarta Commons Users List
Subject: Re: help for The root element is required
This error usually occurs when you do not have a
single root in your XML file. Do you have multiple
<message> elements in your file?
--- Qaiser Mehmood <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I am trying to parse this XML and getting error. The
> XMl is
>
>
>
> <?xml version="1.0" ?> <message>
>
> <application_name>Find Doc</application_name>
>
> <createDate>2006-04-10 15:05:56.984</createDate>
>
> <createdBy>1</createdBy>
>
> <id>0</id>
>
> <index_page>index.jsp</index_page>
>
> <message_text>Error on Index.jsp</message_text>
>
> <priority>5</priority>
>
> <signature>Revolution Team</signature>
>
> <user_id>1</user_id>
>
> </message>
>
>
>
> Error is:
>
>
>
> SEVERE: Parse Fatal Error at line 1 column 1: The
> root element is
> required in a well-formed document
>
>
>
> Any Idea.
>
>
>
> Qaiser Mehmood
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]