1677 posts Envato Elite Author
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+6 more
Tean says

Have you ever experienced a problem where if xml file is too big ?

For example you have an image gallery and you simply put too many pictures, and what happens that xml gets cut off, no closing tag at all, you get an error “element is malformed” and it fails to load completely.

And this only happens online, not offline.

734 posts fifty_tons and CodingJack
  • Has referred 1+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+5 more
50andJACK says

Personally I use dreamweaver to make XML files, and if they’re too big, I validate them and dreamweaver shows me all the unclosed tags and stuff like that that I might have overlooked. Using notepad makes it very confusing :D.

I hope I understood this correctly :D

- 50

3012 posts
  • Has sold $1+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been a beta tester for an Envato feature
+2 more
TNL3542 says
Have you ever experienced a problem where if xml file is too big ?

For example you have an image gallery and you simply put too many pictures, and what happens that xml gets cut off, no closing tag at all, you get an error “element is malformed” and it fails to load completely.

And this only happens online, not offline.

hey tean no i havent had that happen to me.. i was loading a bunch of music useing xml it was a extremly long file.. but never had any problems.. but as far as the picture gallery havent tryed it yet hope this is a little helpful to you

209 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 100+ members
  • Located in Australia
  • Has sold $40,000+ on Envato Market
+6 more
tahadaf says

Are you saying that the xml load process cuts off? and the xml file can’t be loaded fully?

I must say that’s a rare thing but you may consider compressing the big xml in zip format and then load that zip into your app and then extract the info out of there… that may help.

1677 posts Envato Elite Author
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+6 more
Tean says
630 posts Fuel Your Web
  • Elite Author: Sold more than $75,000 on Envato Market
  • Won a competition
  • Had an item featured on Envato Market
  • Has been part of the Envato Community for over 7 years
+5 more
Pirenko says

I’m currently facing a similar problem. I want to send a XML to PHP using sendandload() and this function is limited to 64k size.
I havent’s still found a workaround. If anyone has a solution please inform…
Anyway I think this is “our” mistake, because XML files should only be used for storing a small amount of info. For larger stuff we should use databases :(

3750 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Located in Spain
  • Has sold $125,000+ on Envato Market
  • Helped several times protecting Envato Market against copyright violations
+9 more
pezflash says
Anyway I think this is “our” mistake, because XML files should only be used for storing a small amount of info. For larger stuff we should use databases :(

Not a mistake. If you use DDBB instead xml people will not buy it.
Try to separate the info in several xmls, if possible.

8281 posts Community Moderator
  • Has referred 10+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Attended one of our Meetups around the world
+9 more
MSFX Moderator says

i’ve made an app before with an xml file thats >10mb, was 5000 images and that worked fine… flash choked for half a second whilst it was parsed but it was otherwise ok…

by
by
by
by
by
by