realbasic-nug
[Top] [All Lists]

Re: XML Questions

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: XML Questions
From: Charles Yeomans <charles@declareSub.com>
Date: Sun, 30 Nov 2008 17:37:07 -0500
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <C558D132.23AD7%tt@tempel.org>
References: <C558D132.23AD7%tt@tempel.org>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com

On Nov 30, 2008, at 5:24 PM, Thomas Tempelmann wrote:

On 30.11.2008 23:13 Uhr, "Charles Yeomans" <charles@declareSub.com> wrote:

You need to be prepared to catch various XMLExceptions, and know that
I found a bug in exception-handling while working out this example :)

I remember lots of problems with XML exception raising leading to full app
crashes for a long time. Can those exceptions now be caught without
problems?

Right now, the problem appears to be that the first exception raised is being swallowed.

  dim xml as new XMLDocument
  xml.LoadXml testXML
  dim nodeset as XMLNodeList = xml.XQL("this/is/bad/[xpath]")

The first time this code is executed, no exception is raised from XQL. The second time the code is executed, an exception is raised.

Charles Yeomans

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>