Hello Klaus,
I believe I have uncovered a bug in the JS viewer.
I followed directions regards using the Safari Browser to check Iphone and Ipad - I am choosing User Agent 4 Safari .3.3 iPad.
My XML file is in two parts because I am using one of the methods mentioned elsewere in a forum to set language ( English French German ) variables inside an XML file that then calls the generic XML which uses those variables in order to translate button text and so on.
I have reduced the bug down to its barest elements ( please note all these examples work in the flash viewer - the bug report relates to the JS viewer ).
==============================================================
Case1: ( This works ok ) - simple single file
<krpano version="1.0.8.14" onstart="startup();" debugmode="true" >
<data></data>
<data></data>
</krpano>
==============================================================
Case2: ( This does not work ) - two files which should be equivalent to case1
FILE1
<krpano version="1.0.8.14" onstart="startup();" debugmode="true" >
<include url="sthut1.xml"/>
</krpano>
FILE2 ( named sthut1.xml )
<data></data>
<data></data>
Reported error - xml parsing failed
==============================================================
Case3: (This does work) - same as case 2 but include file has only one tag pair.
FILE1
<krpano version="1.0.8.14" onstart="startup();" debugmode="true" >
<include url="sthut1.xml"/>
</krpano>
FILE2 ( named sthut1.xml )
<data></data>
==============================================================
After experimentation it would seem that the JS viewer does not tolerate more than one tag pair in the imported file - this is the only difference between cases 2 and 3. I tried other tag types in the imported file to replace the example tag type <data></data> and the result was the same.
The same XML under flash operation ( by changing the user agent ) works fine.
Obviously my example is not useful - I took my real example and stripped out everything step by step and substituted complex code by simple code to capture the problem like this.
Is the forum the usual place to report bugs?
Kind regards
Jon
I have purchased the js 'iPhone' license - I am actually still getting the demo
version title on the panorama - I placed the js licence in the swf
folder as instructed. I have not fully explored this issue so it may be that I am just making an error. I
did wish to organise my folders "pano_swf" "pano_js" "pano_xml" which
seems incompatiable with the instruction that the js licence goes in the
same folder as the SWF file so I guess I will have to revise my proposed directory structure and keep JS and SWFs in one single folder. At the moment my licence is in the folder "pano_swf" and the "krpano.js" file is in the pano_js folder although it is renamed.