Do the sample apps (like DOMPrint) process your file successfully? If you modify the MemParse sample, can it parse your data? If they succeed, you might want to send your code.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 20, 2008 8:56 AM To: [email protected] Subject: RE: Problem loading XML File Yes, Its in the e-mail that the new line character has come. There is no new line character in between the below string. I can see that following data is loaded to Internet explorer and other XML editors successfully. I wonder why I couldn't load it into a DOMDocument*. - Karuna P.S. The disclaimer note is automatically attached to every mail we send from our company e-mail ID. Its not manually written by us. Its automatic action taken by mail server. So nothing much I can do :-) -----Original Message----- From: Alberto Massari [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 20, 2008 6:18 PM To: [email protected] Subject: Re: Problem loading XML File Maybe it's just the e-mail software you are using, but the end tag for HHP:hapModemTable has a new line between < and /HHP:hapModemTable>. Alberto P.S. Do you realize that even if you wrote the disclaimer at the end, this mail is going to be archived forever, making it a worthless waste of bytes? [EMAIL PROTECTED] wrote: > Hi all, > > we have String containing the XML data in the following format. > > <HHP:HHP xmlns:HHP="HHP"><HHP:hapCageTable><HHP:hapCageEntry > cageId="2"><HHP:hapModemTable><HHP:hapModemEntry cageId="2" modemId="1" > modifier="relevant"><HHP:logLevel>20</HHP:logLevel></HHP:hapModemEntry > >< /HHP:hapModemTable></HHP:hapCageEntry></HHP:hapCageTable></HHP:HHP> > > We are creating the XML file out of the above data and trying to load > to DOMDocument*. But Xerces is failing to load the above content > though the above data is well-formed. We are using Xerces v 2.8. Any > idea on why above data cant be loaded to DOMDocument* ? > > is there any option that can be set so that above content can be > loaded successfully ??? > > Thanks a lot, > - Karuna > Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
