| Author | 
		  Message
		 | 
		
		  | WBI_developer | 
		  
		    
			  
				 Posted: Wed Jun 02, 2004 8:13 am    Post subject: schema message definition problem | 
				     | 
			   
			 
		   | 
		
		
		    Apprentice
 
 Joined: 02 Jun 2004 Posts: 25
  
  | 
		  
		    
			  
				Hi, 
 
 I am trying to create a message definition file using an xml schema and when I do that I get the following error. 
 
 
Duplicate XML name for global element 'AgeUnitCode' and global attribute 'AgeUnitCode'. Physical format: 'XML1'.
 
 
Can somebody help me in clearing this error. Also I have a schema redefinition file. WBI is not accepting that file. Is there a way to add this to the messageset. 
 
 
Please can somebody help me in this. Thank you very much.
 
 
Regards,
 
Rupesh | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | JLRowe | 
		  
		    
			  
				 Posted: Wed Jun 02, 2004 8:44 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Yatiri
 
 Joined: 25 May 2002 Posts: 664 Location: South East London 
  | 
		  
		    
			  
				WBIMB does not support a global element and attribute with the same name.
 
 
WBIMB does support redefine.
 
 
Sorry I couldn't give you better news. If you cannot change the message format then you will have to use the XML or XMLNS parser and either validate manually or using a java plugin to validate against the schema. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | WBI_developer | 
		  
		    
			  
				 Posted: Wed Jun 02, 2004 9:20 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Apprentice
 
 Joined: 02 Jun 2004 Posts: 25
  
  | 
		  
		    
			  
				| Thank you very much. Could you let me know the procedure for creating mxsd from a redefine schema. I am getting an error saying that WBIMB does not support redefine schema. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | shanson | 
		  
		    
			  
				 Posted: Thu Jun 03, 2004 1:38 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Partisan
 
 Joined: 17 Oct 2003 Posts: 344 Location: IBM Hursley 
  | 
		  
		    
			  
				| Sorry, WBI MB does NOT support XML Schema redefines. There is no way to get this into a message set. You'll have to change the schema I'm afraid. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | EKhalil | 
		  
		    
			  
				 Posted: Mon Feb 13, 2006 11:38 am    Post subject: Message Def File-XSD IMPORT : Redefine and Import statements | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 29 Apr 2003 Posts: 99 Location: Boston, MA 
  | 
		  
		    
			  
				| WBIMB - Have the redefine and import statements been addressed or are scheduled to be addressed in the fix packs ???... | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | shanson | 
		  
		    
			  
				 Posted: Tue Feb 14, 2006 12:55 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Partisan
 
 Joined: 17 Oct 2003 Posts: 344 Location: IBM Hursley 
  | 
		  
		    
			  
				| In WMB V6 schema 'include' and 'import' are supported but 'redefine' is not. However, whereas in V5 a schema containing a 'redefine' gives an error during import into the toolkit, in V6 the import succeeds. Instead an error is given in the task list, and there is a 'Quick Fix' associated with the task list error that replaces the 'redefine' with an 'include'. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | EKhalil | 
		  
		    
			  
				 Posted: Tue Feb 14, 2006 5:41 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 29 Apr 2003 Posts: 99 Location: Boston, MA 
  | 
		  
		    
			  
				That's not comforting ... redefine morphing into an include statement...
 
Nevertheless thanks for your response  
 
Eva | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |