Re: [Flightgear-devel] XML Schema for YASim, or: a GUI to build YASim aircraft

2006-04-11 Thread Sébastien MARQUE

Torsten Dreyer wrote:

I think the point of Torsten ( the OP ) was that if we have a XML schema,
users are then free to use the tool they want.



Correct, I don't want to promote a specific tool. The reason to name one was 
to give those a hint who do not know where to start. You have the freedom of 
choice.


Torsten

  

oops! I misunderstood, I thought it was a project of GUI.

sorry for that interruption.

seb


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


RE: [Flightgear-devel] XML Schema for YASim, or: a GUI to build YASim aircraft

2006-04-11 Thread Jon S. Berndt
> > I think the point of Torsten ( the OP ) was that if we have a
> > XML schema,users are then free to use the tool they want.
>
> Correct, I don't want to promote a specific tool. The reason to
> name one was
> to give those a hint who do not know where to start. You have the
> freedom of choice.
>
> Torsten

You need to be careful, though. Some editors such as oXygenXML allow you to
choose from a selection of various XML schema engines. Not all of them are
up to date, and they may each interpret things slightly differently.

Jon



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] XML Schema for YASim, or: a GUI to build YASim aircraft

2006-04-11 Thread Torsten Dreyer
> I think the point of Torsten ( the OP ) was that if we have a XML schema,
> users are then free to use the tool they want.

Correct, I don't want to promote a specific tool. The reason to name one was 
to give those a hint who do not know where to start. You have the freedom of 
choice.

Torsten



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] XML Schema for YASim, or: a GUI to build YASim aircraft

2006-04-11 Thread Frederic Bouvier
Quoting Sébastien MARQUE :

> Frederic Bouvier wrote:
> > Quoting Torsten Dreyer :
> >
> >
> >>> My favorite editor is XMLSpy, but that is my personal view.
> >>>
> >> ... tsts, don't know how this could happen, this info is years old and I
> use
> >> OXYGEN XML now.
> >> I think I need a brain-organizing tool ;-)
> >>
> >
> > XMLSpy has a free ( of charge ) version that can edit schemas. What about
> OXYGEN
> > XML ?
> >
> > -Fred
> >
> >
> let me know if i'm wrong (don't kick me out from the list please, it's
> really interesting reading you ;)),
> maybe it could be interresting to use a more simple interface. the only
> one I know is from te gnome project: GConf, maybe it could be rewrite a
> little, to fit flightgear flights models, or any xml-managed system,
> without using an external-heavy-nonGPL program.
>
> that is my newbie's point of view.

I think the point of Torsten ( the OP ) was that if we have a XML schema, users
are then free to use the tool they want.

-Fred

--
Frédéric Bouvier
http://frfoto.free.fr Photo gallery - album photo
http://www.fotolia.fr/p/2278  Other photo gallery
http://fgsd.sourceforge.net/  FlightGear Scenery Designer


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] XML Schema for YASim, or: a GUI to build YASim aircraft

2006-04-11 Thread Sébastien MARQUE

Frederic Bouvier wrote:

Quoting Torsten Dreyer :

  

My favorite editor is XMLSpy, but that is my personal view.
  

... tsts, don't know how this could happen, this info is years old and I use
OXYGEN XML now.
I think I need a brain-organizing tool ;-)



XMLSpy has a free ( of charge ) version that can edit schemas. What about OXYGEN
XML ?

-Fred

  
let me know if i'm wrong (don't kick me out from the list please, it's 
really interesting reading you ;)),
maybe it could be interresting to use a more simple interface. the only 
one I know is from te gnome project: GConf, maybe it could be rewrite a 
little, to fit flightgear flights models, or any xml-managed system, 
without using an external-heavy-nonGPL program.


that is my newbie's point of view.

regards,

seb


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] XML Schema for YASim, or: a GUI to build YASim aircraft

2006-04-11 Thread Frederic Bouvier
Quoting Torsten Dreyer :

> > My favorite editor is XMLSpy, but that is my personal view.
> ... tsts, don't know how this could happen, this info is years old and I use
> OXYGEN XML now.
> I think I need a brain-organizing tool ;-)

XMLSpy has a free ( of charge ) version that can edit schemas. What about OXYGEN
XML ?

-Fred

--
Frédéric Bouvier
http://frfoto.free.fr Photo gallery - album photo
http://www.fotolia.fr/p/2278  Other photo gallery
http://fgsd.sourceforge.net/  FlightGear Scenery Designer


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] XML Schema for YASim, or: a GUI to build YASim aircraft

2006-04-11 Thread Torsten Dreyer
> My favorite editor is XMLSpy, but that is my personal view.
... tsts, don't know how this could happen, this info is years old and I use 
OXYGEN XML now.
I think I need a brain-organizing tool ;-)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] XML Schema for YASim, or: a GUI to build YASim aircraft

