You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sebastian Nagel (JIRA)" <ji...@apache.org> on 2015/12/01 22:18:11 UTC
[jira] [Resolved] (NUTCH-2107) plugin.xml to validate against
plugin.dtd
[ https://issues.apache.org/jira/browse/NUTCH-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebastian Nagel resolved NUTCH-2107.
------------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.12)
(was: 2.4)
2.3.1
1.11
Committed to trunk r1717536 and 2.x r1717537.
> plugin.xml to validate against plugin.dtd
> -----------------------------------------
>
> Key: NUTCH-2107
> URL: https://issues.apache.org/jira/browse/NUTCH-2107
> Project: Nutch
> Issue Type: Improvement
> Components: plugin
> Affects Versions: 2.3, 1.10, 1.11
> Reporter: Sebastian Nagel
> Assignee: Sebastian Nagel
> Priority: Trivial
> Fix For: 1.11, 2.3.1
>
> Attachments: NUTCH-2107.patch
>
>
> Some of the plugin.xml do not validate against the plugin.dtd:
> {noformat}
> % xmllint --noout --dtdvalid ./src/plugin/plugin.dtd src/plugin/urlnormalizer-regex/plugin.xml
> src/plugin/urlnormalizer-regex/plugin.xml:30: element requires: validity error : Element requires content does not follow the DTD, expecting (import)+, got (include )
> src/plugin/urlnormalizer-regex/plugin.xml:31: element include: validity error : No declaration for element include
> src/plugin/urlnormalizer-regex/plugin.xml:31: element include: validity error : No declaration for attribute file of element include
> Document src/plugin/urlnormalizer-regex/plugin.xml does not validate against ./src/plugin/plugin.dtd
> % ...
> src/plugin/subcollection/plugin.xml:22: element plugin: validity error : Element plugin content does not follow the DTD, expecting (runtime? , requires? , extension-point* , extension*), got (requires runtime extension )
> % ...
> src/plugin/lib-selenium/plugin.xml:76: element requires: validity error : Element requires content does not follow the DTD, expecting (import)+, got (library library )
> src/plugin/lib-selenium/plugin.xml:80: element library: validity error : Element library content does not follow the DTD, expecting (export)*, got (export exclude )
> src/plugin/lib-selenium/plugin.xml:82: element exclude: validity error : No declaration for element exclude
> src/plugin/lib-selenium/plugin.xml:82: element exclude: validity error : No declaration for attribute name of element exclude
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)