Vernon Singleton created PLUTO-656:
--------------------------------------

             Summary: various portlet.xml files are not valid
                 Key: PLUTO-656
                 URL: https://issues.apache.org/jira/browse/PLUTO-656
             Project: Pluto
          Issue Type: Bug
          Components: descriptor
    Affects Versions: 3.0.0
            Reporter: Vernon Singleton
            Assignee: Scott Nicklous
            Priority: Minor


Steps to reproduce:

1. $ cd portlet-tck_3.0
2. $ xmllint --noout --schema 
http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd 
V2AddlFilterTests/src/main/webapp/WEB-INF/portlet.xml

(/) Expected results:
V2AddlFilterTests/src/main/webapp/WEB-INF/portlet.xml validates

(x) Actual results:
V2AddlFilterTests/src/main/webapp/WEB-INF/portlet.xml:140: element filter: 
Schemas validity error : Element 
'{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}filter': This element 
is not expected. Expected is one of ( 
{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}public-render-parameter,
 {http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}listener, 
{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}container-runtime-option
 ).
V2AddlFilterTests/src/main/webapp/WEB-INF/portlet.xml fails to validate




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to