- Sold between 50 000 and 100 000 dollars
- Author was Featured
- Author had a Free File of the Month
- Exclusive Author
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Europe
- Has been a member for 3-4 years
- Referred between 10 and 49 users
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.
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
.
I hope I understood this correctly 
- 50
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
- Australia
- Author was Featured
- Bought between 10 and 49 items
- Contributed a Tutorial to a Tuts+ Site
- Exclusive Author
- Has been a member for 4-5 years
- Item was Featured
- Most Wanted Bounty Winner
- Referred between 50 and 99 users
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.
- Sold between 50 000 and 100 000 dollars
- Author was Featured
- Author had a Free File of the Month
- Exclusive Author
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Europe
- Has been a member for 3-4 years
- Referred between 10 and 49 users
I once found some topics, but I am not sure if this is related:
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 
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Sold between 100 000 and 250 000 dollars
- Exclusive Author
- Author was Featured
- Item was Featured
- Beta Tester
- Has been a member for 3-4 years
- Spain
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.
- Attended a Community Meetup
- Community Moderator
- Has been a member for 5-6 years
- United Kingdom
- Contributed a Tutorial to a Tuts+ Site
- Won a Competition
- Contributed a Blog Post
- Beta Tester
- Bought between 50 and 99 items
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…
