-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Crazy_Kapil
Message 2 in Discussion


Define the New Element with the 
MinOccurs as 0 i.e. as optional. This way the absence of the new 
fields in the Old Files should not give a problem. 

 
Also in the coding in .Net for reading the 
file, Serialize the XML into obejcts and DO NOT read the 
tags directly using GetElementsByTagName. If you try to read 
the tags (using GetElementsByTagName) that are non exisitent in XML that 
will throw an error.
 
Thanks and Regards,
Kapil




  
  
    
    New Message on BDOTNET
  
    

backward 
  compatability of XSD


  
    
    
      Reply

      
        
          
          
             
            Reply to Sender   Recommend 
            Message 1 in Discussion 
            
    
      
        
          
          
            From: PrasantaBiswal 
          
            

              Hi 
              
              
Can any one suggest me how to overcome with backward 
              compatibility of xsd. 
              
I have created my own xsd where I have defined my own data type 
              and also I was validating in my xsd. recently due to some 
business 
              logic change I need to in-corporate some of new fields inside my 
              xsd. but to my surprise when I am adding those new fields and 
              start validating them it fails even if when I am just adding one 
              element with data type as string and nilable to true, still it 
              throwing error saying "Invalid child element" 
              
Any idea why I am getting the above error. Any help can be 
              highly appreciated.
              
 
              
Regards
              
Prasanta 
  Biswal
View other groups in this 
  category. 



This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to