私は XSLT 開発者ですが、XSpec を使用して書かれたテスト ケースでエラーが発生しました。これは私が書いたテストケースです
<x:scenario label="Test Line Break">
<x:context select="//name-list/name/surname/ini">
<name-list>
<name>
<surname>
test line break
</surname>
<ini>test initials</ini>
</name>
</name-list>
</x:context>
<x:expect>
<surname type="...">test line break <ini>test initials</ini></surname>
</x:expect>
</x:scenario>
このテストケースは、タグの前の要素の改行を削除するためのものですが、テストケースを実行すると、タグが処理されない<ini>
と言われました。<ini>
どうすれば解決できますか?助けてください..ありがとう..