[ 
https://issues.apache.org/jira/browse/PLUTO-656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vernon Singleton updated PLUTO-656:
-----------------------------------
    Description: 
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:
{code}V2AddlFilterTests/src/main/webapp/WEB-INF/portlet.xml validates{code}

(x) Actual results:
{code}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{code}

Several other portlet.xml(s) may have similar issues ... investigating now ...


  was:
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:
{code}V2AddlFilterTests/src/main/webapp/WEB-INF/portlet.xml validates{code}

(x) Actual results:
{code}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{code}




> 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:
> {code}V2AddlFilterTests/src/main/webapp/WEB-INF/portlet.xml validates{code}
> (x) Actual results:
> {code}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{code}
> Several other portlet.xml(s) may have similar issues ... investigating now ...



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

Reply via email to