nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NUTCH-2107) plugin.xml to validate against plugin.dtd
Date Tue, 01 Dec 2015 22:05:11 GMT

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

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

SUCCESS: Integrated in Nutch-trunk #3319 (See [https://builds.apache.org/job/Nutch-trunk/3319/])
NUTCH-2107 plugin.xml to validate against plugin.dtd (snagel: [http://svn.apache.org/viewvc/nutch/trunk/?view=rev&rev=1717536])
* trunk/CHANGES.txt
* trunk/src/plugin/subcollection/plugin.xml
* trunk/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)

Mime
View raw message