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
>
-------------------------------------------------------
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
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers