Skip to main content
Known Participant
May 15, 2009
Question

TextFilter importToFlow size limit

  • May 15, 2009
  • 1 reply
  • 1386 views

Hi

Can any one please let me know  what is the size limit for importing (Converting) xml markup to TextFlow using TextFilter.importToFlow () . If there is one, then the best suggest workaround to over come the same?

this is what i get

Error #1502: A script has executed for longer than the default timeout period of 15 seconds.

at BaseTextLayoutImporter/parseAttributes()

at flashx.textLayout.conversion::TextLayoutImporter/parseStandardFlowElementAttributes()

at flashx.textLayout.conversion::TextLayoutImporter/createSpanFromXML()

at BaseTextLayoutImporter$/parseSpan()

at BaseTextLayoutImporter/parseObject()

at BaseTextLayoutImporter/parseFlowGroupElementChildren()

at BaseTextLayoutImporter$/parsePara()

at BaseTextLayoutImporter/parseObject()

at BaseTextLayoutImporter/parseFlowGroupElementChildren()

at flashx.textLayout.conversion::TextLayoutImporter/createTextFlowFromXML()

at BaseTextLayoutImporter$/parseTextFlow()

at flashx.textLayout.conversion::TextLayoutImporter/parseContent()

at BaseTextLayoutImporter/importFromXML()

at BaseTextLayoutImporter/importToFlow()

at flashx.textLayout.conversion::TextFilter$/importToFlow()

Thanks

Raf

This topic has been closed for replies.

1 reply

Known Participant
May 15, 2009

Increasing timeout period or breaking the source XML in chunks is not a feasible option in my project. So something other then that would be more help full . 

Participating Frequently
May 15, 2009

Hi,

There is no hard limit on the size of XML markup that can be imported; the default timeout of the 15 seconds is the only constraint.

Would you be willing to share the XML you are trying to import so we can check if there are obvious measures we can take to optimize import performance?

Thanks,

Abhishek

(Adobe Systems Inc.)

Known Participant
May 15, 2009

I appreciate your help . There is nothing complicated just the size i guess 9+mb . You can get the XML from here . Also i'd like to mention this is an xml created in flex from some external source so the size issue is surely not with Flash Player .

Unfortunately because of my NDA with the company i am working for i'll not be able to share the XML publicly but if i can get your personal id we can share this over there .