[FlexJS XML]

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

[FlexJS XML]

Harbs
TLF was missing EditManager. I added that, but it required XML as well, so I added XMLJS to the list of depenedencies.

After fixing an issue with appendChild() I’m currently getting a number of errors:
https://paste.apache.org/73uW

Basically, they fall into two categories:
1. some_xml.@someattribute = some_value gets an error that someattribute is undefined.
2. Attempted access of inaccessible method toString through a reference with static type Error.

Any ideas here?

Harbs
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS XML]

Alex Harui
Is this the SWF or JS compile?  Where do the definitions for XML and Error
come from?  JS.swc, playerglobal?

Did you try -compiler.strict-xml true and false?

Thanks,
-Alex

On 4/18/17, 10:29 PM, "Harbs" <[hidden email]> wrote:

>TLF was missing EditManager. I added that, but it required XML as well,
>so I added XMLJS to the list of depenedencies.
>
>After fixing an issue with appendChild() I’m currently getting a number
>of errors:
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2F73uW&data=02%7C01%7C%7Ccdc125b47a9641a0699d08d486e51999%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636281765918578149&sdata=lGeWSLtMI00o
>MnXOWAL4be%2FJJpWHF2Sty4BVW%2BDb%2BUo%3D&reserved=0
>
>Basically, they fall into two categories:
>1. some_xml.@someattribute = some_value gets an error that someattribute
>is undefined.
>2. Attempted access of inaccessible method toString through a reference
>with static type Error.
>
>Any ideas here?
>
>Harbs

Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS XML]

Harbs
JS compile.

I added the following to the library-paths:
                <path-element>../../../../../libs/XMLJS.swc</path-element>

-compiler.strict-xml is set to true.

I tried changing it to false and it did not help.

> On Apr 19, 2017, at 1:48 AM, Alex Harui <[hidden email]> wrote:
>
> Is this the SWF or JS compile?  Where do the definitions for XML and Error
> come from?  JS.swc, playerglobal?
>
> Did you try -compiler.strict-xml true and false?
>
> Thanks,
> -Alex
>
> On 4/18/17, 10:29 PM, "Harbs" <[hidden email]> wrote:
>
>> TLF was missing EditManager. I added that, but it required XML as well,
>> so I added XMLJS to the list of depenedencies.
>>
>> After fixing an issue with appendChild() I’m currently getting a number
>> of errors:
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>> che.org%2F73uW&data=02%7C01%7C%7Ccdc125b47a9641a0699d08d486e51999%7Cfa7b1b
>> 5a7b34438794aed2c178decee1%7C0%7C0%7C636281765918578149&sdata=lGeWSLtMI00o
>> MnXOWAL4be%2FJJpWHF2Sty4BVW%2BDb%2BUo%3D&reserved=0
>>
>> Basically, they fall into two categories:
>> 1. some_xml.@someattribute = some_value gets an error that someattribute
>> is undefined.
>> 2. Attempted access of inaccessible method toString through a reference
>> with static type Error.
>>
>> Any ideas here?
>>
>> Harbs
>

Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS XML]

Harbs
I have committed my changes to the tlf branch. Theoretically, you should get the same errors when trying to compile TLF.

> On Apr 19, 2017, at 1:54 AM, Harbs <[hidden email]> wrote:
>
> JS compile.
>
> I added the following to the library-paths:
>                <path-element>../../../../../libs/XMLJS.swc</path-element>
>
> -compiler.strict-xml is set to true.
>
> I tried changing it to false and it did not help.
>
>> On Apr 19, 2017, at 1:48 AM, Alex Harui <[hidden email]> wrote:
>>
>> Is this the SWF or JS compile?  Where do the definitions for XML and Error
>> come from?  JS.swc, playerglobal?
>>
>> Did you try -compiler.strict-xml true and false?
>>
>> Thanks,
>> -Alex
>>
>> On 4/18/17, 10:29 PM, "Harbs" <[hidden email]> wrote:
>>
>>> TLF was missing EditManager. I added that, but it required XML as well,
>>> so I added XMLJS to the list of depenedencies.
>>>
>>> After fixing an issue with appendChild() I’m currently getting a number
>>> of errors:
>>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>>> che.org%2F73uW&data=02%7C01%7C%7Ccdc125b47a9641a0699d08d486e51999%7Cfa7b1b
>>> 5a7b34438794aed2c178decee1%7C0%7C0%7C636281765918578149&sdata=lGeWSLtMI00o
>>> MnXOWAL4be%2FJJpWHF2Sty4BVW%2BDb%2BUo%3D&reserved=0
>>>
>>> Basically, they fall into two categories:
>>> 1. some_xml.@someattribute = some_value gets an error that someattribute
>>> is undefined.
>>> 2. Attempted access of inaccessible method toString through a reference
>>> with static type Error.
>>>
>>> Any ideas here?
>>>
>>> Harbs
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS XML]

