Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XML error

From: Martin Honnen <mahotrash@-----.-->
To: NULL
Date: 5/21/2009 12:12:00 PM
biz7 wrote:
> I am trying to automate data entry on a work application where the export is 
> in xml. I open the xml in Internet Explorer & then right click/select view 
> source & it brings up notepad where I edit. Then I import as xml into the 
> application. 
> 
> I get an error: " the object is currenly nothing". The code is correct as I 
> checked it agaist the export.  I have imported a few line items & it works. 
> Some line items give me the error mentioned & some do not.
> 
> Can you advise what the cause may be as I mentioned the xml code is correct.

Which application is that where you import the XML? How exactly do you 
do that, post the code if "trying to automate" means you are writing 
code to do that.

> I also noticed that when I open the 1st export (see XML export file below) 
> it allows me to see it in Internet Explorer as below & I follow the same code 
> to import. However, please read further...
> 
> 
> XML export file:
> - <ExportEdits>
> - <tblScenarioData>

The '-' character is not allowed before the root element so it looks as 
if you did not post the real XML but rather what IE presents you. You 
will need to look at the source of the XML and post that if you think 
there is a problem with the XML.


-- 

	Martin Honnen --- MVP XML
	http://msmvps.com/blogs/martin_honnen/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent