Select to view content in your preferred language

Bookmark widget

2536
9
08-20-2010 08:45 AM
HenryMoore
Emerging Contributor
Is ther a limitation to the number of bookmarks you can use within the bookmark widget? I have an application that works fine with 69 bookmarks but I get an ERROR 1090 XML Parser failure. Element is malformed. Is there a setting I need to change in the .cfg file or somewhere else? Thanks
Tags (2)
0 Kudos
9 Replies
DasaPaddock
Esri Regular Contributor
There isn't a limit. Can you double-check that it is well formed by opening it in Firefox or IE or an XML editor?
0 Kudos
HenryMoore
Emerging Contributor
Part of the problem was using the & and : in bookmark names. I opened the bookmark widget in an html editor and eliminated all of the white spaces but I still get the same result. I can only have 68 entries. I have to comment out the rest for the widget to work.
0 Kudos
BjornSvensson
Esri Regular Contributor
Would you mind sharing the URL to your (problem) bookmark xml file, or attaching it here? The number of bookmarks in it shouldn't matter...
0 Kudos
HenryMoore
Emerging Contributor
Bjorn. I've attached a copy of the bookmark.txt file for your review. I'm new to this forum so I hope the attachment is there. Thanks
0 Kudos
MLowry
by
Frequent Contributor
I don't think your attachment worked. You can try copy pasting the .txt here in code tags.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Bjorn,

  I also have a friend that is having this issue and he has 101 bookmarks in his xml and I have verified that there is no syntax error in the xml. What is happening is that the mx repeater is taking longer than the 15 timeout default that flash player has for scripts to run and then it just bombs with several different errors depending on where it gets to in the rendering. So there definitely seems like there is a limit to the amount of data the bookmark widget can use.
0 Kudos
BjornSvensson
Esri Regular Contributor
Aha, are you talking about the old Sample flex viewer 1.3?

I've tested FV2 (ArcGIS Viewer for Flex 2 beta) and it worked just fine with 10,000 bookmarks (I didn't test more than that).
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Bjorn,

   Yep FlexViewer 2.0 is using DataGroup so it does not have an issue so TreeNinja you must be using 1.3 also right?
0 Kudos
HenryMoore
Emerging Contributor
Afraid so.
0 Kudos