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

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 UTC