You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by su...@tcs.com on 2005/08/10 17:56:42 UTC
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: sujoy.banerjee@tcs.com
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