Additional xforms-editor issues (1 of 3)

These came into the (now defunct, afaik) issue tracking system.

Here is the first of three issues:

--------

Message summary for PR#71
	From: mutz@kde.org
	Subject: XForms 1.0 PR Sect. 7.2: getInstanceDocument() should not
throw any exception
	Date: Mon, 1 Sep 2003 10:43:54 -0500
	0 replies 	0 followups

====> ORIGINAL MESSAGE FOLLOWS <====

From mutz@kde.org Mon Sep  1 10:43:54 2003
Received: from localhost (IDENT:iJmhwiVkouGR1Fh6XwvIfVS8FTXuO/FZ@localhost
[127.0.0.1])
	by hades.mn.aptest.com (8.11.6/8.11.6) with ESMTP id h81Fhrb06040
	for <xforms-issues@mn.aptest.com>; Mon, 1 Sep 2003 10:43:54 -0500
Date: Mon, 1 Sep 2003 10:43:54 -0500
Message-Id: <200309011543.h81Fhrb06040@hades.mn.aptest.com>
From: mutz@kde.org
To: xforms-issues@mn.aptest.com
Subject: XForms 1.0 PR Sect. 7.2: getInstanceDocument() should not throw any
exception

Full_Name: Marc Mutz
Submission from: (NULL) (217.255.159.52)


[for consistency with DOMCore]

Consider
  dom::Document::getElementById( in DOMString id )
which is basically the same as
  getInstanceDocument( in DOMString id )
but doesn't throw exceptions.
getInstanceDocument() should follow the DOMCore example and return null if
no
instance with the given ID can be found.

Else, at least specify which exceptions types are to be thrown and when.

Summary:
- remove the exception specification on
xforms::XFormsModelElement::getInstanceDocument()
- specify that null is returned instead.

Received on Tuesday, 2 September 2003 11:33:43 UTC