#158 TaglibFactory taglib matching does not follow JSP 1.2 FCS

closed-fixed
5
2007-12-05
2007-02-28
Chris Miner
No

according to:
http://jcp.org/aboutJava/communityprocess/final/jsr053/

"Look in the taglib map for an entry whose TAGLIB_URI is NOROOT_REL_URI. If found, the corresponding TAGLIB_LOCATION is the TLD resource path. If no such entry is found, resolve NOROOT_REL_URI relative to the current JSP page where the directive appears; that value (by definition, this is a relative URI specification that starts with “/”) is the TLD resource path."

So if a tld specifies its uri is "blah-lib" then JspTaglibs["blah-lib"] should try to find "blah-lib" first and then try a non root relative path. Right now it tries only the non root relative path.

Discussion

  • Attila Szegedi

    Attila Szegedi - 2007-04-03
    • assigned_to: nobody --> szegedia
    • status: open --> open-accepted
     
  • Attila Szegedi

    Attila Szegedi - 2007-04-03

    Logged In: YES
    user_id=52489
    Originator: NO

    You're right. I'll slate this for a later release, presumably 2.3.11 -- there is some nontrivial ammount of work to implement this properly, and I wouldn't want to delay the 2.3.10 release because of it.

     
  • Attila Szegedi

    Attila Szegedi - 2007-04-17
    • labels: --> JSP taglib support
     
  • Attila Szegedi

    Attila Szegedi - 2007-05-16

    Logged In: YES
    user_id=52489
    Originator: NO

    I've fixed this in CVS. Are you able to build freemarker.jar yourself from CVS version_2_3_bugfixes branch? If not, I can provide you with a custom-built freemarker.jar so you can test this.

     
  • Attila Szegedi

    Attila Szegedi - 2007-11-15
    • status: open-accepted --> open-fixed
     
  • Dániel Dékány

    • status: open-fixed --> closed-fixed
     
  • Dániel Dékány

    Logged In: YES
    user_id=546667
    Originator: NO

    Fixed in 2.3.11.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks