[jira] [Updated] (PLUTO-656) various portlet.xml files are not valid

"Vernon Singleton (JIRA)" <[email protected]>
Newsgroups gmane.comp.jakarta.pluto.devel
Message-ID <[email protected]>
     [ 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}



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



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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.