Re: Taglib errors (again)
Daniel Dekany <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Thursday, July 15, 2010, 7:43:23 PM, Brian Pontarelli wrote: > On Jul 15, 2010, at 4:09 AM, Attila Szegedi wrote: > >> On 2010.07.15., at 8:24, Daniel Dekany wrote: >> >>> Wednesday, July 14, 2010, 8:49:05 PM, Brian Pontarelli wrote: >>> >>>> Let me know if something jumps out at you. >>> >>> Unfortunately, nothing. So maybe it's some problem with the default >>> XML parser on that server. I briefly looked at >>> freemarker/ext/jsp/TaglibFactory.java, and I have seen this: >>> >>> factory.setValidating(false); >>> >>> So no validation against the (missing) DTD should occur, in which case >>> I don't understand why the XML parser tries that, and then even thinks >>> the root element should be "null". (At least as far as I remember, >>> validation against the W3C XML Schema is unaffected by >>> factory.setValidating and doesn't happen automatically, and >>> TaglibFactory doesn't invoke it either.) >> >> Yeah, we fixed that over two years ago. The commits are here: >> >> <http://freemarker.svn.sourceforge.net/viewvc/freemarker/trunk/freemarker/src/freemarker/ext/jsp/TaglibFactory.java?r1=428&r2=615> >> and >> <http://freemarker.svn.sourceforge.net/viewvc/freemarker/branches/2.3/freemarker/src/freemarker/ext/jsp/TaglibFactory.java?r1=559&r2=614> >> >> and the tracker issue is: <http://sourceforge.net/tracker/index.php?func=detail&aid=1725107&group_id=794&atid=100794> >> >> Brian, what FreeMarker version are you using? This should've been fixed in 2.3.13. > > Haha. That's funny. I'm using JCatapult, which has been using > version 2.3.12 for about two years now. I'm just one patch version off. hehe > > I'll roll a new release of JCatpault to use the latest versions of FM. Or you can just use the latest 2.3.x regardless of the JCatapult version, I suppose. FreeMarker isn't or shouldn't be the part of JCatapult, it's just a dependency of it. > Thanks, > -bp -- Best regards, Daniel Dekany ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first