Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/_test.gui/gui/gui.rng
- This file was added.
<?xml version="1.0" encoding="UTF-8"?> | |||||
<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"> | |||||
<start> | |||||
<a:documentation/> | |||||
<!-- | |||||
NOTE: To modify this Relax NG grammar, edit the Relax NG Compact (.rnc) file | |||||
and use a converter tool like trang to generate the Relax NG XML (.rng) file | |||||
--> | |||||
<a:documentation/> | |||||
<choice> | |||||
<ref name="objects"/> | |||||
</choice> | |||||
</start> | |||||
<define name="objects"> | |||||
<element name="objects"> | |||||
<zeroOrMore> | |||||
<choice> | |||||
<ref name="script"/> | |||||
</choice> | |||||
</zeroOrMore> | |||||
</element> | |||||
</define> | |||||
<define name="script"> | |||||
<element name="script"> | |||||
<interleave> | |||||
<text/> | |||||
<optional> | |||||
<attribute name="file"/> | |||||
</optional> | |||||
<optional> | |||||
<attribute name="directory"/> | |||||
</optional> | |||||
</interleave> | |||||
</element> | |||||
</define> | |||||
</grammar> | |||||
elexis: Having two copies of these files will mean the files will become out of sync and it will be… | |||||
Done Inline ActionsMh, I will do If we want this to be separate testing data, then the irrelevant parts of the file should be deleted instead. then. The engine expects XML validation files for these, so I just copied over the ones from mod-mod and didn't give it much more thought. Note that we could re-use this mod for other GUI tests in the future, and then the syntax validation would need to be re-extended until it might look like svn's, but I guess that's a big "if". wraitii: Mh, I will do `If we want this to be separate testing data, then the irrelevant parts of the… |
Wildfire Games · Phabricator
Having two copies of these files will mean the files will become out of sync and it will be more maintenance work for future developers without benefit, am I wrong?
We ought not to have to provide a copy if Pyrogenesis engine requires the file to be identical to the existing file.
If we want this to be separate testing data, then the irrelevant parts of the file should be deleted instead.