State of XML support in Scala 2.9.x

前端 未结 4 1888
小蘑菇
小蘑菇 2020-12-31 04:12

I\'m currently starting to look into using Scala\'s XML support for business critical processes. In that regard I would like to know what the current state of the standard X

4条回答
  •  一整个雨季
    2020-12-31 04:22

    Scales Xml is my answer to that question. Its not that I had found the quirks of Scala XML to be bad, but the approach itself didn't sit with me well and prompted the question "what if you separated the content from the tree and unified push and pull".

    After much playing I discovered many cool ways to leverage the type system in order to make XML usage simpler for a number of activities, more correct and faster than Scala XML.

    You very quickly realise, when writing an alternative library, just how much thought and effort went into Scala XML. Its killer features are:

    1. Provided with the default library
    2. In built XML syntax

    for simple out of the box usage its hard to beat (although I'm confident I've done that ^_^).

    Its important that other younger alternatives like Anti-XML have appeared as choice is often what drives innovation. I'd just advise users to look at what they really need rather than assuming the alternatives automatically provide the best choice.

提交回复
热议问题