Mantis - Resin
Viewing Issue Advanced Details
4586 major always 06-01-11 08:55 06-01-11 09:33
thihy  
ferg  
normal  
closed 4.0.18  
fixed  
none    
none 4.0.19  
0004586: SaxException, The element type "resin-c:set" must be terminated by the matching end-tag "</resin-c:set>"
When compiling jsp, the generated xml has such content:

<resin-c:set value="..." var="..."></c:set>

So, "resin-c:set" does not be terminated.

In JstlCoreSet.java,

printXml(){
   //...
    if (prefix == null) {
      prefix = "c";
      os.print("<c:set xmlns:c='http://java.sun.com/jsp/jstl/core'"); [^]
    }
    else
      os.print("<" + prefix + ":set");
   //...
   os.print("</c:set>");// Y? Should be: os.print("</" + prefix +":set>")
 
}

Notes
(0005284)
ferg   
06-01-11 09:33   
jsp/1c2q