xml parsing failed mmmm...  

This forum is fully dedicated to Panotour / Panotour Pro bug reports as well as feature discussion.
no avatar
itsrichphoto
Member
 
Posts: 70
Joined: Thu Apr 18, 2013 10:56 pm
Location: OC, California

xml parsing failed mmmm...

by itsrichphoto » Fri Apr 19, 2013 7:19 pm

I used panotour for the first time yesterday. I have been using krpano so I have a reasonable understanding...

The tour is html5 compatible. I uploaded to the server for testing. I get "xml parsing failed" on ipad.

I look at the xml and I do find a couple of spaces missing! I then open the xml into safari and it loads which means the xml works.

I re-upload, then test with the desktop machine, it works! I run safari in develop mode to test iPad compatibility and it works! However, I get the same message on the iPad after refreshing....

Any ideas?!

Many thanks


Rich!
Richard Hart
Commercial and portrait photographer OC California
http://www.richhartphoto.com

no avatar
mediavets
Moderator
 
Posts: 14273
Joined: Wed Nov 14, 2007 2:12 pm
Location: Isleham, Cambridgeshire, UK.

by mediavets » Fri Apr 19, 2013 7:25 pm

Can we have URL to view the tour?

Is it HTML5 only or both Flash and HTML5?
Andrew Stephens
Many different Nodal Ninja and Agnos pano heads. Merlin/Panogear mount with Papywizard on Nokia Internet tablets.
Nikon D5100 and D40, Sigma 8mm f3.5 FE, Nikon 10.5mm FE, 35mm, 50mm, 18-55mm, 70-210mm. Promote control.

no avatar
itsrichphoto
Member
 
Posts: 70
Joined: Thu Apr 18, 2013 10:56 pm
Location: OC, California

by itsrichphoto » Fri Apr 19, 2013 7:37 pm

it is both html5 and flash

http://www.itsrich.info/360vr/balboa/GENOVA.html

Thanks for the help!
Richard Hart
Commercial and portrait photographer OC California
http://www.richhartphoto.com

no avatar
mediavets
Moderator
 
Posts: 14273
Joined: Wed Nov 14, 2007 2:12 pm
Location: Isleham, Cambridgeshire, UK.

by mediavets » Fri Apr 19, 2013 7:44 pm

itsrichphoto wrote:it is both html5 and flash

http://www.itsrich.info/360vr/balboa/GENOVA.html

Thanks for the help!

How much of this would you say was done with PTP and how much handcoded?

Does the error message on the iPad offer any more detail?
Last edited by mediavets on Fri Apr 19, 2013 7:57 pm, edited 1 time in total.
Andrew Stephens
Many different Nodal Ninja and Agnos pano heads. Merlin/Panogear mount with Papywizard on Nokia Internet tablets.
Nikon D5100 and D40, Sigma 8mm f3.5 FE, Nikon 10.5mm FE, 35mm, 50mm, 18-55mm, 70-210mm. Promote control.

no avatar
itsrichphoto
Member
 
Posts: 70
Joined: Thu Apr 18, 2013 10:56 pm
Location: OC, California

by itsrichphoto » Fri Apr 19, 2013 7:52 pm

mostly ptp including the logos. the position of the elements and zoom controls were changed in the xml http://www.itsrich.info/360vr/balboa/GENOVA.xml

I also added z order as they were hidden below the opaque bar. can you have several items in one z order or do they need to have unique levels? I have a few on the same level and wonder if that may be the problem..
Richard Hart
Commercial and portrait photographer OC California
http://www.richhartphoto.com

no avatar
itsrichphoto
Member
 
Posts: 70
Joined: Thu Apr 18, 2013 10:56 pm
Location: OC, California

by itsrichphoto » Fri Apr 19, 2013 7:58 pm

i just loaded the xml in safari on ipad and it says there is an error with this line

<plugin name="logo3" url="GENOVAdata/graphics/logo3.png" keep="true" align="lefttop" x="0" y="-2" width="2500" height="prop" handcursor="false" capture="false"/>
Richard Hart
Commercial and portrait photographer OC California
http://www.richhartphoto.com

no avatar
mediavets
Moderator
 
Posts: 14273
Joined: Wed Nov 14, 2007 2:12 pm
Location: Isleham, Cambridgeshire, UK.

by mediavets » Fri Apr 19, 2013 8:21 pm

itsrichphoto wrote:i just loaded the xml in safari on ipad and it says there is an error with this line

<plugin name="logo3" url="GENOVAdata/graphics/logo3.png" keep="true" align="lefttop" x="0" y="-2"width="2500" height="prop" handcursor="false" capture="false"/>

I think you hand coded that line?

It doesn't look like code generated by PTP when compared to a quick test I did with your graphic, PTP doesn't allow me to entre a value as large as 2500 fro width vui the GUI, and I think the handcursor and capture attributes are hand coded?

Is this attribute valid? Is a negative value permitted?

y="-2"

It's the only obvious difference I can see between that line and this one:

<plugin name="logo6" url="GENOVAdata/graphics/logo6.png" keep="true" align="leftbottom" x="0" y="0" width="2500" height="prop" handcursor="false" capture="false"/>
Last edited by mediavets on Fri Apr 19, 2013 8:23 pm, edited 1 time in total.
Andrew Stephens
Many different Nodal Ninja and Agnos pano heads. Merlin/Panogear mount with Papywizard on Nokia Internet tablets.
Nikon D5100 and D40, Sigma 8mm f3.5 FE, Nikon 10.5mm FE, 35mm, 50mm, 18-55mm, 70-210mm. Promote control.

no avatar
itsrichphoto
Member
 
Posts: 70
Joined: Thu Apr 18, 2013 10:56 pm
Location: OC, California

by itsrichphoto » Fri Apr 19, 2013 8:31 pm

HI MEDIAVETS!

thanks a lot for your help!

I have used negative values before, so there is no reason why that should be a problem.

Turns out, it is not the xml, but the html. For some reason the html file created by ptp was not html5 compatible! I noticed there was no html.js file and rewrote thr html5 Works on the iPad "butiful" as Bernard Matthew would say...
Richard Hart
Commercial and portrait photographer OC California
http://www.richhartphoto.com


Return to Panotour bugs & discussion 1.8

Who is online

Users browsing this forum: No registered users and 1 guest