Hi list,

I trawled through the mail archives but didn't have any luck find 
anything to resolve $subject .. I'm generating Tomcat connector 
configuration dynamically by inserting sections like this:


...

        <insert path="/Server[@*]/Service[@name]" position="under">
          <![CDATA[
          <Connector
            port="@{port.http}"
            maxThreads="1024"
            minSpareThreads="25"
           
 maxSpareThreads="75"
            enableLookups="false"
            redirectPort="443"
            acceptCount="100"
            connectionTimeout="20000"
            compression="on"
            compressionMinSize="2048"
            noCompressionUserAgents="Opera,Netscape"
            
compressableMimeType="text/html,text/plain,text/css,text/xml,text/javascript,application/x-javascript"
           
 disableUploadTimeout="true"
            proxyPort="80" />
          ]]>
        </insert>


Unfortunately xmltask seems to be treating commented out sections as text and 
escaping any angle brackets found within:

      <!--
      &amp;lt;Cluster
 className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/&amp;gt;
      -->

...

    <!-- You should set jvmRoute to support load-balancing via AJP ie :
    &amp;lt;Engine name="Catalina" defaultHost="localhost" 
jvmRoute="jvm1"&amp;gt;
    -->

...
        <!--
        &amp;lt;Valve 
className="org.apache.catalina.authenticator.SingleSignOn" /&amp;gt;
        -->


Would anyone have an explanation or workaround for this behaviour ?

thanks
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users

Reply via email to