Hi Elliot,
 
Torsten, please correct me if I am wrong, but I believe that in the 1.1-286-trunk-merge and 1.1-286-COMPATIBILITY branches, the descriptors for web.xml are still using Castor, while the descriptors for portlet.xml use JAXB.
 
The JSR-286 spec requires that complex type event payloads be instrumented with JAXB annotations. This is for WSRP compatibility. For that reason, we are moving toward using JAXB for object-XML mapping. We need to change the web.xml descriptors to using JAXB too. I will add this as a Jira issue when I get a chance (unless you beat me to it;).
/Craig
 

 
-----Elliot Metsger <[EMAIL PROTECTED]> wrote: -----

To: [email protected]
From: Elliot Metsger <[EMAIL PROTECTED]>
Date: 01/04/2008 11:33AM
Subject: Re: [jira] Updated: (PLUTO-439) Assembly code cannot parse Servlet 2.4 web.xml containing <jsp-config> tags

Hey Craig,

What is the status of the JAXB impl in the 1.1-286-trunk-merge?  Is it
the default implementation for descriptor services or is castor being used?

Craig Doremus (JIRA) wrote:
>      [ https://issues.apache.org/jira/browse/PLUTO-439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Craig Doremus updated PLUTO-439:
> --------------------------------
>
>     Fix Version/s: 1.1-286-trunk-merge
>
> This fix also needs to be applied to the 1.1-286-trunk-merge branch so it makes it into Pluto 2.0.
>
>> Assembly code cannot parse Servlet 2.4 web.xml containing <jsp-config> tags
>> ---------------------------------------------------------------------------
>>
>>                 Key: PLUTO-439
>>                 URL: https://issues.apache.org/jira/browse/PLUTO-439
>>             Project: Pluto
>>          Issue Type: Bug
>>          Components: descriptor
>>    Affects Versions: 1.1.4
>>         Environment: Windows XP, Java 1.5.0_07
>>            Reporter: Lee Butts
>>            Assignee: Elliot Metsger
>>             Fix For: 1.2.0, 1.1.5, 1.1-286-trunk-merge
>>
>>
>> I am trying to assemble a portlet using the ant tasks and an expception is being thrown when trying to parse a web.xml file containing:
>> <web-app version="2.4" ...>
>> <jsp-config>
>>     <taglib>
>>         ...
>>     </taglib>
>>     ....
>> </jsp-config>
>> </web-app>
>> Looking through the source it appears that the WebAppDD needs to be updated to support the new wrapping element
>> http://svn.apache.org/viewvc/portals/pluto/tags/pluto-1.1.4/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/servlet/WebAppDD.java?annotate=556325
>

Reply via email to