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/09/17 14:17:04 UTC

[jira] [Created] (NUTCH-2107) plugin.xml to validate against plugin.dtd

Sebastian Nagel created NUTCH-2107:
--------------------------------------

             Summary: 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: 1.10, 2.3, 1.11
            Reporter: Sebastian Nagel
            Priority: Trivial
             Fix For: 2.4, 1.12


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)