Yes, that was it!
The value may not be "" (empty string) when the type of attribute is expression.
Have to keep this one in mind.

A few follow up questions:

What is the meaning of
compiler.swf9.execflex
in lps.properties.

When I set it to true it seems to be invoking at least mxmlc in WEB-INF/bin (and maybe some other programs also?)
But it could not compile one font saying that:

 Error: unable to build font 'NotesFont', in line: 
[Embed(mimeType='application/x-font-truetype', 
source='/opt/prg/tomcat/apache-tomcat-6.0.18/webapps/exodus/forms/resources/edosz.ttf',
 fontName='NotesFont', 
fontWeight='plain',fontStyle='plain',advancedAntiAliasing='true')]
index.lzx: 51: : Error: Unable to transcode 
/opt/prg/tomcat/apache-tomcat-6.0.18/webapps/exodus/forms/resources/edosz.ttf, in line: . The font 
may be a bold or italic style, try adding style="bold" or "italic" attribute to 
font tag

It doesn't help if I set font style to bold or italic (and the font should be regular, although I don't know exactly what that means).
Anyway when compiler.swf9.execflex=false it gives me no problems.

Is compiler.swf9.incremental effective in swf10?
And what about other properties with swf9 in their name?
The reason I ask is that the incremental compilation does not seem faster than compilation without it. I think it was faster when I used swf9 but I might be mistaken. Also it used to crash Tomcat every third reload ...

- rami

On 26.12.2009 21:05, P T Withington wrote:
Google reveals this possible hint:

http://www.mail-archive.com/[email protected]/msg04989.html

Sorry there is no line number!  Definitely a bug.

On 2009-12-26, at 12:59, Rami Ojares / AMG wrote:

Hi,

I encountered the following error after doing a lot of changes to my source 
code.

Error: Syntax error: the attribute value ended in mid-expression.
Look for an unclosed '(', '{', or '['.


Now I can't seem to find where that error is coming from.
Any ideas how to locate the source of error (since it does not give me any clue 
about what file it originates from).

- rami

Reply via email to