Skip to main content
Participant
October 4, 2013
Question

AIR 3.8 modifies XML file unexpectedly

  • October 4, 2013
  • 0 replies
  • 310 views

Hello all,

we are developing a multi-platform offline business-to-business app in AIR. The 1.0 version is currently in the Apple AppStore: https://itunes.apple.com/nl/app/efashion/id659451223?l=en&mt=8

We are working on the 1.1 update, but when we compile with AIR 3.8, we run into some unexpected behaviour that doesn't happen in AIR 3.7. The scenario is like this:

- when a user logs in for the first time, the app downloads a large XML database (database.xml). When complete, the file is stored in the local filesystem.

- then, a second XML file is loaded, containing a stock update for the database (stock.xml).

- in AIR 3.8, when we start loading the second file (_loader.load(request);), the first XML is modified unexpectedly. Whole XML chunks disappear, tags disappear, XML chunks pop up elsewhere in the tree, etcetera, rendering the database.xml file completely unusable.

In AIR 3.7, everything is fine.

I've tried reproducing this bug in a simpler project, but haven't been able to do so yet. Meanwhile, we are curious to find out if anything changed internally in the handling of XML in AIR 3.8 that could cause this behaviour.

Any help would be greatly appreciated!

Thanks in advance,

Olaf Wempe

This topic has been closed for replies.