Alex Harui
I got an error looking for FactoryBackgroundManager.  Am I doing something
wrong?

-Alex

On 4/18/17, 10:57 PM, "Harbs" <[hidden email]> wrote:

>I have committed my changes to the tlf branch. Theoretically, you should
>get the same errors when trying to compile TLF.
>
>> On Apr 19, 2017, at 1:54 AM, Harbs <[hidden email]> wrote:
>>
>> JS compile.
>>
>> I added the following to the library-paths:
>>                
>><path-element>../../../../../libs/XMLJS.swc</path-element>
>>
>> -compiler.strict-xml is set to true.
>>
>> I tried changing it to false and it did not help.
>>
>>> On Apr 19, 2017, at 1:48 AM, Alex Harui <[hidden email]> wrote:
>>>
>>> Is this the SWF or JS compile?  Where do the definitions for XML and
>>>Error
>>> come from?  JS.swc, playerglobal?
>>>
>>> Did you try -compiler.strict-xml true and false?
>>>
>>> Thanks,
>>> -Alex
>>>
>>> On 4/18/17, 10:29 PM, "Harbs" <[hidden email]> wrote:
>>>
>>>> TLF was missing EditManager. I added that, but it required XML as
>>>>well,
>>>> so I added XMLJS to the list of depenedencies.
>>>>
>>>> After fixing an issue with appendChild() I’m currently getting a
>>>>number
>>>> of errors:
>>>>
>>>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.
>>>>apa
>>>>
>>>>che.org%2F73uW&data=02%7C01%7C%7Ccdc125b47a9641a0699d08d486e51999%7Cfa7
>>>>b1b
>>>>
>>>>5a7b34438794aed2c178decee1%7C0%7C0%7C636281765918578149&sdata=lGeWSLtMI
>>>>00o
>>>> MnXOWAL4be%2FJJpWHF2Sty4BVW%2BDb%2BUo%3D&reserved=0
>>>>
>>>> Basically, they fall into two categories:
>>>> 1. some_xml.@someattribute = some_value gets an error that
>>>>someattribute
>>>> is undefined.
>>>> 2. Attempted access of inaccessible method toString through a
>>>>reference
>>>> with static type Error.
>>>>
>>>> Any ideas here?
>>>>
>>>> Harbs
>>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS XML]

Harbs
I’m not sure why you’d be getting that error.

I’m done for the day.

> On Apr 19, 2017, at 2:48 AM, Alex Harui <[hidden email]> wrote:
>
> I got an error looking for FactoryBackgroundManager.  Am I doing something
> wrong?
>
> -Alex
>
> On 4/18/17, 10:57 PM, "Harbs" <[hidden email]> wrote:
>
>> I have committed my changes to the tlf branch. Theoretically, you should
>> get the same errors when trying to compile TLF.
>>
>>> On Apr 19, 2017, at 1:54 AM, Harbs <[hidden email]> wrote:
>>>
>>> JS compile.
>>>
>>> I added the following to the library-paths:
>>>
>>> <path-element>../../../../../libs/XMLJS.swc</path-element>
>>>
>>> -compiler.strict-xml is set to true.
>>>
>>> I tried changing it to false and it did not help.
>>>
>>>> On Apr 19, 2017, at 1:48 AM, Alex Harui <[hidden email]> wrote:
>>>>
>>>> Is this the SWF or JS compile?  Where do the definitions for XML and
>>>> Error
>>>> come from?  JS.swc, playerglobal?
>>>>
>>>> Did you try -compiler.strict-xml true and false?
>>>>
>>>> Thanks,
>>>> -Alex
>>>>
>>>> On 4/18/17, 10:29 PM, "Harbs" <[hidden email]> wrote:
>>>>
>>>>> TLF was missing EditManager. I added that, but it required XML as
>>>>> well,
>>>>> so I added XMLJS to the list of depenedencies.
>>>>>
>>>>> After fixing an issue with appendChild() I’m currently getting a
>>>>> number
>>>>> of errors:
>>>>>
>>>>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.
>>>>> apa
>>>>>
>>>>> che.org%2F73uW&data=02%7C01%7C%7Ccdc125b47a9641a0699d08d486e51999%7Cfa7
>>>>> b1b
>>>>>
>>>>> 5a7b34438794aed2c178decee1%7C0%7C0%7C636281765918578149&sdata=lGeWSLtMI
>>>>> 00o
>>>>> MnXOWAL4be%2FJJpWHF2Sty4BVW%2BDb%2BUo%3D&reserved=0
>>>>>
>>>>> Basically, they fall into two categories:
>>>>> 1. some_xml.@someattribute = some_value gets an error that
>>>>> someattribute
>>>>> is undefined.
>>>>> 2. Attempted access of inaccessible method toString through a
>>>>> reference
>>>>> with static type Error.
>>>>>
>>>>> Any ideas here?
>>>>>
>>>>> Harbs
>>>>
>>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS XML]

