SkinParser incorrectly treats spincontrol subitems if they start with numbers (1 Viewer)

ideasdigger

Portal Member
December 4, 2005
23
2
Boston
Home Country
United States of America United States of America
When my spincontrol contains sub-items which start with numbers, it fails to parse it as text but tries to use the strings.xml to translate it. If I prepend the string with any letter (even '.') it works correctly.

Example:

<control>
<type>spincontrol</type>
<description>Reminder Spin</description>
<id>24</id>
<posX>160</posX>
<posY>135</posY>
<width>16</width>
<height>16</height>
<spintype>disc</spintype>
<subitems>
<subitem>None</subitem> <!-- OK -->
<subitem>0 min</subitem> <!-- Fails - nothing shown on the form -->
<subitem>5 min</subitem>
<subitem>10 min</subitem>
</subitems>
<showrange>no</showrange>
<onleft>22</onleft>
<onright>50</onright>
</control>
 

rtv

Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    Yes - I guess the workaround was adding a space instead - this does not only apply for spincontrols ;)
     

    ideasdigger

    Portal Member
    December 4, 2005
    23
    2
    Boston
    Home Country
    United States of America United States of America
    Yep. Checked - it is working with spaces, but I still beleive we can add it as a bug to the system, don't we?

    BTW: Who is in charge of openning the bugs?

    Still I have problems with the spin controls - the Values are not matching the lables as they are added (going to open a bug on that too).
     

    Users who are viewing this thread

    Top Bottom