Talk:Sign Specification Proposal

From FlightGear wiki
Revision as of 21:36, 18 June 2006 by FlightZilla (talk | contribs)
Jump to navigation Jump to search

The markup looks okay, but just for clarification: why is the specification restricted to being one ASCII string? The majority of other FlightGear configuration is using XML, while this is much more verbose, it is also much more intuitive for an average user, that is you don't necessarily have to provide any complicated markup explanations for people who aren't familiar with the syntax. Basically, using the existing infrastructure code from SimGear, shouldn't be more complicated than writing a parser for the proposed syntax?


<?xml ...>
<PropertyList>
<sign>
  <type>MANDATORY_INSTRUCTION</type> <!--DIRECTION, LOCATION, RWY DIST. -->
  <size>1</size> <!--1-5 -->

 <face>
  <glyphs>down</glyphs>

  <glyph>2</glyph>
  <glyph>3</glyph>
  <glyph>R</glyph>

  <arrow-up/>
  <arrow-down/>
  ...
 </face>

</sign>
</PropertyList>

--FlightZilla 16:46, 18 June 2006 (EDT)

This is meant to be a simple sign description language for sign specifications included in apt.dat(.gz). The whole file isn't XML, and there's no way the sign strings therein will be XML.

--Melchior FRANZ 23:08, 18 June 2006 (UTC)

Okay, that makes of course sense. So, is this stuff meant to be only in FlightGear's apt.dat.gz or directly in Peel's DB, that is for X-Plane, too? --FlightZilla 17:36, 18 June 2006 (EDT)