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]

Reply via email to