Skip to content

Our use of scala-xml for document parsing is no longer supported as of scala-xml 2.2.0 #2032

@farmdawgnation

Description

@farmdawgnation

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:

  1. Evaluate alternatives for our doc parsing
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions