Topic: Double presence of options in XML - error or not?

Hi,

Tonight it happened that I’ve accidentally put the same parameter twice in XML config:

showAutoPlayButton="true"

and SV (current 2.3 version) reported Cannot Parse Gallery XML. After deleting the second instance of the parameter SV runs OK. Is this considered to be my mistake or bug?  smile

Regards,
Rafał

Re: Double presence of options in XML - error or not?

There should be only one instance of any option in the gallery's XML file.
If you had two instances of an option with different values, SimpleViewer would not know which to use. It may use one whereas you intended for it to use the other. If there is only one instance, this ambiguity is avoided.

Steven Speirs
SimpleViewer Support Team.