Re: Taglib errors (again)

Brian Pontarelli <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
On Jul 15, 2010, at 4:07 PM, Daniel Dekany wrote:

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

Right. It's not packaged inside JCatapult, but is a dependency of it. I use Savant for my dependency management and I'll just bump the version number in the Savant file for JCatapult. That way the next version of JCat will automatically update the project. I can also bump my dependency version in my project, but bumping it in JCatapult will be the best solution overall.

-bp


------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.