[messages] [Developers] Design of property and piece XML for V4

uckelman uckelman at nomic.net
Thu Sep 13 15:17:47 MST 2012


Code:

  <img>{FRONT}</img>



My reason for having no contents for img elements is that they're all
intended to be references to images defined elsewhere.


Code:

  <property type="int" id="movement allowance">4</property>



How would you validate that the contents of property elements are the
correct type this way? Ainulindale brought this up over IRC this
evening.


"alitur" wrote:
> 
> I will list my notes here:
> 
> - xml declaration at the top
> - Namespace (xmlns) should be defined. It keeps the format in shape
> and xml validation is easy.
> 
> 
> 
> 

Agreed, we've been omitting these to keep extraneous noise out of the
examples.

_______________________________________________
Read this topic online here:
http://www.vassalengine.org/forum/viewtopic.php?p=36034#p36034


More information about the messages mailing list