I don't know about Burma, but Shanghai was different. Shanghai had the specific purpose of showing the world that China could hold it's own.Chiangdid spend some of his better forces - in Shanghai, where they were overcome, and in Burma (although, that have been handled much better).