View Single Post
  #90  
Unread 02-22-2010, 12:23 PM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

Quote:
Originally Posted by EQAditu View Post
I discovered this problem for the first time today and devised a trick to fix it in my own raid window.

Essentially the problem is that they changed something in the script interpreter/compiler which no longer allows an XML element Name to equal "Name". I would guess the problem is when you reference "Basic.Name.LocalText", you're not referencing the Attribute LocalText of the Element Name of the Element Basic... you're trying to reference the Attribute LocalText of the Attribute Name of the Element Basic. There's no such thing as an Attribute of an Attribute in XML, so the reference fails and is interpreted as a literal string.

Since you can no longer reference this Element from the outside, the data must be placed outside. In my case, I added an OnTextChanged event handler to the Name element and populated an Attribute in Basic called NameText. Then all I had to do as change my references from "Basic.Name.LocalText" to "Basic.NameText".
This just must be isolated to .LocalText only. Because mine works but I don't use .LocalText I use .Text

Any way Rothgar said he will be looking into it and fixing it as it was not a intentional change.
__________________
Landiin's EQ2MAP Updater Discussion Download

Last edited by Landiin : 02-22-2010 at 12:25 PM.
Reply With Quote