• I used now around 5 hours to get a simple 9 panorama tour to work.

    I have made several similar ones for panoramas.dk with just 2 panos like this one.
    Sound actions and everything works perfect.
    http://www.panoramas.dk/2010/worldcup-germany-england.html

    The basic is generated with the Vtour multi and skin, sound and actions are added manually.

    But when I generate the 9 pano page the page gives me an fatal XML parsing or loading error on iPad.

    So I took the first one with 2 panos and exchanged the tiles for the first 2 panos.
    Everything works and I then tried to paste the rest of the scenes from my 9 pano xml.
    At ones I get an error.

    So I duplicate the code from scene 2 and change the URLs in it . Every thing works .
    I try to ad one scene at a time from the 9pano XML but again it generates an error.


    Here are 2 scenes.
    The first one is the working one.
    Scene 6 is copypaste from the 9 panos xml which generates error on iPad. No problem in flash.
    As far as I can see they are identical except for the URLs. Note that the error is already when the page loads.

    <scene name="scene_5" title="New Year 2005" onstart="playsound(sound1,ny3/sounds/2005.mp3);" thumburl="5.tiles/thumb.jpg">

    <view hlookat="0" vlookat="0" fovtype="MFOV" fov="100" maxpixelzoom="1.6" fovmin="60" fovmax="120" />

    <autorotate enabled="true"
    waittime="2.0"
    accel="0.7"
    speed="7"
    horizon="0"
    tofov="100"
    />
    <preview url="5.tiles/preview.jpg" />

    <image type="CUBE" multires="true" tilesize="512" progressive="false">
    <level tiledimagewidth="2048" tiledimageheight="2048">
    <left url="5.tiles/l3_l_%0v%0h.jpg" />
    <front url="5.tiles/l3_f_%0v%0h.jpg" />
    <right url="5.tiles/l3_r_%0v%0h.jpg" />
    <back url="5.tiles/l3_b_%0v%0h.jpg" />
    <up url="5.tiles/l3_u_%0v%0h.jpg" />
    <down url="5.tiles/l3_d_%0v%0h.jpg" />
    </level>
    <level tiledimagewidth="1024" tiledimageheight="1024">
    <left url="5.tiles/l2_l_%0v%0h.jpg" />
    <front url="5.tiles/l2_f_%0v%0h.jpg" />
    <right url="5.tiles/l2_r_%0v%0h.jpg" />
    <back url="5.tiles/l2_b_%0v%0h.jpg" />
    <up url="5.tiles/l2_u_%0v%0h.jpg" />
    <down url="5.tiles/l2_d_%0v%0h.jpg" />
    </level>
    <level tiledimagewidth="512" tiledimageheight="512">
    <left url="5.tiles/l1_l_%0v%0h.jpg" />
    <front url="5.tiles/l1_f_%0v%0h.jpg" />
    <right url="5.tiles/l1_r_%0v%0h.jpg" />
    <back url="5.tiles/l1_b_%0v%0h.jpg" />
    <up url="5.tiles/l1_u_%0v%0h.jpg" />
    <down url="5.tiles/l1_d_%0v%0h.jpg" />
    </level>
    </image>


    </scene>

    <scene name="scene_6" title="New Year 2006" onstart="playsound(sound1,ny3/sounds/2006.mp3);" thumburl="6.tiles/thumb.jpg">

    <view hlookat="0" vlookat="0" fovtype="MFOV" fov="110" maxpixelzoom="1.6" fovmin="60" fovmax="130" />


    <autorotate enabled="true"
    waittime="2.0"
    accel="0.7"
    speed="7"
    horizon="0"
    tofov="100"
    />
    <preview url="6.tiles/preview.jpg" />

    <image type="CUBE" multires="true" tilesize="512" progressive="false">
    <level tiledimagewidth="2048" tiledimageheight="2048">
    <left url="6.tiles/l3_l_%0v%0h.jpg" />
    <front url="6.tiles/l3_f_%0v%0h.jpg" />
    <right url="6.tiles/l3_r_%0v%0h.jpg" />
    <back url="6.tiles/l3_b_%0v%0h.jpg" />
    <up url="6.tiles/l3_u_%0v%0h.jpg" />
    <down url="6.tiles/l3_d_%0v%0h.jpg" />
    </level>
    <level tiledimagewidth="1024" tiledimageheight="1024">
    <left url="6.tiles/l2_l_%0v%0h.jpg" />
    <front url="6.tiles/l2_f_%0v%0h.jpg" />
    <right url="6.tiles/l2_r_%0v%0h.jpg" />
    <back url="6.tiles/l2_b_%0v%0h.jpg" />
    <up url="6.tiles/l2_u_%0v%0h.jpg" />
    <down url="6.tiles/l2_d_%0v%0h.jpg" />
    </level>
    <level tiledimagewidth="512" tiledimageheight="512">
    <left url="6.tiles/l1_l_%0v%0h.jpg" />
    <front url="6.tiles/l1_f_%0v%0h.jpg" />
    <right url="6.tiles/l1_r_%0v%0h.jpg" />
    <back url="6.tiles/l1_b_%0v%0h.jpg" />
    <up url="6.tiles/l1_u_%0v%0h.jpg" />
    <down url="6.tiles/l1_d_%0v%0h.jpg" />
    </level>
    </image>


    </scene>


    I have suspected some decoding error from TextEdit which is invisible but I can not understand how that is possible. There are no special characters in it which I know HTML5 is more sensible to.


    Hans

  • More weird things.

    I generated a new Vtour this time with a default template but with exactly same settings for the panos.
    I copied this code to my working template and added the autorotate code and the title and sound codes actually I copied it from the code which generated errors.

    And surprise I now get no errors.

    Anyone can see adifference between the scene 6 avove and this.

    <scene name="scene_6" title="New Year 2006" onstart="playsound(sound1,ny3/sounds/2006.mp3);" thumburl="6.tiles/thumb.jpg">

    <view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="1.6" fovmin="60" fovmax="130" />

    <autorotate enabled="true"
    waittime="2.0"
    accel="0.7"
    speed="7"
    horizon="0"
    tofov="100"
    />

    <preview url="6.tiles/preview.jpg" />

    <image type="CUBE" multires="true" tilesize="512" progressive="false">
    <level tiledimagewidth="2048" tiledimageheight="2048">
    <left url="6.tiles/l3_l_%0v%0h.jpg" />
    <front url="6.tiles/l3_f_%0v%0h.jpg" />
    <right url="6.tiles/l3_r_%0v%0h.jpg" />
    <back url="6.tiles/l3_b_%0v%0h.jpg" />
    <up url="6.tiles/l3_u_%0v%0h.jpg" />
    <down url="6.tiles/l3_d_%0v%0h.jpg" />
    </level>
    <level tiledimagewidth="1024" tiledimageheight="1024">
    <left url="6.tiles/l2_l_%0v%0h.jpg" />
    <front url="6.tiles/l2_f_%0v%0h.jpg" />
    <right url="6.tiles/l2_r_%0v%0h.jpg" />
    <back url="6.tiles/l2_b_%0v%0h.jpg" />
    <up url="6.tiles/l2_u_%0v%0h.jpg" />
    <down url="6.tiles/l2_d_%0v%0h.jpg" />
    </level>
    <level tiledimagewidth="512" tiledimageheight="512">
    <left url="6.tiles/l1_l_%0v%0h.jpg" />
    <front url="6.tiles/l1_f_%0v%0h.jpg" />
    <right url="6.tiles/l1_r_%0v%0h.jpg" />
    <back url="6.tiles/l1_b_%0v%0h.jpg" />
    <up url="6.tiles/l1_u_%0v%0h.jpg" />
    <down url="6.tiles/l1_d_%0v%0h.jpg" />
    </level>
    </image>


    </scene>

  • I am not sure what L shape you see.

    However I have done an experiment.
    I stripped down the xml on the error producing one to only the first scene with no other code then the startup action.
    Here it is.
    http://www.panoramas.dk/panorama/krpano/ipad-error/tour.html
    and the XML
    http://www.panoramas.dk/panorama/krpano/ipad-error/tour.xml

    And here is an identical one which works
    http://www.panoramas.dk/panorama/krpan…rror/tour2.html
    http://www.panoramas.dk/panorama/krpano/ipad-error/tour2.xml

    Loading the xmls directly in Safari gives me this on the failing one.
    error on line 45 at column 3: PCDATA invalid Char value 3

    According to the webinspector line 45 is this: </scene>

    That looks identical to the one without error : </scene>

    As I suspected a Char decoding error but why has the KRPano tools generated it in the first place?
    I know that Flash is not as sensible to this as HTML5, actually I was the one who started the discussion with ADOBE when they published Flash 10.1 beta and they without warning removed the support for using & without entity coding.
    If they had removed it they had left hundreds of FPP sites that would have given the same XML error. We forced them to keep it mainly because Scott Witte found a documentation from ADOBE which said they should support it.

    Hans

  • Hi,

    try using Firefox or an other text editor,

    in Firefox you see that there is a strange character in the xml,
    Safari doesn't show that,

    here some screenshots:

    from the thread:

    the xml in firefox:

    the xml in UltraEdit:

    maybe it happens during copy and paste...

    best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!