Analysis of information sources in references of the Wikipedia article "Jiang Xiaowan" in English language version.
Jiang Xiaowan 蔣孝琬 (Jiang Siye, d. 1922), originally from Hunan, was not exiled but posted to Xinjiang in 1883.
When Stein and Jiang Xiaowan [i.e. Chiang Ssu-yeh] arrived at Dunhuang in Guangxu 33 (1907), the Magistrate of Dunhuang was Wang Zonghan, namely Wang Tao-lao-ye recorded in the relevant work by Stein.
The people actually learned in Chinese law were the so-called ssu-yeh.
蒋孝琬(?~1922),湖南(一说湖南湘阴)人 ... 字"yin-ma",汉字不明 ... 俗称"蒋师爷"
When Stein and Jiang Xiaowan [i.e. Chiang Ssu-yeh] arrived at Dunhuang in Guangxu 33 (1907), the Magistrate of Dunhuang was Wang Zonghan, namely Wang Tao-lao-ye recorded in the relevant work by Stein.