[Tickets] [Orxonox] #333: Improve XML-Level-Loader

Orxonox trac at orxonox.net
Tue Jul 14 17:04:46 CEST 2009


#333: Improve XML-Level-Loader
-------------------------+--------------------------------------------------
 Reporter:  bknecht      |        Owner:  nobody                         
     Type:  enhancement  |       Status:  new                            
 Priority:  high         |    Milestone:  Version 0.2 Codename: Bellatrix
Component:  GameLoader   |      Version:  0.2.0                          
 Severity:  major        |   Resolution:                                 
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by landauf):

 I don't agree. Lua > XML, so we first parse the Lua tags in the file and
 THEN parse XML. Therefore it's ok if Lua gets parsed in this example:
 {{{
 #!xml
 <!-- <?lua end ?> -->
 }}}
 What you get is a Lua-generated XML-comment which is of course completely
 senseless, but it's not a bug. What you have to do, if you want to
 uncomment a Lua expression is the following:
 {{{
 #!xml
 <!--?lua end ?-->
 }}}
 This is the only correct way.

 You're however completely right when talking about XML-error-messages.
 They have to be improved A LOT.

-- 
Ticket URL: <http://www.orxonox.net/ticket/333#comment:1>
Orxonox <http://www.orxonox.net>
Orxonox Open Source game


More information about the Tickets mailing list