Changes between Initial Version and Version 5 of Ticket #245


Ignore:
Timestamp:
Jun 17, 2014, 5:36:43 AM (10 years ago)
Author:
historic_bruno
Comment:

r15377 added Relax NG compact and converted Relax NG XML grammars and a Perl script to validate the game's XML files. Engine integration is still a work in progress.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #245

    • Property Milestone Open Source ReleaseBacklog
  • Ticket #245 – Description

    initial v5  
    11It'd be nice to use proper validator tools to report errors in XML tools. So:
    2  * Write RelaxNG Compact schemas for all the XML formats. (See existing DTDs for GUI and terrain files.)
     2 * ~~Write RelaxNG Compact schemas for all the XML formats. (See existing DTDs for GUI and terrain files.)~~
    33 * Add a script to convert them to RelaxNG XML.
    44 * Change the CXeromyces API to accept a schema argument.
    55 * Use that schema as part of the file hash, and use it to validate the document.
    66 * Possibly refuse to load invalid documents? Or just report the error (and cache the error message in the XMB)?
    7  * Write an external tool that validates all the XML files at once.
     7 * ~~Write an external tool that validates all the XML files at once.~~