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

alitur juho.rutila at gmail.com
Fri Sep 14 11:47:01 MST 2012


"Ainulindale" wrote:
> 
> I already built such a thing (xsd), check previous messages. Your
> implementation is not strongly typed:  property can be of both int and
> string types, which doesn't seem simple to handle properly both in
> terms of
> validation and in the engine.
> 


That is true. The engine needs the information about the property type.
Maybe those stringProperties are the way to go.
One more point about xml I missed on my first message: the id attribute
value should be unique in the document. So no two elements with same id.

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


More information about the messages mailing list