2006-04-10 Thread Chris Metzler
On Mon, 10 Apr 2006 15:34:37 +0200
Torsten Dreyer wrote:
>
> Hi,
> 
> inspired by the XML Schema delivered with JSBSim, I started to write on
> for YASim (and I have in mind to create one for the other config files,
> too).
> 
> First, for those who do not know what the hack is a XML schema and what
> do I need it for?

[ Excellent explanation + image references skipped ]

Torsten, this was really good.  Perhaps worth putting on the wiki?

-c

-- 
Chris Metzler   [EMAIL PROTECTED]
(remove "snip-me." to email)

"As a child I understood how to give; I have forgotten this grace since I
have become civilized." - Chief Luther Standing Bear


signature.asc
Description: PGP signature


RE: [Flightgear-devel] XML Schema for YASim, or: a GUI to build YASim aircraft

2006-04-10 Thread Jon S. Berndt
> Hi,
>
> inspired by the XML Schema delivered with JSBSim, I started to
> write on for YASim (and I have in mind to create one for the
> other config files, too).

Bravo! I think this is a great idea.

> First, for those who do not know what the hack is a XML schema
> and what do I need it for?

FYI, the most recent issue of the JSBSim newsletter has some more
information on schemas and transformations. For those interested, I'd also
suggest the O'Reilly books, "XML Schema" and "XSLT Cookbook".

The first JSBSim XML specification played a part in inspiring the emerging
AIAA standard, development of which is being lead by Bruce Hildreth and
Bruce Jackson (LaRCSim author). It is currently called DAVE-ML and there is
a web site at daveml.nasa.gov. Given that emerging standard, the newest
version of JSBSim features a revamped XML specification, and that format is
being called JSBSim-ML v2.0 (JSBSim Markup Language).

XML technologies provide a lot of useful capabilities across the board for
flight simulation (as with other areas) from error checking to documentation
and more.

A YASim-ML would be another good addition to flightgear.

Jon



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] XML Schema for YASim, or: a GUI to build YASim aircraft

2006-04-10 Thread Torsten Dreyer
Hi,

inspired by the XML Schema delivered with JSBSim, I started to write on for 
YASim (and I have in mind to create one for the other config files, too).

First, for those who do not know what the hack is a XML schema and what do I 
need it for?

A schema is some kind of a formal description of the structure a xml-file 
should/could/must have. There are parsers, that can validate a xml-file 
against a schema file and tell you, if your creation is valid or not and what 
is wrong with it. 
Sounds boring, but: it is very interesting, if you use a schema capable 
xml-editor (vi and notepad are not, sorry). With the help of the xml-schema 
you can edit xml-files with all the goodies you know from modern IDE, like 
detecting syntax errors while you type, drop-down lists of valid choises of 
elements, context-help items and so on. It prevent you from putting things 
into wrong places e.g. if you try to put a  under a  
element or assign a "capacity" attribute to a  element.
It also does some nice "pretty-printing", indenting, auto-closing tags etc. 
etc.

My favorite editor is XMLSpy, but that is my personal view.

To build the schema, I merged the README.yasim and the information I got from 
the YASim-sourcecode from cvs. Almost all documentation in the schema is 
copy-and-pasted from the README.yasim.

Here are some screenshots while working on a file using XMLSpy:
(sorry, the mouse-pointer and the text-carret are not visible)

http://www.t3r.de/fg/XMLSchema/XMLSchema1.jpg
This is while hovering the cursor over the "chord" attribute of a  
element, while the caret is on the "incidence" attribute. You see the balloon 
help for the "chord" attribute in yellow and the description of the 
"incidence" attribute in the lower right corner. In the upper right, you see 
the "model" of the  element, what attributes are allowed and what 
elements may be contained.

http://www.t3r.de/fg/XMLSchema/XMLSchema2.jpg
This one shows a complaint about a type in the "compression" attribute of a 
 element. I typed "zero comma one" instead of the correct "zero point 
one".  Compression is defined as a float-value (see upper right corner) so a 
comma is invalid.

http://www.t3r.de/fg/XMLSchema/XMLSchema3.jpg
Here I add an element to the  tag. After typing the opening <, a 
dropdownlist with the valid elements appear together with a short help for 
the tag.

http://www.t3r.de/fg/XMLSchema/XMLSchema4.jpg
I selected the  tag and because "idx" and "weight" are declared 
as "mandatory, they automatically appear in the editor. The tag is still 
marked bad, because the values of the attributes are invalid.

This is just a little teaser, not a complete howto about editing xml files, so 
I stop here. 

The schema is downloadable here:
http://www.t3r.de/fg/XMLSchema/YASim.xsd

a documentation of the schema is here (boring mashine-generated stuff):
http://www.t3r.de/fg/XMLSchema/docs/YASim/YASim.xsd.html

and a tarball of the schema with the documentation is here:
http://www.t3r.de/fg/XMLSchema/YASim-schema-0.1.tar.gz

Thanks for reading this long post.

Torsten


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel