On Jun 8, 2007, at 10:12 AM, Aparajita Fishman wrote:
Please, I am begging you...this applies to everyone: I really can't
do much for you with descriptions like "balked". If you want to
increase the chances of getting help, please include the following:
- The context in which the error occurred.
- Steps to reproduce the problem.
- The precise error that occurred with the exact Active4D error
message.
- Complete configuration information (Active4D & 4D version,
platform).
Thank you for your cooperation.
and
On Jun 7, 2007, at 7:58 PM, Aparajita Fishman wrote:
Am I really that bad? ;-)
Sometime yes!
I had erroneously made an assumption that html comments were not
being parsed properly in heredoc strings. Sometimes it is hard for
us to determine if the problem is ours or Active4d.
After your chewing out :-) (causing a slight medical problem), I
narrowed it down to the following, repeatable error. (--> Syntax error.)
<%
$x :=""
if ($x # "")
$foo := '''
<?xml version="1.0" encoding="UTF-8" ?>
<!-- comment
-->
<keys>
<key id="population" type="num">23456</key>
</keys>
'''
end if
%>
If your replace $x # "" with $x = "", you do not get a error. If you
have the comment on one line, you do not get an error. The if
statement with the # token followed by heredoc string with a multiple
line comment is an unusual context, but that is what I found.
Steve
(4d 2004, active4d, Active4D 4.0.3 [Mac/Mach-O, release, 4D, Client)
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/