Change 20100525-ptw-1 by [email protected] on 2010-05-25 09:56:35 EDT in /Users/ptw/OpenLaszlo/trunk-2 for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Correct quoting of string-typed attributes Bugs Fixed: LPP-9027 pattern attribute on text doesn't work as expected in trunk Technical Reviewer: [email protected] (pending) QA Reviewer: [email protected] (pending) Details: lztest-node: Added tests to verify that setting a string attribute using a literal or expression is the same as setting an expression attribute to a literal string using the failing pattern from the bug (which verifies the use of \u escapes to specify unicode characters works). NodeModel: Before you quote a string literal, be sure to parse it as an ECMAScript string literal (so that the ECMA \-escapes are properly interpolated). Tests: ant lztest with new node attribute tests Files: M test/lztest/lztest-node.lzx M WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20100525-ptw-1.tar
