realbasic-nug
[Top] [All Lists]

Re: Setting PreserveWhiteSpace in XMLDocument

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Setting PreserveWhiteSpace in XMLDocument
From: Stephen Tallent <stephen at tallent dot com>
Date: Mon, 31 Jan 2005 16:30:51 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <003c01c507de$4462ffc0$8204050a at konicabt dot com>
I am running RB 5.5.4 and created a subclass of XMLDocument. Whenever I try to set the property PreserveWhiteSpace to true the debugger crashes. I was first setting this in the constructor of my class but I have tried setting
it in other places and it appears that the act of setting this property
causes the crash. Does anyone have any ideas as to what I am doing wrong?


I am going to guess that you forgot to call the super's constructor from within your subclass's constructor. Put this:

super.XMLDocument

in your constructor of your XMLDocument subclass and I bet it works.

-stephen

===========================
Stephen Tallent
Tallent Communications, Inc.
stephen at tallent dot com
http://www.tallent.com

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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

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