Mantis - Resin
Viewing Issue Advanced Details
2008 trivial always 09-13-07 11:39 09-13-07 13:42
stbu  
ferg  
normal  
closed 3.1.3  
fixed  
none    
none 3.1.3  
0002008: Snapshot resin-3.1.s070910: conf/resin.conf:212: The following text is not allowed in this context.
resin-3.1.s070910 on Windows XP Professional using SUN JDK 6

The default resin.conf contains in line 211 a " at the end of the line which causes the following problem:

com.caucho.xml.XmlParseException: conf/resin.conf:212: The following text is not allowed in this context.
"



210: <jsp>
211: <validate-taglib-schema>true</validate-taglib-schema>"
212: <fast-jstl>true</fast-jstl>
213: <fast-jsf>true</fast-jsf>
214: </jsp>

<jsp> syntax: ( (@auto-compile | <auto-compile>)?
              & (@deferred-syntax-allowed-as-literal | <deferred-syntax-allowed-as-literal>)?
              & (@dependency-check-interval | <dependency-check-interval>)?
              & (@el-ignored | <el-ignored>)?
              & (@fast-jsf | <fast-jsf>)?
              & (@fast-jstl | <fast-jstl>)?
              & (@ide-hack | <ide-hack>)?
              & (@ignore-el-exception | <ignore-el-exception>)?
              & (@is-xml | <is-xml>)?
              & (@jsp-max | <jsp-max>)?
              & (@page-encoding | <page-encoding>)?
              & (@precompile | <precompile>)?
              & (@print-null-as-blank | <print-null-as-blank>)?
              & (@recompile-on-error | <recompile-on-error>)?
              & (@recycle-tags | <recycle-tags>)?
              & (@require-source | <require-source>)?
              & (@scripting-invalid | <scripting-invalid>)?
              & (@session | <session>)?
              & (@static-page-generates-class | <static-page-generates-class>)?
              & (@tld-dir | <tld-dir>)?
              & <tld-file-set>?
              & (@trim-directive-whitespaces | <trim-directive-whitespaces>)?
              & (@validate-taglib-schema | <validate-taglib-schema>)?
              & (@velocity-enabled | <velocity-enabled>)?)
        at com.caucho.xml.DOMBuilder.error(DOMBuilder.java:602)
        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:377)
        at com.caucho.relaxng.VerifierHandlerImpl.error(VerifierHandlerImpl.java:391)
        at com.caucho.relaxng.VerifierHandlerImpl.sendText(VerifierHandlerImpl.java:305)
        at com.caucho.relaxng.VerifierHandlerImpl.startElement(VerifierHandlerImpl.java:175)
        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:639)
        at com.caucho.relaxng.VerifierFilter.parse(VerifierFilter.java:80)
        at com.caucho.config.Config.parseDocument(Config.java:400)
        at com.caucho.config.Config.parseDocument(Config.java:353)
        at com.caucho.config.Config.configure(Config.java:191)
        at com.caucho.boot.ResinBoot.<init>(ResinBoot.java:151)
        at com.caucho.boot.ResinBoot.main(ResinBoot.java:470)
Removing:

   <validate-taglib-schema>true</validate-taglib-schema>"
                                                        ^
fixed that problem.

There are no notes attached to this issue.