Hello. I'm running into an issue where, after running my XML through the encrypt tool, I will get an XML parsing error maybe about 25% of the time even when using the same XML. These are the steps that generate the XML that I'm using.
- Get info about hotspots and scenes from database
- Turn that into XML for krpano
- Encrypt the XML and then escape the encrypted string
- Load the xml string (not a file) in JavaScript with loadxml() call
For some reason the encryption part seems to cause the parsing to fail sometimes. I've checked the xml before encryption and it is always the same. If I remove encryption step then it is successfully parsed every time. If it is helpful I can send examples of encryption xml that worked and some that failed. I've looked at them side by side and haven't noticed any major differences and as far as I know there is no way to decrypt these to try to find the xml issue.
Would really appreciate any insight on this.
Thanks!