Hi Sujoy
Could you attach your schema, please? That
might give us some insight into why it is behaving this way. Also the rest of
the stack trace would be useful.
Thanks,
Lawrence
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 10, 2005
8:57 AM
To: [email protected]
Subject: Problem using XMLBean's
parse API
Hi all,
I
am new to XMLBean. Currently I am using the XMLBean that comes with the
Weblogic SP4. I am unable to use the following method:
xxxDocument.Factory.parse(String
xmlString) where xxxDocument is the Document object of the compiler XMLBean
class and xmlString is the following string:
<PO
xmlns="www.openui.org/temp/po.xsd">
<node>
abc
</node>
<node>
def
</node>
</PO>
Basically
xmlString is the content of a XML file. The xml file is already validated
against the XSD. The exception I got :
com.bea.xml.XmlException:
error: Unexpected Element: CDATA
.....
....
Thanks
in advance for the help.
Warm
Regards,
Sujoy Banerjee
Tata Consultancy Services Limited
Plot B-1, Block EP & GP
Sector - V, Salt Lake
Electronics Complex
Kolkata - 700 091,West Bengal
India
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
|
Notice: The information contained in
this e-mail message and/or attachments to it may contain confidential or
privileged information. If you are not the intended recipient, any
dissemination, use, review, distribution, printing or copying of the
information contained in this e-mail message and/or attachments to it are
strictly prohibited. If you have received this communication in error, please
notify us by reply e-mail or telephone and immediately and permanently delete
the message and any attachments. Thank you
|
|