Hi all,
I am facing a bizarre problem. I am using XMLBean ver 2.0 to write a xml file conforming some a given xsd. The XML file that is generated, is as follows:
<?xml version="1.0"?>
<mon:Item ....xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:SchemaLocation="C:\XMLSchema\ Item.xsd">
<mon:Text>
.....
</mon:Text>
<mon:Art>
.....
</mon:Art>
</mon:Item>
Now for some reason I can not use XMLBean again to read the generated XML file, here we have to use SAX Parser. The SAXparser throws an exception that it can not find the Namespace and so it can not parse the file. I am using the latest version of xerces.jar.
However if I use the XMLBean to read the file(for testing only that there something went wrong while writing the xml file), there is no problem in reading the file.
Is there any incompatibility issue..? If so, what is the way around?
Thanks in advance.
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 |

