Thread: [Xsltforms-support] Missing xf:output (FF4)
Brought to you by:
alain-couthures
From: Efraim F. <efr...@gm...> - 2011-05-25 21:15:53
Attachments:
test-output.xql
|
Hi, The attached form demonstrates an issue with XSLTForms in Firefox 4. If you run the attached XQuery/XForms document, you should see 3 show buttons, and outputs like "f: one m: two l: three". The buttons appear in all browsers. The outputs show up as expected in Google Chrome, and are missing entirely in FF4. Pressing 'show' shows the serialized content of the instance. In FF4, all the class attributes have been converted to CLASS and there are some additional attributes in the serialized output: <p xmlns="http://www.w3.org/1999/xhtml" xsltforms_depfor_2="true" xsltforms_repeat="xf-repeat-0" xsltforms_depfor_6="true"><span CLASS="f">one</span><span CLASS="m">two</span><span CLASS="l">three</span></p> I tested on r502 and r504, both have the same problem. I ran into this while trying to construct a test case for another bug which occurs both in FF4 and Google Chrome 11, where only the first xf:output in a series of repeats is not shown. I haven't found a way to reproduce that one as a minimum example yet (although I can reproduce it in my more complex code). Thanks, -- --- Efraim Feinstein Lead Developer Open Siddur Project http://opensiddur.net http://wiki.jewishliturgy.org |
From: Alain C. <ala...@ag...> - 2011-05-27 20:32:23
|
Hello Efraim, HTML attributes are case-insensitive in FireFox 4 and they are always serialized in capital letters. I have modified the XPath engine accordingly. Please test again with r505. Thank you for your feedbacks! -Alain Le 25/05/2011 23:15, Efraim Feinstein a écrit : > Hi, > > The attached form demonstrates an issue with XSLTForms in Firefox 4. > If you run the attached XQuery/XForms document, you should see 3 show > buttons, and outputs like "f: one m: two l: three". The buttons appear > in all browsers. The outputs show up as expected in Google Chrome, and > are missing entirely in FF4. > > Pressing 'show' shows the serialized content of the instance. In FF4, > all the class attributes have been converted to CLASS and there are > some additional attributes in the serialized output: > <p xmlns="http://www.w3.org/1999/xhtml" xsltforms_depfor_2="true" > xsltforms_repeat="xf-repeat-0" xsltforms_depfor_6="true"><span > CLASS="f">one</span><span CLASS="m">two</span><span > CLASS="l">three</span></p> > > I tested on r502 and r504, both have the same problem. > > I ran into this while trying to construct a test case for another bug > which occurs both in FF4 and Google Chrome 11, where only the first > xf:output in a series of repeats is not shown. I haven't found a way > to reproduce that one as a minimum example yet (although I can > reproduce it in my more complex code). > > Thanks, > > > ------------------------------------------------------------------------------ > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, > you get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > > > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support |
From: Efraim F. <efr...@gm...> - 2011-05-27 23:25:49
|
Hi Alain, I can confirm that this bug is now fixed. What an odd "feature" of Firefox. Thank you! Efraim On 05/27/2011 04:34 PM, Alain Couthures wrote: > Hello Efraim, > > HTML attributes are case-insensitive in FireFox 4 and they are always > serialized in capital letters. > > I have modified the XPath engine accordingly. > > Please test again with r505. > > Thank you for your feedbacks! > > -Alain > > Le 25/05/2011 23:15, Efraim Feinstein a écrit : >> Hi, >> >> The attached form demonstrates an issue with XSLTForms in Firefox 4. >> If you run the attached XQuery/XForms document, you should see 3 show >> buttons, and outputs like "f: one m: two l: three". The buttons >> appear in all browsers. The outputs show up as expected in Google >> Chrome, and are missing entirely in FF4. >> >> Pressing 'show' shows the serialized content of the instance. In FF4, >> all the class attributes have been converted to CLASS and there are >> some additional attributes in the serialized output: >> <p xmlns="http://www.w3.org/1999/xhtml" xsltforms_depfor_2="true" >> xsltforms_repeat="xf-repeat-0" xsltforms_depfor_6="true"><span >> CLASS="f">one</span><span CLASS="m">two</span><span >> CLASS="l">three</span></p> >> >> I tested on r502 and r504, both have the same problem. >> >> I ran into this while trying to construct a test case for another bug >> which occurs both in FF4 and Google Chrome 11, where only the first >> xf:output in a series of repeats is not shown. I haven't found a way >> to reproduce that one as a minimum example yet (although I can >> reproduce it in my more complex code). >> >> Thanks, >> >> >> ------------------------------------------------------------------------------ >> vRanger cuts backup time in half-while increasing security. >> With the market-leading solution for virtual backup and recovery, >> you get blazing-fast, flexible, and affordable data protection. >> Download your free trial now. >> http://p.sf.net/sfu/quest-d2dcopy1 >> >> >> _______________________________________________ >> Xsltforms-support mailing list >> Xsl...@li... >> https://lists.sourceforge.net/lists/listinfo/xsltforms-support > -- --- Efraim Feinstein Lead Developer Open Siddur Project http://opensiddur.net http://wiki.jewishliturgy.org |