Too bad that I missed the discussion, changing the plugin.xml structure is a bummer for people that heavily use the plugin system. I can not understand why developers take so much care that the java API does not change (using wrapper objects etc.) but than changing XML structures just to have a content assist also for xml files.

Anyway my fault, I missed the discussion about this issue.
Thanks for clarification.

Stefan



Am 16.04.2006 um 17:28 schrieb Chris Mattmann:

Hi Stefan,

The DTD actually does allow for custom attributes: Jerome factored them
out of the form:

<implementation
    <your_attr_name>="<your_attr_value>"
    <your_attr2_name>="<your_attr2_value>"
     .....


Into the form:

<implementation
   ...

<parameter name="<your_attr_name>" value="<your_attr_value>"/>
<parameter name="<your_attr2_name>" value="<your_attr2_value>"/>
</implementation>
...

See the difference? Using the parameter tags, we can have a generic DTD that supports any parameter name and value. The other way, I had to go through
all the plugin.xml files, and then add them to the attlist for the
implementation tags, which probably isn't the way that we want to do it.
That way, you have to change the DTD every time you introduce a new
attribute to a plugin.xml file.

Thanks!

Cheers,
  Chris


______________________________________________
Chris A. Mattmann
[EMAIL PROTECTED]
Staff Member
Modeling and Data Management Systems Section (387)
Data Management Systems and Technologies Group

_________________________________________________
Jet Propulsion Laboratory            Pasadena, CA
Office: 171-266B                        Mailstop:  171-246
_______________________________________________________

Disclaimer: The opinions presented within are my own and do not reflect
those of either NASA, JPL, or the California Institute of Technology.

-----Original Message-----
From: Stefan Groschupf [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 16, 2006 6:03 AM
To: [email protected]
Subject: plugin.dtd

Hi,

Looks like the dtd does not allow custom attributes in extension
definition nodes.
This would be very contra productive for custom plugins and one idea
of a plugin system is to have custom plugins.
Can this be fixed by allowing any kind of custom attributes?

Thanks.
Stefan

---------------------------------------------------------------
company:        http://www.media-style.com
forum:        http://www.text-mining.org
blog:            http://www.find23.net





---------------------------------------------------------------
company:        http://www.media-style.com
forum:        http://www.text-mining.org
blog:            http://www.find23.net


Reply via email to