Alex Harui
I cannot find a FactoryBackgroundManager.as.  Should there be one?
FactoryComposer is looking for it.

-Alex

On 4/18/17, 11:50 PM, "Harbs" <[hidden email]> wrote:

>I’m not sure why you’d be getting that error.
>
>I’m done for the day.
>
>> On Apr 19, 2017, at 2:48 AM, Alex Harui <[hidden email]> wrote:
>>
>> I got an error looking for FactoryBackgroundManager.  Am I doing
>>something
>> wrong?
>>
>> -Alex
>>
>> On 4/18/17, 10:57 PM, "Harbs" <[hidden email]> wrote:
>>
>>> I have committed my changes to the tlf branch. Theoretically, you
>>>should
>>> get the same errors when trying to compile TLF.
>>>
>>>> On Apr 19, 2017, at 1:54 AM, Harbs <[hidden email]> wrote:
>>>>
>>>> JS compile.
>>>>
>>>> I added the following to the library-paths:
>>>>
>>>> <path-element>../../../../../libs/XMLJS.swc</path-element>
>>>>
>>>> -compiler.strict-xml is set to true.
>>>>
>>>> I tried changing it to false and it did not help.
>>>>
>>>>> On Apr 19, 2017, at 1:48 AM, Alex Harui <[hidden email]> wrote:
>>>>>
>>>>> Is this the SWF or JS compile?  Where do the definitions for XML and
>>>>> Error
>>>>> come from?  JS.swc, playerglobal?
>>>>>
>>>>> Did you try -compiler.strict-xml true and false?
>>>>>
>>>>> Thanks,
>>>>> -Alex
>>>>>
>>>>> On 4/18/17, 10:29 PM, "Harbs" <[hidden email]> wrote:
>>>>>
>>>>>> TLF was missing EditManager. I added that, but it required XML as
>>>>>> well,
>>>>>> so I added XMLJS to the list of depenedencies.
>>>>>>
>>>>>> After fixing an issue with appendChild() I’m currently getting a
>>>>>> number
>>>>>> of errors:
>>>>>>
>>>>>>
>>>>>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpast
>>>>>>e.
>>>>>> apa
>>>>>>
>>>>>>
>>>>>>che.org%2F73uW&data=02%7C01%7C%7Ccdc125b47a9641a0699d08d486e51999%7Cf
>>>>>>a7
>>>>>> b1b
>>>>>>
>>>>>>
>>>>>>5a7b34438794aed2c178decee1%7C0%7C0%7C636281765918578149&sdata=lGeWSLt
>>>>>>MI
>>>>>> 00o
>>>>>> MnXOWAL4be%2FJJpWHF2Sty4BVW%2BDb%2BUo%3D&reserved=0
>>>>>>
>>>>>> Basically, they fall into two categories:
>>>>>> 1. some_xml.@someattribute = some_value gets an error that
>>>>>> someattribute
>>>>>> is undefined.
>>>>>> 2. Attempted access of inaccessible method toString through a
>>>>>> reference
>>>>>> with static type Error.
>>>>>>
>>>>>> Any ideas here?
>>>>>>
>>>>>> Harbs
>>>>>
>>>>
>>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS XML]

Harbs
Yes there should it’s located in:
org.apache.flex.textLayout.factory.FactoryBackgroundManager and it extends BackgroundManager.

