PDA

View Full Version : "Quality" XML parser bug?!?!?


Scott Witte
09-12-2007, 12:13 AM
Denis,

This gave me a couple days of total "enjoyment" figuring out: There seems to be a bug in the XML parser. It can be demonstrated with the panorama parameter, "qualityStatic = best" as in

<panorama>
<parameters>
qualityStatic = best
</parameters>
</panorama>

With NO spaces after best it behaves as expected. With at least one to four trailing spaces it sets qualityStatic to low. If you enter the parameter "qualtyMotion = low" on the next line it also is reversed, acting as if it were set to high. Remove the trailing spaces after "best " and both static and motion behave as they should.

I don't know if this applies to other values or parameters. I'll let you have the fun figuring all that out. It worries me that this may not be an isolated case.