[ http://issues.apache.org/jira/browse/PLUTO-277?page=all ]

Daniel Krieg updated PLUTO-277:
-------------------------------

    Attachment: pluto-277.diff

The diff to apply for test case.

> Castor improperly unmarshals from portlet.xml when <portlet-app> contains 
> attributes.
> -------------------------------------------------------------------------------------
>
>                 Key: PLUTO-277
>                 URL: http://issues.apache.org/jira/browse/PLUTO-277
>             Project: Pluto
>          Issue Type: Bug
>    Affects Versions: Current CVS
>            Reporter: Daniel Krieg
>         Attachments: pluto-277.diff, pluto-277.tar.gz
>
>
> Running pluto-portal as a standard 'starter' webapp with all dependencies 
> deployed as JAR files in /WEB-INF/lib the Castor Mapping does not properly 
> handle the unmarshalling of the portlet.xml file when namespace attributes 
> are included on the root element as such:
> <portlet-app>
> ... instead of ...
> <portlet-app
>     xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
>     version="1.0"
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>     xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
>                         
> http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";>
> By omitting these attributes, the unmarshalling works.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to