[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Why xml for the manifest file ?

If you want your question answered, you will need to subscribe to the
list (or check it regularly,
https://dev.eclipse.org/mailman/listinfo/equinox-dev)

I've copied your email on this response so you are aware of the
etiquette for using this kind of list.

On Fri, Jul 17, 2009 at 8:10 AM, Sankar P<sankar.curiosity@xxxxxxxxx> wrote:
>  One
> reason that I could think of is, to check for mandatory elements (like
> say plugin-id) which can be easily compared by checking against a
> schema etc.
>
> So, can someone explain me why XML is chosen and how it is beneficial
> over a simple text file ?

You've hit one of the largest reasons, schema.  It allows definitions
and complex data types for each extension point to be published.  Now
you can 1) generate documentation, 2) hand craft the XML necessary, 3)
provide *extensive* tooling to help building the files.  #3 is really
important.

There are a number of other good reasons.

PW

-- 
Paul Webster
Hi floor.  Make me a sammich! - GIR