After upgrading to scala-xml 2.2.0 or higher, we start seeing errors regarding None.get.
After some digging I discovered scala/scala-xml#764 which more or less describes how we're using scala-xml in this case. From the discussion on the thread, it looks like this just isn't intended to be a supported use case so we should expect that upgrading past 2.2.0 will require some work around on our part to have behave correctly.
We should either:
- Evaluate alternatives for our doc parsing
- Hack scala-xml to behave as we expect, but with the awareness that the maintainers have expressed dislike for the interfaces we're using being public and this is probably going to become a problem again in the future.