> On Apr 19, 2017, at 2:56 AM, Alex Harui <[hidden email]> wrote:
>
> I cannot find a FactoryBackgroundManager.as.  Should there be one?
> FactoryComposer is looking for it.
>
> -Alex
>
> On 4/18/17, 11:50 PM, "Harbs" <[hidden email]> wrote:
>
>> I’m not sure why you’d be getting that error.
>>
>> I’m done for the day.
>>
>>> On Apr 19, 2017, at 2:48 AM, Alex Harui <[hidden email]> wrote:
>>>
>>> I got an error looking for FactoryBackgroundManager.  Am I doing
>>> something
>>> wrong?
>>>
>>> -Alex
>>>
>>> On 4/18/17, 10:57 PM, "Harbs" <[hidden email]> wrote:
>>>
>>>> I have committed my changes to the tlf branch. Theoretically, you
>>>> should
>>>> get the same errors when trying to compile TLF.
>>>>
>>>>> On Apr 19, 2017, at 1:54 AM, Harbs <[hidden email]> wrote:
>>>>>
>>>>> JS compile.
>>>>>
>>>>> I added the following to the library-paths:
>>>>>
>>>>> <path-element>../../../../../libs/XMLJS.swc</path-element>
>>>>>
>>>>> -compiler.strict-xml is set to true.
>>>>>
>>>>> I tried changing it to false and it did not help.
>>>>>
>>>>>> On Apr 19, 2017, at 1:48 AM, Alex Harui <[hidden email]> wrote:
>>>>>>
>>>>>> Is this the SWF or JS compile?  Where do the definitions for XML and
>>>>>> Error
>>>>>> come from?  JS.swc, playerglobal?
>>>>>>
>>>>>> Did you try -compiler.strict-xml true and false?
>>>>>>
>>>>>> Thanks,
>>>>>> -Alex
>>>>>>
>>>>>> On 4/18/17, 10:29 PM, "Harbs" <[hidden email]> wrote:
>>>>>>
>>>>>>> TLF was missing EditManager. I added that, but it required XML as
>>>>>>> well,
>>>>>>> so I added XMLJS to the list of depenedencies.
>>>>>>>
>>>>>>> After fixing an issue with appendChild() I’m currently getting a
>>>>>>> number
>>>>>>> of errors:
>>>>>>>
>>>>>>>
>>>>>>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpast
>>>>>>> e.
>>>>>>> apa
>>>>>>>
>>>>>>>
>>>>>>> che.org%2F73uW&data=02%7C01%7C%7Ccdc125b47a9641a0699d08d486e51999%7Cf
>>>>>>> a7
>>>>>>> b1b
>>>>>>>
>>>>>>>
>>>>>>> 5a7b34438794aed2c178decee1%7C0%7C0%7C636281765918578149&sdata=lGeWSLt
>>>>>>> MI
>>>>>>> 00o
>>>>>>> MnXOWAL4be%2FJJpWHF2Sty4BVW%2BDb%2BUo%3D&reserved=0
>>>>>>>
>>>>>>> Basically, they fall into two categories:
>>>>>>> 1. some_xml.@someattribute = some_value gets an error that
>>>>>>> someattribute
>>>>>>> is undefined.
>>>>>>> 2. Attempted access of inaccessible method toString through a
>>>>>>> reference
>>>>>>> with static type Error.
>>>>>>>
>>>>>>> Any ideas here?
>>>>>>>
>>>>>>> Harbs
>>>>>>
>>>>>
>>>>
>>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS XML]

Harbs
Huh.

It seems like it was not committed.

I just committed it.

Sorry about that.

> On Apr 19, 2017, at 2:58 AM, Harbs <[hidden email]> wrote:
>
> Yes there should it’s located in:
> org.apache.flex.textLayout.factory.FactoryBackgroundManager and it extends BackgroundManager.
>
>> On Apr 19, 2017, at 2:56 AM, Alex Harui <[hidden email]> wrote:
>>
>> I cannot find a FactoryBackgroundManager.as.  Should there be one?
>> FactoryComposer is looking for it.
>>
>> -Alex
>>
>> On 4/18/17, 11:50 PM, "Harbs" <[hidden email]> wrote:
>>
>>> I’m not sure why you’d be getting that error.
>>>
>>> I’m done for the day.
>>>
>>>> On Apr 19, 2017, at 2:48 AM, Alex Harui <[hidden email]> wrote:
>>>>
>>>> I got an error looking for FactoryBackgroundManager.  Am I doing
>>>> something
>>>> wrong?
>>>>
>>>> -Alex
>>>>
>>>> On 4/18/17, 10:57 PM, "Harbs" <[hidden email]> wrote:
>>>>
>>>>> I have committed my changes to the tlf branch. Theoretically, you
>>>>> should
>>>>> get the same errors when trying to compile TLF.
>>>>>
>>>>>> On Apr 19, 2017, at 1:54 AM, Harbs <[hidden email]> wrote:
>>>>>>
>>>>>> JS compile.
>>>>>>
>>>>>> I added the following to the library-paths:
>>>>>>
>>>>>> <path-element>../../../../../libs/XMLJS.swc</path-element>
>>>>>>
>>>>>> -compiler.strict-xml is set to true.
>>>>>>
>>>>>> I tried changing it to false and it did not help.
>>>>>>
>>>>>>> On Apr 19, 2017, at 1:48 AM, Alex Harui <[hidden email]> wrote:
>>>>>>>
>>>>>>> Is this the SWF or JS compile?  Where do the definitions for XML and
>>>>>>> Error
>>>>>>> come from?  JS.swc, playerglobal?
>>>>>>>
>>>>>>> Did you try -compiler.strict-xml true and false?
>>>>>>>
>>>>>>> Thanks,
>>>>>>> -Alex
>>>>>>>
>>>>>>> On 4/18/17, 10:29 PM, "Harbs" <[hidden email]> wrote:
>>>>>>>
>>>>>>>> TLF was missing EditManager. I added that, but it required XML as
>>>>>>>> well,
>>>>>>>> so I added XMLJS to the list of depenedencies.
>>>>>>>>
>>>>>>>> After fixing an issue with appendChild() I’m currently getting a
>>>>>>>> number
>>>>>>>> of errors:
>>>>>>>>
>>>>>>>>
>>>>>>>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpast
>>>>>>>> e.
>>>>>>>> apa
>>>>>>>>
>>>>>>>>
>>>>>>>> che.org%2F73uW&data=02%7C01%7C%7Ccdc125b47a9641a0699d08d486e51999%7Cf
>>>>>>>> a7
>>>>>>>> b1b
>>>>>>>>
>>>>>>>>
>>>>>>>> 5a7b34438794aed2c178decee1%7C0%7C0%7C636281765918578149&sdata=lGeWSLt
>>>>>>>> MI
>>>>>>>> 00o
>>>>>>>> MnXOWAL4be%2FJJpWHF2Sty4BVW%2BDb%2BUo%3D&reserved=0
>>>>>>>>
>>>>>>>> Basically, they fall into two categories:
>>>>>>>> 1. some_xml.@someattribute = some_value gets an error that
>>>>>>>> someattribute
>>>>>>>> is undefined.
>>>>>>>> 2. Attempted access of inaccessible method toString through a
>>>>>>>> reference
>>>>>>>> with static type Error.
>>>>>>>>
>>>>>>>> Any ideas here?
>>>>>>>>
>>>>>>>> Harbs
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS XML]

Alex Harui
I just pushed a change to handle the @prop cases.

I'm not seeing the errors with the Error class, and I am seeing other
potential issues where XML.appendChild might have the parameter typed as
XML.

HTH,
-Alex

On 4/19/17, 12:00 AM, "Harbs" <[hidden email]> wrote:

