Disputes over what is acceptable behavior in cyberspace threaten to overshadow the agenda when Chinese President Xi Jinping and U.S. President Barack Obama meet in Washington late this week.

The simmering conflict over hacking comes at a time when the U.S. is seeking cooperation with China on issues ranging from North Korea to anti-terrorism and climate change.

Xi will arrive in Washington on Thursday for a two-day visit.