You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "David DeWolf (JIRA)" <ji...@apache.org> on 2006/12/14 02:27:22 UTC
[jira] Resolved: (PLUTO-277) Castor improperly unmarshals from
portlet.xml when contains attributes.
[ http://issues.apache.org/jira/browse/PLUTO-277?page=all ]
David DeWolf resolved PLUTO-277.
--------------------------------
Resolution: Cannot Reproduce
I can't reproduce this. For an example, take a look at the portlet.xml that is available in the testsuite. It uses the xmlns and works find, as does the pluto portal portlet.xml
> 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
>
> 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