nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Mattmann" <>
Subject RE: plugin.dtd
Date Sun, 16 Apr 2006 15:28:45 GMT
Hi Stefan,

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


Into the form:

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

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.



Chris A. Mattmann 
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 []
> Sent: Sunday, April 16, 2006 6:03 AM
> To:
> 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:
> forum:
> blog:  

View raw message