Full Thrust Java test list -- February 2006

Number 26 of 41 messages in this Archive
[Date Prev] Main Index [Date Next]
[Thread Prev] Thread Index [Thread Next]

Re: Game 939 - Questions and Feature Requests.



> XML:
> 
> I had put together a DTD about four years ago, but it became obsolete
> quickly.  A Schema file would be preferred for the current version.
> 
> Your suggestions are welcome.  The issue for a XML file format change
> is compatibility from the two versions of the file for the server and
> the clients. 

I'm generating a quick XSD based on the turn files that I have so far
received....

The worst offenders in the XML both have the same issue...
  DamageControl (ids attribute)
  FireControl (slavedWeapons attribute)

  Both should probably be a sequence of elements

  eg
    <DamageControl>
       <System id="5"/>
       <System id="6"/>
    </DamageControl>

  instead of
    <DamageControl ids="5,6"/>

Theres also quite a lot of elements that could be combined since they occur
together (eg xSSD and ySSD), or elements with attributes that could just be
attributes (eg many GameOptions children)

If I send this XSD out, is it going to be of use to you?  (obviously it's
not complete, due to only a limited data set to write it from on my part)

-- 
Colin P (ft-play@xxxxxxxxxxxxxx)






  • Prev by Date: Re: Game 942: Phallon issues?
  • Next by Date: Re: Game 939 - Questions and Feature Requests.

  • Previous by thread: Re: Game 939 - Questions and Feature Requests.
  • Next by thread: Re: Game 939 - Questions and Feature Requests.

  • Main Index | Thread Index | Author Index | Archive Index

    roger@nospam.firedrake.org
    Generated: Wed Mar 01 02:07:24 GMT 2006