Shoutbox

Shema documentation is out of date? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Shema documentation is out of date? (/showthread.php?tid=95358)

Shema documentation is out of date? by V@no on 08-30-2010 at 06:29 AM

I've spent several days before I began understand the MPL! script documentation (very bad formated and overall documentation...(compare to AutoIT script documentation) and required knowledge level is way beyond that says in the introduction)
The XML Shema says that <LeftControls> cannot contain <Attributes>
yet, in order to make a button default, it has to have <Attributes> in it:

code:
    <DialogTmpl>
        <BottomBar Style="None">
          <LeftControls>
                <Control xsi:type="ButtonControl" Id="btnSave">
                    <Position Top="3" Width="50" Left="0"/>
                    <Caption>Save</Caption>
          <Attributes><IsDefault>true</IsDefault></Attributes>
                </Control>
            </LeftControls>
        </BottomBar>
    </DialogTmpl>

It fails validation, but! it actually works...is it because documentation is out of date?
RE: Shema documentation is out of date? by Spunky on 08-30-2010 at 07:31 AM

<LeftControls> does not contain <Attributes>, <Control> does...