My intention is to remove the dependencies on javax.stream and revert to a SAX parser. For reasonably sized documents such as Tapestry templates, there's no reason not to use SAX to read the whole document into a stream of tokens similar to what STAX gives you. Fortunately, the tests in this area are really good!
On Fri, Sep 4, 2009 at 11:46 AM, Alex Kotchnev <akoch...@gmail.com> wrote: > A quick question for the commiters : I do recall seeing some messages about > an option to remove woodstox and using plain java.xml.stream APIs. Is > there > a plan to integrate any of these changes into the standard build or would > they remain an external module (if that's even needed w/ the GAE issue > resolved) ? Along the same lines, woudl Jun's changes be considered for > integration into the codebase ? > > In summary, I'd be curious to know if incorporating changes to support T5 > running seamlessly on GAE is in the plan, and if yes, if there is any idea > when they might be released (e.g. maybe 5.2 ) ? > > Cheers, > > Alex K > > On Fri, Sep 4, 2009 at 3:50 AM, Jun Tsai <jun.t...@gmail.com> wrote: > > > I had manually fixed the problem.Remove some empty method body in > > PropertyExpressionLexer.java maked by antlr. > > // $ANTLR start "INTEGER" > > public final void mINTEGER() throws RecognitionException { > > } > > // $ANTLR end "INTEGER" > > > > // $ANTLR start "DEREF" > > public final void mDEREF() throws RecognitionException { > > } > > // $ANTLR end "DEREF" > > > > // $ANTLR start "RANGEOP" > > public final void mRANGEOP() throws RecognitionException { > > } > > // $ANTLR end "RANGEOP" > > > > // $ANTLR start "DECIMAL" > > public final void mDECIMAL() throws RecognitionException { > > } > > > > > > and repacked. It works fine. > > > > > > > > 2009/9/4 Jun Tsai <jun.t...@gmail.com> > > > > > The ticket had been fixed.I had tested on GAE using 1.2.5 SDK. But when > I > > > write simple pagelink <t:pagelink page="about"> about</t:pagelink> > ,some > > > exception thrown. > > > > > > java.lang.VerifyError: (class: > > org/apache/tapestry5/internal/antlr/PropertyExpressionLexer, method: > > mRANGEOP signature: ()V) Stack size too large > > > at > > > org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.parse(PropertyConduitSourceImpl.java:1229) > > > at > > > org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.build(PropertyConduitSourceImpl.java:1124) > > > at > > > org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.create(PropertyConduitSourceImpl.java:1080) > > > > > > > > > Who can give me an idea about the exception. > > > > > > thanks. > > > > > > > > > 2009/9/4 Thiago H. de Paula Figueiredo <thiag...@gmail.com> > > > > > > ------- Mensagem encaminhada ------- > > >> De: codesite-nore...@google.com > > >> Assunto: Issue 1277 in googleappengine: Add javax.xml.stream to > > whitelist > > >> Data: Thu, 03 Sep 2009 19:34:42 -0300 > > >> > > >> Updates: > > >> Status: Fixed > > >> Labels: Version-1.2.5 > > >> > > >> Comment #12 on issue 1277 by sly...@google.com: Add javax.xml.stream > to > > >> whitelist > > >> http://code.google.com/p/googleappengine/issues/detail?id=1277 > > >> > > >> This has been fixed in the 1.2.5 release. > > >> > > >> http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes > > >> > > >> "Support for the Stax API, javax.xml.stream. You can now use both the > > >> JDK's Stax parser as well as third-party Stax libraries like > Woodstox." > > >> > > >> Can anyone confirm that a vanilla Tapestry 5.1.0.5 works in GAE now? > > >> > > >> -- > > >> Thiago H. de Paula Figueiredo > > >> Independent Java consultant, developer, and instructor > > >> http://www.arsmachina.com.br/thiago > > >> > > >> --------------------------------------------------------------------- > > >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > >> For additional commands, e-mail: users-h...@tapestry.apache.org > > >> > > >> > > > > > > > > > -- > > > regards, > > > Jun Tsai > > > > > > > > > > > -- > > regards, > > Jun Tsai > > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast!