Author Topic: Very small bug/mistype  (Read 4357 times)

topmo3

  • Helper
  • Shoot
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 23
Very small bug/mistype
« on: February 15, 2009, 06:20:19 PM »
small mistype in file Resources\level2.level line 52 in Dyson 1.10:
wrong xml tag closing (grace attribute out of ateroid tag)?

  <asteroid pos="-4500,2500" attribs="0.5,0.2,0.9"  owner="3" trees="1,0" seedlings="15"  static="false"/> grace="900"/>

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 14
  • Posts: 1,035
Re: Very small bug/mistype
« Reply #1 on: February 15, 2009, 10:43:11 PM »
Looks like it - thanks! (i wonder why that loads without breaking)

wogan

  • Guest
Re: Very small bug/mistype
« Reply #2 on: February 16, 2009, 01:34:24 AM »
Looks like it - thanks! (i wonder why that loads without breaking)

.NET isn't a klutz when it comes to misformed xml, just like Firefox will happily render webpages with < and />s missing :)

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 14
  • Posts: 1,035
Re: Very small bug/mistype
« Reply #3 on: February 16, 2009, 01:37:18 AM »
Good to know :)

wogan

  • Guest
Re: Very small bug/mistype
« Reply #4 on: February 16, 2009, 02:06:44 AM »
Good to know :)

That being said, it's a better idea to keep your xml well formed, lol...