2 Replies Latest reply on Nov 5, 2007 8:09 PM by 3rdshiftcoder

    document not well formed



      one of the things i liked about java is it had a stack trace that went to the moon and it helped
      you find where your error is.

      if i run my code in PHP IDE it is well formed enough and spits out the right result.
      If i upload it to my webhost set to shared environment it keeps coming up document not well formed.

      I dont really understand what code causes this message as there is no line number.
      I tried to make sure my xml started with the xml tag and had a root and closing tags.

      Does flex 3 offer any more insight with diagnostic messages as to where the problems may
      surface from? the message seems to indicate "url loader on complete" .

      where would you look if you got a url loader on complete?

      i am really stuck. it is frustrating to see it work in php and then not on the web host :-)
      (error msg. below)
      thanks for any assistance,

      [RPC Fault faultString="Error #1088: The markup in the document following the root element must be well-formed." faultCode="Client.CouldNotDecode" faultDetail="null"]
      at mx.rpc.http::HTTPService/ http://www.adobe.com/2006/flex/mx/internal::processResult()[C:\dev\enterprise_bali\framewo rks\mx\rpc\http\HTTPService.as:856
      at mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::resultHandler()[C:\dev\enterprise_bali\framewo rks\mx\rpc\AbstractInvoker.as:165
      at mx.rpc::Responder/result()[C:\dev\enterprise_bali\frameworks\mx\rpc\Responder.as:48]
      at mx.rpc::AsyncRequest/acknowledge()[C:\dev\enterprise_bali\frameworks\mx\rpc\AsyncRequest. as:82]
      at DirectHTTPChannel.as$139::DirectHTTPMessageResponder/completeHandler()[C:\dev\enterprise_ bali\frameworks\mx\messaging\channels\DirectHTTPChannel.as:359]
      at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at flash.net::URLLoader/flash.net:URLLoader::onComplete()