Re: [Xsltforms-support] Namespace bugs in different browsers with xsltforms-508
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2011-10-05 20:52:02
|
Hello, The issue pointed by Leigh was just about the empty namespace and the XHTML namespace: by default, AJAXForms considered that authors would forget to declare the empty namespace in instances so the XHTML namespace was also accepted! FireFox still has the lack of namespace axis support: the current workaround is to add a dummy attribute anywhere in the form within the desired namespace so the XSLT stylesheet can find it. I'm now thinking of allowing namespace declarations in config files to avoid extra dummy attributes in each form. What do you think? Thanks! -Alain Le 04/10/2011 10:26, Jens Østergaard Petersen a écrit : > Hi, > > I also have problems with namespaces in 508. > > Filtering with namespaces, as on line 266 of > > <http://exist.svn.sourceforge.net/viewvc/exist/apps/tamboti/modules/edit/body/00-compact-standalone.xml?view=markup&pathrev=15394> > > works in Chrome 14 and Safari 5.1, but not in FF 3.6 and 7. > > Inserting namespaced attributes, as on lines 227 and 236 of > > <http://exist.svn.sourceforge.net/viewvc/exist/apps/tamboti/modules/edit/body/01-title.xml?revision=15140&view=markup&pathrev=15394> > > does not work in any browser, though I am sure it has worked before. > > Am I doing something wrong? > > Best, > > Jens > > On Aug 10, 2011, at 1:11 AM, Leigh L Klotz Jr wrote: > >> Given this instance data: >> >> <?xml version="1.0" encoding="UTF-8"?> >> <data> >> <doc> >> <div xmlns="http://www.w3.org/1999/xhtml"> >> <p>Hi there</p> >> </div> >> </doc> >> </data> >> >> xsltforms-508 in all browsers tested (FF5, Chrome13, IE8) will match >> <group ref="doc/div" /> >> even though the div is in another namespace. >> >> Also, FF5 fails to match this: >> <group ref="doc/h:div" /> >> >> See attached files. >> >> Leigh. >> <foo.xml><test.xml>------------------------------------------------------------------------------ >> uberSVN's rich system and user administration capabilities and model >> configuration take the hassle out of deploying and managing Subversion and >> the tools developers use with it. Learn more about uberSVN and get a free >> download at: http://p.sf.net/sfu/wandisco-dev2dev >> _______________________________________________ >> Xsltforms-support mailing list >> Xsl...@li... >> https://lists.sourceforge.net/lists/listinfo/xsltforms-support > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |