Yup. I hear ya. I just thought I might be able to write a few less lines of
code. :)
No biggie...

-----Original Message-----
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 29, 2008 2:17 PM
To: CF-Talk
Subject: RE: Failing gracefully when using xmlParse()...

Xmlparse assumes that any preliminary checks and validations have been
performed and that the string being passed in is well-formed XML.

I can see what you are saying, but xmlparse could receive its input from
absolutely anywhere so it wouldn't really work very well for xmlparse to try
and catch those errors.  The onus is on the programmer to ensure they have
well-formed XML before they knock on xmlparse's door.

~Brad


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300224
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to