That doesn't help in a mixed Chinese-Japanese document

Why not? You don't have a single tag limit per document and can tag every mixed part with the appropriate language

That's not the only granularity of mixed text. A Chinese textbook about the Japanese language will have sentences where the languages are mixed

You still haven't explained what the issue is

Chinese textbook: <ch>Chinese <jp>Mixed Japanese</jp> continue Chinese.</ch>