You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/12/01 22:49:11 UTC

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

    [ https://issues.apache.org/jira/browse/NUTCH-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15034648#comment-15034648 ] 

Hudson commented on NUTCH-2107:
-------------------------------

SUCCESS: Integrated in Nutch-nutchgora #1541 (See [https://builds.apache.org/job/Nutch-nutchgora/1541/])
NUTCH-2107 plugin.xml to validate against plugin.dtd (snagel: [http://svn.apache.org/viewvc/nutch/branches/2.x/?view=rev&rev=1717537])
* 2.x/CHANGES.txt
* 2.x/src/plugin/subcollection/plugin.xml
* 2.x/src/plugin/urlnormalizer-regex/plugin.xml


> 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)