>Huh.
>
>It seems like it was not committed.
>
>I just committed it.
>
>Sorry about that.
>
>> On Apr 19, 2017, at 2:58 AM, Harbs <[hidden email]> wrote:
>>
>> Yes there should it’s located in:
>> org.apache.flex.textLayout.factory.FactoryBackgroundManager and it
>>extends BackgroundManager.
>>
>>> On Apr 19, 2017, at 2:56 AM, Alex Harui <[hidden email]> wrote:
>>>
>>> I cannot find a FactoryBackgroundManager.as.  Should there be one?
>>> FactoryComposer is looking for it.
>>>
>>> -Alex
>>>
>>> On 4/18/17, 11:50 PM, "Harbs" <[hidden email]> wrote:
>>>
>>>> I’m not sure why you’d be getting that error.
>>>>
>>>> I’m done for the day.
>>>>
>>>>> On Apr 19, 2017, at 2:48 AM, Alex Harui <[hidden email]> wrote:
>>>>>
>>>>> I got an error looking for FactoryBackgroundManager.  Am I doing
>>>>> something
>>>>> wrong?
>>>>>
>>>>> -Alex
>>>>>
>>>>> On 4/18/17, 10:57 PM, "Harbs" <[hidden email]> wrote:
>>>>>
>>>>>> I have committed my changes to the tlf branch. Theoretically, you
>>>>>> should
>>>>>> get the same errors when trying to compile TLF.
>>>>>>
>>>>>>> On Apr 19, 2017, at 1:54 AM, Harbs <[hidden email]> wrote:
>>>>>>>
>>>>>>> JS compile.
>>>>>>>
>>>>>>> I added the following to the library-paths:
>>>>>>>
>>>>>>> <path-element>../../../../../libs/XMLJS.swc</path-element>
>>>>>>>
>>>>>>> -compiler.strict-xml is set to true.
>>>>>>>
>>>>>>> I tried changing it to false and it did not help.
>>>>>>>
>>>>>>>> On Apr 19, 2017, at 1:48 AM, Alex Harui <[hidden email]> wrote:
>>>>>>>>
>>>>>>>> Is this the SWF or JS compile?  Where do the definitions for XML
>>>>>>>>and
>>>>>>>> Error
>>>>>>>> come from?  JS.swc, playerglobal?
>>>>>>>>
>>>>>>>> Did you try -compiler.strict-xml true and false?
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> -Alex
>>>>>>>>
>>>>>>>> On 4/18/17, 10:29 PM, "Harbs" <[hidden email]> wrote:
>>>>>>>>
>>>>>>>>> TLF was missing EditManager. I added that, but it required XML as
>>>>>>>>> well,
>>>>>>>>> so I added XMLJS to the list of depenedencies.
>>>>>>>>>
>>>>>>>>> After fixing an issue with appendChild() I’m currently getting a
>>>>>>>>> number
>>>>>>>>> of errors:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fp
>>>>>>>>>ast
>>>>>>>>> e.
>>>>>>>>> apa
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>che.org%2F73uW&data=02%7C01%7C%7Ccdc125b47a9641a0699d08d486e51999%
>>>>>>>>>7Cf
>>>>>>>>> a7
>>>>>>>>> b1b
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>5a7b34438794aed2c178decee1%7C0%7C0%7C636281765918578149&sdata=lGeW
>>>>>>>>>SLt
>>>>>>>>> MI
>>>>>>>>> 00o
>>>>>>>>> MnXOWAL4be%2FJJpWHF2Sty4BVW%2BDb%2BUo%3D&reserved=0
>>>>>>>>>
>>>>>>>>> Basically, they fall into two categories:
>>>>>>>>> 1. some_xml.@someattribute = some_value gets an error that
>>>>>>>>> someattribute
>>>>>>>>> is undefined.
>>>>>>>>> 2. Attempted access of inaccessible method toString through a
>>>>>>>>> reference
>>>>>>>>> with static type Error.
>>>>>>>>>
>>>>>>>>> Any ideas here?
>>>>>>>>>
>>>>>>>>> Harbs
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS XML]

Harbs

> On Apr 20, 2017, at 2:24 AM, Alex Harui <[hidden email]> wrote:
>
> I just pushed a change to handle the @prop cases.

Thanks. I’ll give it a spin.

> I'm not seeing the errors with the Error class, and I am seeing other
> potential issues where XML.appendChild might have the parameter typed as
> XML.

What issues? If the type is XML, it should work exactly as it did before. (XML is JS is just an “object”.)

Thanks,
Harbs
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS XML]

Harbs

> On Apr 20, 2017, at 6:20 AM, Harbs <[hidden email]> wrote:
>
>> I just pushed a change to handle the @prop cases.
>
@prop cases are working. Thanks.

> Thanks. I’ll give it a spin.
>
>> I'm not seeing the errors with the Error class,

I’m still getting this.

I just pushed a change to the tlf branch where I commented out the toString() because that’s the only way it would compile for me.
Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS XML]

Alex Harui


On 4/20/17, 4:01 AM, "Harbs" <[hidden email]> wrote:

>
>> On Apr 20, 2017, at 6:20 AM, Harbs <[hidden email]> wrote:
>>
>>> I just pushed a change to handle the @prop cases.
>>
>@prop cases are working. Thanks.
>
>> Thanks. I’ll give it a spin.
>>
>>> I'm not seeing the errors with the Error class,
>
>I’m still getting this.
>
>I just pushed a change to the tlf branch where I commented out the
>toString() because that’s the only way it would compile for me.

My bad.  I see it now.  It was buried in the other output.  I'll take a
look.

-Alex

Reply | Threaded
Open this post in threaded view
|

Re: [FlexJS XML]

Alex Harui


On 4/20/17, 9:06 AM, "Alex Harui" <[hidden email]> wrote:


>My bad.  I see it now.  It was buried in the other output.  I'll take a
>look.

I pushed changes to flex-typedefs to fix the Error.toString() issue.

-Alex