# Scala 3 xml string interpolator

**URL:** <https://users.scala-lang.org/t/scala-3-xml-string-interpolator/10437>\
**Category:** Question\
**Created:** [December 13, 2024, 2:11pm UTC](https://users.scala-lang.org/t/scala-3-xml-string-interpolator/10437 "2024-12-13T14:11:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![goshacodes](https://users.scala-lang.org/user_avatar/users.scala-lang.org/goshacodes/32/3095_2.png) [@goshacodes](https://users.scala-lang.org/u/goshacodes)\
**Post date:** [December 13, 2024, 2:11pm UTC](https://users.scala-lang.org/t/scala-3-xml-string-interpolator/10437/1 "2024-12-13T14:11:53Z")

</div>

Scala 3.4 with “-source:future” fails to compile xml literals. But I haven’t seen a stable replacer yet. There is a dotty xml interpolator, when it will be merged to scala-xml or compiler? Or is it already merged and I miss something?

---

<div class="post-metadata">

**Author:** ![tgodzik](https://users.scala-lang.org/user_avatar/users.scala-lang.org/tgodzik/32/2702_2.png) [@tgodzik](https://users.scala-lang.org/u/tgodzik)\
**Post date:** [December 13, 2024, 2:27pm UTC](https://users.scala-lang.org/t/scala-3-xml-string-interpolator/10437/2 "2024-12-13T14:27:25Z")

</div>

I think the idea was to use [GitHub - lampepfl/xml-interpolator: XML String Interpolator for Dotty](https://github.com/lampepfl/xml-interpolator) but that is not currently maintained.

Maybe we should not fail under future flag in that case?

Alternatively, anyone knows how much work would it require?
