Archiva

wrong taglib short-name causes deployment error on Geronimo

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.1
  • Component/s: None
  • Labels:
    None
  • Environment:
    Geronimo 2.1
  • Number of attachments :
    0

Description

taglib short-name should not contain spaces according to the DTD comments

<!--
Defines a short (default) short-name to be used for tags and
variable names used/created by this tag library. Do not use
white space, and do not start with digits or underscore.

#PCDATA ::= NMTOKEN
-->

<!ELEMENT short-name (#PCDATA) >

This causes deployment error on Geronimo
/usr/local/jboss/geronimo-tomcat6-javaee5-2.1/repository/default/archiva/1214491550010/archiva-1214491550010.war/WEB-INF/classes/META-INF/taglib.tld:8:4: error: cvc-datatype-valid.1.1: string value 'Archiva Taglib' does not match pattern for tld-canonical-nameType in namespace http://java.sun.com/xml/ns/javaee

Activity

Hide
Michal Borowiecki added a comment -

I made a typo in the summary
tablib should be taglib
Can you please correct it?

Show
Michal Borowiecki added a comment - I made a typo in the summary tablib should be taglib Can you please correct it?
Hide
Maria Odea Ching added a comment -

Btw, the workaround for this problem is documented here (please see comments at the end of the wiki):
http://cwiki.apache.org/confluence/display/ARCHIVA/Archiva+on+Geronimo-2.0.2+with+MySQL+backend

So the fix for this is just to change the short-name of the archiva taglib (remove the whitespaces) in the next release..

Show
Maria Odea Ching added a comment - Btw, the workaround for this problem is documented here (please see comments at the end of the wiki): http://cwiki.apache.org/confluence/display/ARCHIVA/Archiva+on+Geronimo-2.0.2+with+MySQL+backend So the fix for this is just to change the short-name of the archiva taglib (remove the whitespaces) in the next release..
Hide
Maria Odea Ching added a comment -

Fixed in trunk -r673266. The fix was tested in geronimo 2.0.2. The problem with the webwork taglib still exists though, so you still need to do the workaround for the webwork taglib specified in the wiki.

Show
Maria Odea Ching added a comment - Fixed in trunk -r673266. The fix was tested in geronimo 2.0.2. The problem with the webwork taglib still exists though, so you still need to do the workaround for the webwork taglib specified in the wiki.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: