Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Complete
    • Affects Version/s: 3.0.3
    • Fix Version/s: 3.1.0.M1, 3.0.4
    • Component/s: Taglibs
    • Labels:
      None
    • Environment:
      Resin 3.1.x

      Description

      I have error after application start under Resin:

      Caused by: jar:file:/home/odenemby/www/odenem.by/WEB-INF/lib/spring-security-taglibs-3.0.3.RELEASE.jar!/META-INF/security.tld:113: <description> is an unexpected tag (parent <attribute> starts at 112).
      
      111:         </attribute>
      112:         <attribute>
      113:             <description>Set HTML escaping for this tag, as a boolean value.</description>
      114:             <name>htmlEscape</name>
      115:             <required>false</required>
      
       Check for duplicate and out-of-order tags.
      
      <name> is expected.
      
      <attribute> syntax: (<name>, <required>?, <rtexprvalue>?, <type>?, <description>?)
      	at com.caucho.xml.DOMBuilder.error(DOMBuilder.java:604)
      	at com.caucho.xml.DOMBuilder.error(DOMBuilder.java:576)
      	at com.caucho.relaxng.VerifierImpl.error(VerifierImpl.java:73)
      	at com.caucho.relaxng.VerifierHandlerImpl.error(VerifierHandlerImpl.java:378)
      	at com.caucho.relaxng.VerifierHandlerImpl.error(VerifierHandlerImpl.java:392)
      	at com.caucho.relaxng.VerifierHandlerImpl.startElement(VerifierHandlerImpl.java:249)
      	at com.caucho.relaxng.VerifierFilter.startElement(VerifierFilter.java:131)
      	at com.caucho.xml.XmlParser.addElement(XmlParser.java:2615)
      	at com.caucho.xml.XmlParser.parseElement(XmlParser.java:663)
      	at com.caucho.xml.XmlParser.parseNode(XmlParser.java:381)
      	at com.caucho.xml.XmlParser.parseInt(XmlParser.java:256)
      	at com.caucho.xml.AbstractParser.parse(AbstractParser.java:644)
      	at com.caucho.relaxng.VerifierFilter.parse(VerifierFilter.java:80)
      	at com.caucho.config.Config.parseDocument(Config.java:385)
      	at com.caucho.config.Config.configure(Config.java:205)
      	at com.caucho.jsp.TldManager.parseTldPreload(TldManager.java:733)
      	at com.caucho.jsp.TldManager.parseTldPreload(TldManager.java:685)
      	at com.caucho.jsp.TldManager.loadJarTlds(TldManager.java:444)
      	... 93 more
      

      If modify security.tld (put tag <description> after tag <name>) than there is no this error.
      Сould you please change these tags places. There is no big effort.

      Thanks

        Issue Links

          Activity

          Hide
          Luke Taylor added a comment -

          Thanks for spotting this. We should probably switch to using an xsd at some point, but I've corrected the order for now.

          Show
          Luke Taylor added a comment - Thanks for spotting this. We should probably switch to using an xsd at some point, but I've corrected the order for now.

            People

            • Assignee:
              Luke Taylor
              Reporter:
              Dzmitry Barouka
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: