Gordon, Darrell,

I was porting the FlexStore example to FlexJS and made some mistakes that
I think the compiler should have caught.  The file is posted below.  Note
the extra ³>² on the line above the fx:Script block, and another extra
³/>² after the closing basic:Image tag at the end.

The compiler did not report an error.  Instead, it treated each mistake as
a String entry in the default property (in this case mxmlContent).  In my
poking around, it looks like each MXML file is visited twice: Once by some
RawMXMLTokenizer which breaks the MXML file into tokens, and again by
MXMLTreeBuilder.  The RawMXMLTokenizer did not return a token for ³>².
Instead it included the ³>² in a TEXT block that included everything
between the closing of the style token on the line above and the fx:Script
token.  I don¹t know how to fix the tokenizers, but shouldn¹t it have
returned a token for ³>²?  I didn¹t keep going to see what it for the ³/>²
but I would guess the same.

Thoughts on how to fix this?

Thanks,
-Alex

---------
<basic:VContainer xmlns:fx="http://ns.adobe.com/mxml/2009";
                  xmlns:basic="library://ns.apache.org/flexjs/basic"
                  xmlns:mx="library://ns.adobe.com/flex/mx" width="17"
height="100%" >
    <basic:style>
        <basic:SimpleCSSStyles paddingTop="10" horizontalAlign="center" />
    </basic:style>
        >
    <fx:Script>
        <![CDATA[
           [Bindable]
           public var gripTip:String;
           
           [Bindable]
           public var gripIcon:String;
        ]]>
    </fx:Script>

    <basic:Image source="{gripIcon}" />
    <basic:Image source="assets/grip.png" >
        <basic:beads>
            <basic:ToolTipBead toolTip="{gripTip}" />
        </basic:beads>
    </basic:Image> />
    
</basic:VContainer>



Reply via email to