The problem lies in the fact that there was a entity character of unicode 
format before <?xml, The document was generated by microsoft office and i'm not 
sure how to export it without having that entity character in front.

When checking with online validators, that entity character pops up and the xml 
document becomes invalid.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dennis
Sosnoski
Sent: Wednesday, December 22, 2004 5:37 PM
To: [email protected]
Subject: Re: [jibx-users] Error parsing document


The JiBX exception doesn't appear to be due to a problem with the 
document as such, but perhaps in your actual binding. If you can copy 
the portion of your binding that relates to the <dataroot> element, 
along with more of the exception stack trace, I can probably give you a 
more detailed analysis.

  - Dennis

Felix Lo wrote:

>Hi,
>
>I'm getting some errors parsing an XML document in this form:
>
><?xml version="1.0" encoding="UTF-8"?>
><dataroot xmlns:od="urn:schemas-microsoft-com:officedata" 
>generated="2004-12-10T15:14:50">
><Project>
>       ...
></Project>
></dataroot>
>
>JiBx: Error parsing document (line 1, col 1)
>org.jibx.runtime.JiBXException: Could not produce object in unmarshalling 
>process
>
>When  I right click in net beans to validate / check the xml , it says that 
>it's not valid or along those lines.
>
>I'm not sure about the specifics of well-formed / valid xml. Can somebody shed 
>some light on this???
>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users



---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to