[Laszlo-dev] Re: [Dev] has serverless POST and serverless raw
POST been tested yet?
henry.minsky at gmail.com
Thu Jan 27 16:12:28 PST 2005
Yeah, I don't think the behavior is defined if you don't pass valid
XML to the Flash parser.
I tried passing random garbage to new XML() and it doesn't complain or
throw an error, it just silently tries to build an XML object as best
it can. Maybe in swf7 it tries to throw an error?
On Thu, 27 Jan 2005 15:49:27 -0800, Eric Bloch <bloch at laszlosystems.com> wrote:
> Sounds to me like Tucker's point is still valid, no? Wouldn't the XML
> constructor or parser validate the XML?
> Henry Minsky wrote:
> > It's not that it validates the string, its that the API for sending
> > data to the server only takes an XML Object as an arg, so you have to
> > construct one to pass to it. You can construct one by calling new
> > XML(yourstring) or else XML.parseXML(yourstring).
More information about the Laszlo-dev