From: Freek D. <sf_...@ma...> - 2010-01-20 16:20:16
|
Rick Westerman wrote: >> Other than requiring a lot of tedious XML editing, it's easy to >> support, so I see no reason not to add it. Rick Westerman tutored: > The problem with tedious (and repetitive) XML is that it leads to > tedious and much harder debugging. [...] > <Tile id="1" quantity="1" unlimited="-1"> > > Or better yet only exceptions to the rule if a given tile is not > suppose to be unlimited. > > <Tile id="4" quantity="2" nounlimited> I propose to revert my suggested changes, and I come up with an alternative patch that does exactly this in Java when I have some time. That shouldn't be too hard (even with my limited Java skills). Are there preferences: 1. add support the unlimited="-1" attribute as above 2. add support the nounlimited attribute as above 3. don't add an attribute. Unlimited is unlimited. Regards, Freek |