when I bind a form to a XML schema, what ever changes to the XML schema like the max length, will it be reflected in the form? Seem like it is not. I have to delete the existing data connection and created a new data connection, and rebind the XML to the form items. What if there is many changes to the XML, all the items will have to be rebinded? Oh...:(
When you drag a field from a data-connection (XSD, XML or whatever) it might look like you have put an data-field on your form. You actually create a new form-field, which automatically inherits its type and properties from the related data type AT THAT MOMENT. So any changes to the schema afterwards, wouldn't have any effect on form-fields previously added.
(I can think of lots of reasons, why you don't want to change field's properties automatically. If your schema's changes that often, that might be something to question)
Changes of the underlying schema will be updated properly (so recreate the dataconnection isn't necessary) but you need to update the form fields. By can dragging the fields from the dataconnection to the corresponding form-field you will be prompted what to do with the form-fields properties.
Try refreshing the data connection after update. Even if you delete the connection, uncheck the "Remove Bindings.." option, so that your previous bindings will not be removed from form.
Any enterprise level consultancy, you can contact me.