W3C home > Mailing lists > Public > www-forms@w3.org > May 2009

RE: question about embedded instance vs. ref to an xml file

From: Howard, Chris <HowardC@prpa.org>
Date: Thu, 21 May 2009 16:38:56 -0600
Message-ID: <1305E9F69BC3CE49ABCDC8E00492F7021F2E6F@titan.internal.prpa.org>
To: "Mark Birbeck" <mark.birbeck@webbackplane.com>
Cc: "John Boyer" <boyerj@ca.ibm.com>, <www-forms@w3.org>
Thank you for the pointer to Fiddler.  I installed that today and it has been very helpful.
 
I also have a sample of my currently broken Xforms code. 
On event xforms-ready it copies data from one in-line instance to another.
 
I'm not sure if this list allows attachments, but I will attach the code.
 
In my setvalue element, if the bind clause refers to one instance but the 
value clause refers to elements in the other instance than the setvalue
doesn't seem to work.
 
If on the other hand both the bind and the value parts refer to elements
in the same instance than it works.
 
 

________________________________

From: Mark Birbeck [mailto:mark.birbeck@webbackplane.com]
Sent: Thu 5/21/2009 1:56 AM
To: Howard, Chris
Cc: John Boyer; www-forms@w3.org
Subject: Re: question about embedded instance vs. ref to an xml file



Hi Chris,

Sorry that I didn't spot this thread earlier so I'm coming late to this.

I see that you've managed to work around this, but if you get the
problem again, send the two versions of your form, and we can take a
look.

John's suggestion sounds the most likely explanation to me, though,
since loading an external document means that it will get its own set
of namespaces that are completely independent of those of the host
document.

Another small point in passing, if you don't use something like
Fiddler, then I would recommend it. The mime type possibility you
mention would then be very quick to spot.

Regards,

Mark
Received on Thursday, 21 May 2009 22:39:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:16 GMT