tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Gruber <christianedwardgru...@gmail.com>
Subject Re: [jira] Commented: (TAP5-713) Change template parser to not use STAX, as it is not (yet) compatible with Google App Engine
Date Fri, 10 Jul 2009 05:32:38 GMT
At this point, one thing that would help is to have a first-class  
documented way of getting a woodstox parser without using the  
singleton, so we can properly avoid having to set system parameters to  
get it.  While this works if you have access to the JVM configuration,  
on something like Google App Engine, you don't - you're being loaded  
into a JVM that doesn't allow System properties to be played with.    
But if I can instantiate it, then I can contribute it to the IoC  
container, and then the template parser can consume it.


On Jul 10, 2009, at 12:36 AM, Tatu Saloranta (JIRA) wrote:

>    [ https://issues.apache.org/jira/browse/TAP5-713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729518

> #action_12729518 ]
> Tatu Saloranta commented on TAP5-713:
> -------------------------------------
> Huh? Woodstox does not use FactoryFinder for anything. Only thing I  
> think does is the Stax API. Nothing to do with Woodstox; same would  
> apply to JDK6-bundled Stax implementation (Sun Sjsxp). Ditto for  
> OSGi: Stax/SAX/JAXP all use introspection mechanism that does not  
> work well with OSGi. This is the same for all implementations.
> Also -- if and when there are concerns about Woodstox, would it kill  
> you to maybe contact Woodstox project team?
> It is rather frustrating to find that many have enough time to  
> complain, whine, and hack around things, but not enough to actually  
> take time to try to resolve problems. Most open source packages have  
> competent and friendly maintainers, who can be concated to help  
> resolve issues (or point out that issues are elsewhere as the case  
> may be).
> Finally: maybe it'd be good to make stax implementation a "provided"  
> dependency: provided by platform or added by users. That way it  
> could use whichever implementation user chose; either the best, or  
> one that container or JDK provides.
>> Change template parser to not use STAX, as it is not (yet)  
>> compatible with Google App Engine
>> --------------------------------------------------------------------------------------------
>>                Key: TAP5-713
>>                URL: https://issues.apache.org/jira/browse/TAP5-713
>>            Project: Tapestry 5
>>         Issue Type: Improvement
>>         Components: tapestry-core
>>   Affects Versions:
>>           Reporter: Howard M. Lewis Ship
>> The StAX APIs are not on the GAE "white list".
>> Should be reasonable ot change the code, by using a SAX parser that  
>> parses the template into a list of tokens, and then iterate down  
>> the token list as we do today using StAX.  End result will be fewer  
>> dependencies to boot.
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.

Christian Edward Gruber

To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org

View raw message