Re: [Xsltforms-support] xforms load has changed
Brought to you by:
alain-couthures
From: <ala...@ag...> - 2014-01-31 16:51:40
|
Paul, I will restore a compatible behavior in next commit. I am testing an extension for load action: if the node type is xforms:HTMLFragment, it will directly load the node content and not perform an HTTP request for getting it for the node content. It was not a good idea to restrict to xsd:anyURI type the previous behavior. Please tell me if you are in a hurry. -Alain > Le 30 janvier 2014 à 01:14, Paul Vanderveen <pva...@te...> a écrit > : > > > We are in the process of updating to rev. 586 code that supports IE11 (among > other things) > > One thing I have noticed is that the xf:load element behavior has changed. > > > > Given the following simplified XML model: > > <Data> > > <RunMethod>javascript:alert(‘Hello there’)</RunMethod> > > </Data> > > > > The following shorthand used to work: > > <xf:load ref=”/Data/RunMethod”> > > > > This no longer works, so after some experimentation I was able to get it to > work by refactoring to: > > <xf:load> > > <xf:resource value=”/Data/RunMethod”/> > > </xf:load> > > > > We had quite a few forms that used the shorthand that will be affected. My > question is whether the shorthand was valid XForms, or if XSLTForms > intentionally removed it. > > > > > > Paul Vanderveen > |