XML Loading problem

Bugs will be moved here once resolved.

Post » Wed Jun 12, 2013 4:58 pm

Construct 2 version:R130 64bit
Link to the file:
    https://www.dropbox.com/s/miuf2dl3mzpesei/xml%20problem.capx
1.add an xml to the project
2.load it with ajax
3.load the xml from ajax.lastdata


Observed result:
It seems that when Im trying to load the xml as a project file its not works.
However when I paste the xml as a text directly in the xml load action, it works perfectly.


Expected result:
I need to load from an xml file, so that I can change the language by changing the xml.

Operating system & service pack:
windows 7 64bit

Browsers affected:
Ive tried on firefox, chrome and opera without any difference.john1sta2013-06-12 20:39:23
B
3
Posts: 4
Reputation: 183

Post » Mon Jun 17, 2013 2:25 pm

Closing as not a bug; your XML file has syntax errors in it. For example the line: <?xml version=""1.0""

Double-quotes are only necessary in the parameters dialog, not the dialog itself. The parameters dialog considers a single " to end the text, so the double "" is used to mean a single " inside the text and not the end of the text. The XML file itself should not use this.
Scirra Founder
B
397
S
236
G
88
Posts: 24,408
Reputation: 194,506


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests