Sie sind nicht angemeldet.

joekki

Schüler

  • »joekki« ist der Autor dieses Themas

Beiträge: 78

Wohnort: Turku, Finland

Beruf: Panoramic photographer and web site builder

  • Nachricht senden

1

Freitag, 10. Juli 2009, 12:46

XML parser error: Unterminated attribute (#1095) - with multires panorama

Hi,

the following code produces the error: XML parser error: Unterminated attribute (#1095).

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
<scene name="tasalanaukio">
<preview type="CUBESTRIP" url="%SWFPATH%/virtualraisio/tasala/preview.jpg"/>
<image type="SPHERE" multires="true" tilesize="554">
<level tiledimagewidth="5002" tiledimageheight="2501">
<sphere url="tasala/l3_%00v_%00h.jpg"/>
</level>
<level tiledimagewidth="2501" tiledimageheight="1251">
<sphere url="tasala/l2_%00v_%00h.jpg"/>
</level>
<level tiledimagewidth="1251" tiledimageheight="626">
<sphere url="tasala/l1_%00v_%00h.jpg"/>
</level>
</image>


This image code is generated by MAKE MULTIRES PANO droplet.app beta 1.0.8b8 latest build. The error goes away if I remove all the %00 and replace those with %0. But then it wont find the pictures.

What to do?

XML url http://panoraamakuvat.fi/asiakkaat/virtu…la_20090708.xml
Pano URL http://panoraamakuvat.fi/kuvat/raisio/virtualraisio

joekki

Schüler

  • »joekki« ist der Autor dieses Themas

Beiträge: 78

Wohnort: Turku, Finland

Beruf: Panoramic photographer and web site builder

  • Nachricht senden

2

Freitag, 10. Juli 2009, 13:56

solved

Problem solved. % signs have to be encoded when passing them to flash:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
<image type="SPHERE" multires="true" tilesize="554">
	<level tiledimagewidth="5002" tiledimageheight="2501">
		<sphere url="tasala/l3_%2500v_%2500h.jpg" />
	</level>
	<level tiledimagewidth="2501" tiledimageheight="1251">
		<sphere url="tasala/l2_%2500v_%2500h.jpg" />
	</level>
	<level tiledimagewidth="1251" tiledimageheight="626">
		<sphere url="tasala/l1_%2500v_%2500h.jpg" />
	</level>
</image>


So % transforms to %25

3

Freitag, 10. Juli 2009, 22:24

i have never had to adjust anything like that after creating the tiles. what i do not see is a closing tag for the scene </scene> maybe that was it. i checked all my panos and none of them need the thing you are talking about.

joekki

Schüler

  • »joekki« ist der Autor dieses Themas

Beiträge: 78

Wohnort: Turku, Finland

Beruf: Panoramic photographer and web site builder

  • Nachricht senden

4

Samstag, 11. Juli 2009, 22:34

i have never had to adjust anything like that after creating the tiles. what i do not see is a closing tag for the scene </scene> maybe that was it. i checked all my panos and none of them need the thing you are talking about.


Hi, all of the panos worked for me too when I'm running them without mod_rewrite and without the virtual tour (read: scenes).. I'm not sure which one causes the problem. That pano worked when I uploaded it to my server and when using only one XML where the pano was. But when I started to add other panos to that XML, it stopped working. And the %25 thing fixed it.

I know, it sounds bizarre - it is. i don't know why it causes it but something does it.

Btw. There was </scene> tag, I just didn't paste the whole code there - i attached a link to the xml there.

viewinz

Fortgeschrittener

Beiträge: 145

Wohnort: Wellington, New Zealand

Beruf: Trying to build an entire walkthrough of NZ for tourists

  • Nachricht senden

5

Donnerstag, 23. Juli 2009, 04:51

This just happened to me and the "%25" fixed it. Is it a bug?

6

Donnerstag, 23. Juli 2009, 11:42

Hi,

hmm, I'm sure at the moment, why that happens...

when looking at your xml, some <scenes> are normal and some have the %25...
I will try to find out more about that,

best regards,
Klaus

7

Sonntag, 2. August 2009, 21:35

I have the same problem at the moment, xml parser error #1095. it seems that the 1.08b8 tool creates xml that works fine, but as soon as you drop the same xml into a scene it stops working. replacing %00 with just % fails to find tiles, replacing %00 with %2500 works. rolling back to an older krpano.swf gives the same error. so i think it must be a problem with the xml/tile creator of the 1.08b8 tool.

8

Sonntag, 20. September 2009, 21:34

I have the same problem at the moment, xml parser error #1095. it seems that the 1.08b8 tool creates xml that works fine, but as soon as you drop the same xml into a scene it stops working. replacing %00 with just % fails to find tiles, replacing %00 with %2500 works. rolling back to an older krpano.swf gives the same error. so i think it must be a problem with the xml/tile creator of the 1.08b8 tool.


any word on when we could se this bug fixed?

joergen

9

Montag, 21. September 2009, 23:41

any word on when we could se this bug fixed?
Hi,

I found the bug and could fix it,
the next version should be ready soon,

best regards,
Klaus