Hi,
I'm hitting a slight problem with degrees symbols in my XML.
My XML is being created dynamically using PHP, and of course there are certain strings which I must sanitise with PHP before writing to the XML to ensure that the XML is valid.
I've noticed something weird with the way ° is handled... Let me explain:
In PHP I have a function which returns this:
Which will give me something like: "S23° 20' 27.49""
This looks to me ready for the XML. So maybe I can use this in the XML without running through my escape string?
Firefox really hates the ° in the XML. So I thought I'd run the whole thing again through my escape function.
Which will give me:
"S23° 20' 27.49""
With Flash: KRPano will display this to me on my viewer as: S23° 20' 27.49" (notice that the &:def; turned into ° but &apos turned into ')
With HTML5 on firefox it displays as: S23° 20' 27.49"
Google chrome does the same.
I'm wondering if there is a reason for this or if it might be a bug somewhere?
In the meantime I'll put in a special case to let KRPano test for html5 in the XML
David