Sie sind nicht angemeldet.

1

Dienstag, 17. Januar 2012, 18:26

tour.xml validation error after using MAKE VTOUR droplet

Whenever I create a tour with the MAKE VTOUR droplet (ver. 1.0.8.14, 2011-09-12), I always get validation errors between the </image> tag and </scene> tag on every scene that is added to the tour. Its not a problem when viewing flash version, however if I set user agent to ipad or iphone through safari, then the html5 tour will have errors and won't load. After I delete the extra empty lines, html5 version works fine.

It is easy enough to open the tour.xml file and delete a handful of empty lines every time I make a tour, but what can i edit to eliminate the extra lines when I use the droplet in the future?

Is anybody else experiencing this problem?

[Edit]
version is: krpanotools-1.0.8.14-mac64-2011-12-20

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »agn1022« (19. Januar 2012, 16:37)


Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

2

Dienstag, 17. Januar 2012, 21:09

Post a link.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

3

Donnerstag, 19. Januar 2012, 17:15

2 links:

IndianTrails-2: tour.xml has three empty line between every </image> and </scene> tags, not cleaned up after being generated by MAKE VTOUR droplet. Error begins on line74.
Safari>user agent>iPad has fatal error

IndianTrails-3: tour.xml has been manually cleaned up, and the middle of the three empty lines has been removed.
Safari>user agent>iPad works

I'll attach tour.xml from IndianTrails-2 tour.xml

I'm a newbie (recent convert from TourWeaver) and still learning; i'll welcome any other advice/suggestions offered.

panomaster

Fortgeschrittener

Beiträge: 297

Wohnort: Kobyłka, Poland

Beruf: Virtual Tours - Spherical Panoramas - Krpano developer

  • Nachricht senden

4

Donnerstag, 19. Januar 2012, 17:35

There is one wrong (control) sign (HEX 08) between </image> and </scene> tags.

5

Sonntag, 22. Januar 2012, 19:51

Hi,

it seems your 'vtour_hotspottemplate.xml' file is not valid anymore - it seem just contains a 'Hex 08' character, and this character is no valid, and will be insert into every <scene> were the example 'vtour_hotspottemplate.xml' normally was added,

best regards,
Klaus

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

6

Sonntag, 22. Januar 2012, 23:23

So the lesson learned, is do not use whatever you used to edit your files.
One editor i can recommend is notetab lite.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

7

Dienstag, 24. Januar 2012, 20:47

My editor of choice was not the issue in this case, but I will keep that in mind in the future.

Klaus was exactly right. The reason I was getting errors from the MAKE VTOUR droplet was because I had changed vtour-mres.config by removing:

"xmltemplate_additional_file=xml/vtour_hotspottemplate.xml"

because I was trying to make tours without hotspots (I shouldn't need the hotspot template, right? Wrong). So once I removed the xmltemplate_additional_file line the 'hex 08' character was in the place of the missing content from vtour_hotspottemplate.xml, which throws the error in html5

I replaced the missing line in vtour-mres.config and all is well.

Out of curiosity, what file would I edit to prevent the insertion of that 'hex 08' character into my tour.xml when I use the MAKE VTOUR droplet? Or am I stuck manually deleting the hotspot template for every scene on every tour?

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

8

Dienstag, 24. Januar 2012, 21:30

don't remove the whole line?
xmltemplate_additional_file=
should that fail set to an xml that is blank.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

9

Dienstag, 24. Januar 2012, 23:09

sachagriffin, that's I good idea,

I'll try pointing it to vtour_hotspottemplate.xml but I'll make sure it is a blank file.

I'll experiment as soon as i get some time.

10

Mittwoch, 25. Januar 2012, 18:23

Hi,

such line:
"xmltemplate_additional_file=xml/vtour_hotspottemplate.xml"
doesn't exits...

do you mean that:

Quellcode

1
xmltemplate_hotspot=xml/vtour_hotspottemplate.xml


but removing that line should be possible,

best regards,
Klaus

Ähnliche Themen