| Author | 
		  Message
		 | 
		
		  | matuwe | 
		  
		    
			  
				 Posted: Fri Feb 08, 2019 7:45 am    Post subject: V7 empty tags | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 05 Dec 2007 Posts: 296
  
  | 
		  
		    
			  
				Hi i am migrating my flows from V7 to V10, i have noticed that empty tags on V7 looked like 
 
 
</customer>
 
 
But V10 looks like
 
 
<customer></customer>
 
 
Is there any way that i can force empty tags to go out as V7. Even though they are the same somehow the services i am calling is complaining. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Fri Feb 08, 2019 8:20 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				An empty tag is not the same as a null tag. The v7 XML parser did not always make that distinction, newer versions of the XMLNSC domain do. _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | matuwe | 
		  
		    
			  
				 Posted: Fri Feb 08, 2019 8:43 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 05 Dec 2007 Posts: 296
  
  | 
		  
		    
			  
				How can i fix this..
 
 
It comes in as </customers> after mapping it , then i get something else. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Fri Feb 08, 2019 8:54 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				
   
	| matuwe wrote: | 
   
  
	| It comes in as </customers> after mapping it , then i get something else. | 
   
 
 
 
If you're using the Mapping node I've no clue. I never use it.
 
 
In ESQL you'd CREATE the tag rather than SET it. _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | matuwe | 
		  
		    
			  
				 Posted: Fri Feb 08, 2019 9:00 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 05 Dec 2007 Posts: 296
  
  | 
		  
		    
			  
				I am using ESQL.
 
 
Will i need to do this for all my fields. The issue i am not sure which field might come like that. So i will need do do create field  for all fields. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Fri Feb 08, 2019 9:08 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				
   
	| matuwe wrote: | 
   
  
	| Will i need to do this for all my fields. | 
   
 
 
 
Yes
 
 
   
	| matuwe wrote: | 
   
  
	| The issue i am not sure which field might come like that. So i will need do do create field  for all fields. | 
   
 
 
 
Run the output tags through a function. 
 
 
You might also want to enquire why this is a problem for the receiving system. _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | matuwe | 
		  
		    
			  
				 Posted: Mon Feb 11, 2019 5:34 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 05 Dec 2007 Posts: 296
  
  | 
		  
		    
			  
				| Sorry .. worked like a charm. Thanks | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |