006 2:21 AM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Error check for parseXML()
>
> Hi,
> you should put the conditional in a callback, because when execution
> reaches the conditional xml parsing might not have finished parsing.
>
> var xml:XML = ne
e("Error in XML! Code: " + xml.status);
}
―
Mike Keesey
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael
> Sent: Friday, October 06, 2006 6:50 AM
> To: Flashcoders mailing list
> Subject: [F
gt; From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael
> Sent: Friday, October 06, 2006 6:50 AM
> To: Flashcoders mailing list
> Subject: [Flashcoders] Error check for parseXML()
>
> Hi list...
>
> According to the help docs,
> pub
How about xmlobj.status ?
If the xml is successfully loaded and parsed, you get 0 on the output
panel. Otherwise, you get a negative number (-2 , ... -10).
-2: A CDATA is not closed
-3: The initial XML declaration is malformed
-4: The DOCTYPE declaration is malformed
-5: A comment has no closed s
Mendelsohn, Michael schrieb:
Hi list...
According to the help docs,
public parseXML(value:String) : Void
doesn't return an integer or anything to indicate successful parsing of
the xml. How can I be certain that I've passed in some error free xml
and it was able to parse?
the XML-Object it
Mendelsohn, Michael escreveu:
Hi list...
According to the help docs,
public parseXML(value:String) : Void
I think that when did you use :Void , the function doesn´t return any
value ...
try it
public parseXML(value:String):String { }
--
Gustavo Teider ( gugateider )
www.gugat
Hi list...
According to the help docs,
public parseXML(value:String) : Void
doesn't return an integer or anything to indicate successful parsing of
the xml. How can I be certain that I've passed in some error free xml
and it was able to parse?
Thanks,
- Michael M.
_
7 matches
Mail list logo