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/09/04 04:18:25 UTC

[jira] Assigned: (PLUTO-245) Parsing of portlet.xml strips space from init-param values

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

David DeWolf reassigned PLUTO-245:
----------------------------------

    Assignee: David DeWolf

> Parsing of portlet.xml strips space from init-param values
> ----------------------------------------------------------
>
>                 Key: PLUTO-245
>                 URL: http://issues.apache.org/jira/browse/PLUTO-245
>             Project: Pluto
>          Issue Type: Bug
>          Components: portlet container
>    Affects Versions: 1.1.0-beta1
>            Reporter: David Hay
>         Assigned To: David DeWolf
>            Priority: Minor
>             Fix For: 1.1.0
>
>
> I have a portlet.xml file that includes this init-param for one of my portlets:
> <init-param>
>     <name>contextConfigLocation</name>
>     <value>
>         /WEB-INF/default-portlet.xml
>         /WEB-INF/geoList-portlet.xml
>     </value>
> </init-param>
> When this init param shows up in the GenericPortlet init method, all whitespace has been removed and the value is now "/WEB-INF/default-portlet.xml/WEB-INF/geoList-portlet.xml"
> According to the final portlet 1.0 spec, page 81, "Portlet containers should ignore all leading whitespace characters before the first
> non-whitespace character, and all trailing whitespace characters after the last nonwhitespace
> character for PCDATA within text nodes of a deployment descriptor."
> I can work around this for now by providing an additional separator other than whitespace.

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