cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20084] - Serious problem with TraxTransformer
Date Sat, 24 May 2003 16:19:11 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20084>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20084

Serious problem with TraxTransformer

create@insert.com.pl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|Windows NT/2K               |Linux



------- Additional Comments From create@insert.com.pl  2003-05-24 16:19 -------
Problem with CInclude transformer can be achived only in Linux Debian with Sun's 
JVM 1.4.1 and Tomcat. On the same configuration, but with Win2K the problem 
doesn't exist! So, it's hardly to trace. Example sitemap look like:

  <map:match pattern="test">
    <map:generate src="test.xml"/>
    <map:transform src="test.xsl"/>
    <map:transform type="cinclude"/>
    <map:serialize/>
   </map:match>

   <map:match pattern="test-include">  
    <map:generate type="serverpages" src="include.xsp"/>
    <map:serialize/>
   </map:match>
 
CInclude tag in test.xml:
<cinclude:include src="cocoon://include-test"/>

Problem can appear also when sitemap looks like:

  <map:match pattern="test">
    <map:generate src="test.xml"/>
    <map:transform type="cinclude"/>
    <map:serialize/>
   </map:match>

   <map:match pattern="test-include">  
    <map:generate type="serverpages" src="include.xsp"/>
    <map:transform src="test.xsl"/>
    <map:serialize/>
   </map:match>

And doesn't appear when:

  <map:match pattern="test">
    <map:generate src="test.xml"/>
    <map:transform type="cinclude"/>
    <map:transform src="test.xsl"/>
    <map:serialize/>
   </map:match>

   <map:match pattern="test-include">  
    <map:generate type="serverpages" src="include.xsp"/>
    <map:serialize/>
   </map:match>

The final effect is that "cinclude:include" tag is not transformed and appears 
in the result.

Problem with SimpleFormTransfomer appears when we use "error" tag and no data is 
availiable, which is marked in changes for 2.1M1 as fixed:
"SimpleFormTransfomer: fixed error tags when no validation data available. (CH)
".
It appears in both Win2K and Linux. I tried it with single value, but it wasn't 
appear, maybe the problem lies in complexity of description file or subsitemap 
mounting or complexity of sitemap. I don't know exaclty and saddly I don't have 
time for trace it now.
Solution was to use Xalan instead of XSLTC.
I tried to upgrade to m2 and test it in m2 but the result was that in my final 
transformation (to html) I've got "cannot create transform template", so I gave 
up. Saddly I've meet my dead lines and I've no time to inspect that bug.

Mime
View raw message