越南社会主义共和国方面称这场战争为反中国扩张主义战争(Chiến tranh chống bành trướng Trung Hoa)、1979年北部边界战争(Chiến tranh biên giới phía Bắc, 1979)或越中邊界戰爭(越南语:Chiến tranh biên giới Việt-Trung/戰爭邊界越-中?)。
The problem is Vietnam might lose the battle but China might end up losing the war (I mean it will end up giving the world impression that the threat of China to the world is real thus majority of the world nation will join in against the raise of china)
I don't think so, you might want to take a look a the case of Soviet in Afghanistan and Czechoslovakia, other than the Eastern Block countries (which is about 10 nations) the majority of the world countries had condemn Soviet too.
So what you expect, they send in the troop to fight. Base on your argument, China support the soviet invasion of Afghanistan because china only protest and do nothing. China also support the US action against Afghanistan and Iraq because they do nothing again.