Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Is there a schema for plugin.xml files?
Is there a schema for plugin.xml files? [message #310438] Sun, 03 December 2006 12:37 Go to next message
Eclipse UserFriend
I'm wondering if a schema describing the format of the plugin.xml
files can be found somewhere? I've tried googling and searching the
eclipse news archives without much succes.

I've found references to something called "extension point schemas",
in eg.
http://www.eclipse.org/articles/Article-Plug-in-architecture /plugin_architecture.html

But I'm unsure what these "extension point schemas" are and what role
they play. It seems they are something other than what's normally
understood by XML schemas...?

Thanx!


- Steinar
Re: Is there a schema for plugin.xml files? [message #310461 is a reply to message #310438] Mon, 04 December 2006 13:43 Go to previous messageGo to next message
Eclipse UserFriend
Steinar Bang wrote:
> I'm wondering if a schema describing the format of the plugin.xml
> files can be found somewhere? I've tried googling and searching the
> eclipse news archives without much succes.
>
> I've found references to something called "extension point schemas",
> in eg.
> http://www.eclipse.org/articles/Article-Plug-in-architecture /plugin_architecture.html
>
> But I'm unsure what these "extension point schemas" are and what role
> they play. It seems they are something other than what's normally
> understood by XML schemas...?


The extension points schemas are XML schema files, used by the PDE tools
to help validate plugin.xml files.

The schema that validates a plugin.xml file is a combination of the
extension points schemas.

You can find more information in on the general plugin.xml format in
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/misc/plugin_manifest.html

Later,
PW
Re: Is there a schema for plugin.xml files? [message #310537 is a reply to message #310461] Thu, 07 December 2006 07:07 Go to previous message
Eclipse UserFriend
>>>>> Paul Webster <pwebster@ca.ibm.com>:

> The extension points schemas are XML schema files, used by the PDE
> tools to help validate plugin.xml files.

> The schema that validates a plugin.xml file is a combination of the
> extension points schemas.

> You can find more information in on the general plugin.xml format in
> http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/misc/plugin_manifest.html

Ok, thanx. That's was a very simple format, but much is left to the
extension schemas. :-)

Now what remains to find out is if my XML editor (nxml) can be
persuaded to load a schema, and apply it to a subtree, based on an
attribute value.


- Steinar
Previous Topic:Ant build file with imports give java.util.EmptyStackException error
Next Topic:Browsing Search results shows one method at a time
Goto Forum:
  


Current Time: Sat Jul 05 12:33:19 EDT 2025

Powered by FUDForum. Page generated in 0.16387 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top