Neil Griffin created PLUTO-809:
----------------------------------

             Summary: TCK va
                 Key: PLUTO-809
                 URL: https://issues.apache.org/jira/browse/PLUTO-809
             Project: Pluto
          Issue Type: Task
          Components: spec, tck
    Affects Versions: 3.0.3-TCK, 3.0.2-TCK
            Reporter: Neil Griffin
            Assignee: Neil Griffin
             Fix For: 3.0.4-TCK


XML validation for the TestModule3-portlet1/src/main/webapp/WEB-INF/portlet.xml 
descriptor in the TCK is [failing at line 61|#L61].]

Specifically, the [http://xmlns.jcp.org/xml/ns/portlet/portlet-app_3_0.xsd] 
descriptor is [missing the following line just before the closing 
{{</sequence>}} tag on line 
614|https://github.com/apache/portals-pluto/blob/pluto-3.1.2/pluto-container/src/main/resources/org/apache/pluto/container/impl/portlet-app_3_0.xsd#L614]
{code:java}
<element name="alias" type="xs:QName" minOccurs="0" maxOccurs="unbounded"/> 
{code}
In other words, the block should look like this:
{code:java}
<sequence>
    <element name="description" type="portlet:descriptionType" minOccurs="0" 
maxOccurs="unbounded"/>
    <element name="display-name" type="portlet:display-nameType" minOccurs="0" 
maxOccurs="unbounded"/>
    <element name="identifier" type="portlet:string"/>
    <choice>
        <element name="qname" type="xs:QName"/>
        <element name="name" type="xs:NCName"/>
    </choice>
    <!-- ADD THE LINE BELOW -->
    <element name="alias" type="xs:QName" minOccurs="0" maxOccurs="unbounded"/>
</sequence> 
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to