Re: [Xsltforms-support] Initialization problem on Opera 11.01
Brought to you by:
alain-couthures
From: Grégoire C. <gco...@gm...> - 2011-04-11 19:40:53
|
Hello Alain While lightening my form to make a test case, I found out that this was a conflict with "js-xpath.js" from: http://js-xpath.sourceforge.net/ I don't know why this conflict only surfaces with Opera and not other browsers. Is there a way to use XSLTForms XPath engine instead? Thanks! Grégoire Le 11/04/2011 20:26, Alain Couthures a écrit : > 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 >> > |