Hi-
Through the file is created on your local machine, the mapping.xml is included in the form template as a resource file, so the form will be reading the mapping.xml from that resource file (and not from your local drive).
When making a change to the mapping.xml locally, you would need to make sure to reattach that latest xml to the XSN form template; that is, it won't be updated automatically.
Hope this helps!