[Zope] dtml-var render two same responses for two questions differents

Pascal Samuzeau samuzeau@oreka.com
Tue, 18 Feb 2003 15:53:39 +0100


Hi,                                                                   
                                                                      
Just a simple question, for a simple answer ( I hope so ...)          
(I'm with Zope2.6.0 under Win)                                        
                                                                      
I have a DTML Method as :                                             
                                                                      
A- <dtml-var expr="test('test.test')>                                 
B- <dtml-var expr="test('test\test')>                                 
C- <dtml-var expr="test('test..test')>                                
D- <dtml-var expr="test('test\\test')>                                
E- <dtml-var expr="test('test\.test')>                                
F- <dtml-var expr="test('test\\.test')>                               
                                                                      
                                                                      
I have a script python as, with thevar as parameter                   
                                                                      
<dtml-return thevar>                                                  
                                                                      
So if I try I have these answers:                                     
                                                                      
A - test.test                                                         
B - test\test                                                         
C - test..test                                                        
D - test\\test                                                        
                                                                      
E - test\\.test                                                       
F - test\\.test                                                       
                                                                      
So my simple question : how can I recognize E from F ?                
                                                                      
What is happening ?                                                   
                                                                      
                                                                      
Sincerily                                                             
PS                                                                    
--------------------------------------------------                    
Oreka ! Nous sommes l'internet moins cher !                           
Surfez 25% moins cher avec http://www.oreka.com