molostoff / ubiquity-xforms

Automatically exported from code.google.com/p/ubiquity-xforms
0 stars 0 forks source link

getInstanceDocument with an empty string return null #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
According to the spec section 16.1:
http://www.w3.org/2006/03/REC-xforms-20060314-errata-20061215.html

The getInstanceDocument() function available to DOM implementations 
provides this correction by allowing the empty string to refer to the 
default instance.

The current implementation doesn't return the default instance, it return 
a null instead.

I have attached an example to show the bug. 

Original issue reported on code.google.com by nkling on 11 Jun 2008 at 7:44

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in branch 0.3, r115

Original comment by paul.but...@gmail.com on 13 Jun 2008 at 10:27