Beijing warned Hanoi that it would attack Vietnamese bases in the Spratly Islands if drilling continued, the BBC continued.