ESTK CDATA parse problem

Discussion of actual or possible Bugs, Anomalies and Documentation Errors

Moderators: xbytor, DavideBarranca, Paul MR

xbytor

ESTK CDATA parse problem

Postby xbytor » Mon Aug 29, 2011 4:33 am

I filed this with Adobe.

Problem Description:

A script with the CDATA end token ]]> in either a string literal or in a comment cannot be launched from with ESTK. Attempting to do so will lock up ESTK requiring a restart. This makes debugging scripts with a <javascriptresource> block that includes a terminology dictionary problematic.


Steps to Reproduce:
Save the following to a jsx file, open the file in ESTK, and hit the Run button.

#target photoshop
"]]>";
$.writeln("done");

Actual Result:

ESTK locks up requiring a restart.

Expected Result:

"done" should be written to the ESTK JS console.

Any Workarounds:
In the string literal case, the token can be split: "]]" + ">";
In the comment case, the only workaround is to remove the token.



Return to “Flex, Flash & CS SDK Bugs and Anomalies”

Who is online

Users browsing this forum: No registered users and 1 guest