Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


XML error

From: biz7@-----------.---------.---
To: NULL
Date: 5/20/2009 2:53:00 PM
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.

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>
  <Row Key1="ABERD 2008-1A" Key2="" Key3="" Key4="" Key5="" 
Attribute="SICMoodyCode" TableName="tblIssuer" AttributeValue="1" 
DataType="3" OverWrite="1" Active="1" /> 
  <Row Key1="ABERD 2008-1A" Key2="" Key3="" Key4="" Key5="" 
Attribute="SICSPCode" TableName="tblIssuer" AttributeValue="1" DataType="3" 
OverWrite="1" Active="1" /> 
  </tblScenarioData>
  <tblAdjustedFieldsX /> 
  <tblAmortizationAdjustmentsX /> 
  <tblAssetsX /> 
  <tblAmortizationsX /> 
  <tblCounterInstitutionsX /> 
  <tblCountryX /> 
  <tblDiversityScoreX /> 
  <tblGlobalVariableX /> 
  <tblIssuerX /> 
  <tblLedgerAccountsX /> 
  <tblLendingX /> 
  <tblLiabilityInterestX /> 
  <tblLiabilityOutstandingX /> 
  <tblParticipationsX /> 
  <tblPriorityCategoryX /> 
  <tblPurchasesX /> 
  <tblRatingsX /> 
  <tblSellsX /> 
  <tblSICX /> 
  <tblTableBasedItemsX /> 
  <tblTransactionsX /> 
  <tblWeightedAvgLifeSchdX /> 
  <tblAdjustmentsX /> 
  <tblHolidaysX /> 
  <tblCurrencyX /> 
  <tblAccrualX /> 
  <tblCMPDistributionScheduleX /> 
  <tblUDFData /> 
  </ExportEdits>


-----------
However, when I update the code that results in the error, it will open in 
Internet Explorer as :
""The XML page cannot be displayed 
Cannot view XML input using XSL style sheet. Please correct the error and 
then click the Refresh button, or try again later. ""
Whitespace is not allowed at this location. Error processing resource 
'file:///C:/Documents and Settings/RB/INTERFACE/...
<ExportEdits><tblScenarioData><Row Key1="ABERD 2008-1A" Key2="" Key3="" 
Key4="" Key5=""  Attribute="SICMoodyC...
================================




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