What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Bug Reports » Bug in XML Parsing

Bug in XML Parsing
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
O.P. Bug in XML Parsing
I am not sure if this is a bug or if its a limitation.

Take these two pieces of code each just arranged differently.

code:
                <Color><GlobalColor>ref</GlobalColor></Color>
                <Font>
                    <Bold>True</Bold>
                    <Size>12</Size>
                </Font>

code:
                <Font>
                    <Bold>True</Bold>
                    <Size>12</Size>
                </Font>
                <Color><GlobalColor>ref</GlobalColor></Color>

Now by looking at both of these they look the same and would provide the same effect. However that is incorrect. The latter of these two examples will set ONLY the colour not the font style the first example will change the colour and as well change the font style. If this is a limitation ok however if its a bug the way Plus! creates the Windows then it needs to be fixed.
07-28-2006 06:07 AM
Profile E-Mail PM Find Quote Report
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: Bug in XML Parsing
This is not a bug or a limitation, this is simply how XML fiels linked to schemas work. Most element childs in my schemas are sequences which means that the elements must be declared in order. In case of doubt, always try to validate your xml file against the xsd before feeding it to Messenger Plus! :)
[Image: signature2.gif]
07-29-2006 05:49 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On