[Tickets] [Orxonox] #427: XML parser: No warning fo unknown attributes

Orxonox trac at orxonox.net
Thu Mar 17 16:01:22 CET 2016


#427: XML parser: No warning fo unknown attributes
--------------------------+-------------------------------------------------
 Reporter:  fvultier      |       Owner:  nobody                        
     Type:  task          |      Status:  new                           
 Priority:  low           |   Milestone:  Version 0.1 Codename: Arcturus
Component:  ScriptEngine  |     Version:  0.0.4                         
 Severity:  normal        |    Keywords:  XML                           
--------------------------+-------------------------------------------------
 It is legal now to assign a unknown attribute to a object in a level file.
 E.g. the following code is legal and gets parsed without a warning or
 error, but the SpawnPoint has no attribute called "asdf"

 {{{
 #!xml
 <SpawnPoint asdf="uuu" team=0 position="-200,0,0" lookat="0,0,0"
 spawnclass=SpaceShip pawndesign=spaceshipescort />
 }}}

-- 
Ticket URL: <www.orxonox.net/ticket/427>
Orxonox <http://www.orxonox.net>
Orxonox Open Source game



More information about the Tickets mailing list