![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Error - 1--1072896682: Invalid at the top level of the document. [Thread Next] Re: Error - 1--1072896682: Invalid at the top level of the document.To: NULL Date: 7/8/2006 2:49:00 PM "Something" (often text content like tabs or newlines or non-printing characters) is preceding your top level <site /> node. Make sure you don't have any leading whitespace created in the POST request to the server (or trim the string content before trying to parse it) Cheers - eil On 7 Jul 2006 13:31:48 -0700, John.Eberly@g... wrote: >Hi I am trying to do a HTTP post of a simple xml file to a remote asp >server not under my control. > >I keep gettting the following error. > >Error - 1--1072896682: Invalid at the top level of the document. > >Here is my XML file > ><site> > <callid title="1"> ><call lat="47.6717860" lon="-122.386222" datetime="6/29/2006 4:46:06 >AM" incident="F060061495" type="Aid Response" level="1" location="2250 >Nw 59th St" units="E18" status="1" cache="NO"/> </callid> > <callid title="2"> ><call lat="47.7023640" lon="-122.334778" datetime="6/29/2006 4:35:36 >AM" incident="F060061494" type="Aid Response" level="1" location="10049 >College Way N" units="E31" status="1" cache="NO"/> </callid> ></site> ------------------------------------------------ Digital Media MVP : 2004-2006 http://mvp.support.microsoft.com/mvpfaqs | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
