Re: instance() function not behaving as expected

Hi Koen,

It does indeed look like a bug--perhaps you could report it.

But I can't see how it would hold you up much. It looks like the
problem you are seeing only applies to the use of instance() with no
parameter; this should return the 'default instance' (i.e., the first
instance in the model), but it looks like this is not happening. But
you can still get access to this instance by removing the instance()
function all together and using a normal XPath expression.

If that is still giving you problems then I'd suggest that you post some code.

Regards,

Mark

-- 
  Mark Birbeck

  mark.birbeck@x-port.net | +44 (0) 20 7689 9232
  http://www.x-port.net | http://internet-apps.blogspot.com

  x-port.net Ltd. is registered in England and Wales, number 03730711
  The registered office is at:

    2nd Floor
    Titchfield House
    69-85 Tabernacle Street
    London
    EC2A 4RR

On 23/02/2008, Koen Heene <koen.heene@gmail.com> wrote:
>
>  Hello,
>
>  The Mozilla XForms status page
>  (http://www.mozilla.org/projects/xforms/status-detail.html) states
>  that the function instance() is supported.
>
>  If had difficulties getting that to work. I went to the official
>  XForms test site
>  (http://www.w3.org/MarkUp/Forms/Test/XForms1.0/Edition3/Chapt7/7.11/7.11.1/7.11.1.a.xhtml)
>  and saw that the output is not as predicted by the test suite and also
>  not as you would expect after having read the specs.
>
>  Is this a known issue?
>
>  I currently work with FireFox 2.0.0.12 and the XForms extension 0.8.4.
>
>  Thank you for looking into this.
>
>
>  --
>  Koen
>
>  --------------------------------
>  Carrapateira, Portugal
>  Tel.: +351.282.973330
>  Mobile: +351.960025701
>
>
>

Received on Monday, 25 February 2008 16:32:42 UTC