Re: [Xsltforms-support] Initialization problem on Opera 11.01
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2011-04-11 18:24:52
|
Hello Grégoire, "//properties" is used to get config properties from a config.xsl file. I often test with the latest version of Opera and I don't see this exception with my own forms. Can you please send me a test case? Thanks! -Alain Le 11/04/2011 20:02, Grégoire COLBERT a écrit : > Hi! > > I tried my form with Opera 11.01 and it crashes on loading with the > following report : > > ======== > > <localhost> > > XSLTForms Exception > -------------------------- > > Error initializing : > > <anonymous function: Core.selectSingleNode>([arguments not > available])@https://localhost:8443/xsltforms/trunk/build/xsltforms.js:430 > <anonymous function: loadProperties>([arguments not > available])@https://localhost:8443/xsltforms/trunk/build/xsltforms.js:130 > <anonymous function: get>([arguments not > available])@https://localhost:8443/xsltforms/trunk/build/xsltforms.js:952 > <anonymous function: init>([arguments not > available])@https://localhost:8443/xsltforms/trunk/build/xsltforms.js:1546 > initImpl([arguments not available])@https://localhost:8443/:977 > init([arguments not available])@https://localhost:8443/:3 > <anonymous function>([arguments not available])@ > > Error initially occured at<anonymous function: > Core.loadNode>([arguments not > available])@https://localhost:8443/xsltforms/trunk/build/xsltforms.js:466 > <anonymous function: loadProperties>([arguments not > available])@https://localhost:8443/xsltforms/trunk/build/xsltforms.js:130 > <anonymous function: get>([arguments not > available])@https://localhost:8443/xsltforms/trunk/build/xsltforms.js:952 > <anonymous function: init>([arguments not > available])@https://localhost:8443/xsltforms/trunk/build/xsltforms.js:1546 > initImpl([arguments not available])@https://localhost:8443/:977 > init([arguments not available])@https://localhost:8443/:3 > <anonymous function>([arguments not available])@ > > TypeError > > Cannot convert 'src' to object > > ======== > > A look in "Opera Dragonfly" shows that the problem is the line : > > Core.loadNode(Core.config, Core.selectSingleNode('//properties', > req.responseXML)); > > because Core.selectSingleNode returns "null". > > What can be wrong with this form? > > Thanks for your help! > > Grégoire > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |