Scala 2.9.x 中的 XML 支持状态 [英] State of XML support in Scala 2.9.x

查看:24
本文介绍了Scala 2.9.x 中的 XML 支持状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在开始研究将 Scala 的 XML 支持用于关键业务流程.在这方面,我想知道 Scala 中标准 XML 库的当前状态.

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 XML library in Scala is.

我读过一些与 Scala 2.7 和 2.8 主干相关的旧"文章,其中指出 XML 处理对于 Scala 2.8 来说是线程安全的,并且在 2.7.x 版本中有几个错误.也有人对 XML 类层次结构提出批评,但我想这是一个品味问题.

I have read some "old" articles relating to Scala 2.7 and the 2.8 trunk, where it was stated that the XML handling would be threadsafe for scala 2.8, and that there was several bugs in version 2.7.x. Some critique has also been giving on the XML class hierachy, but I guess that's a matter of taste.

所以我想如果有人能回答这个问题,2.9.x 版的 Scala XML 库的当前状态是什么?

So I would like if somebody could answer the question, what is the current state of the Scala XML library for version 2.9.x?

提前致谢.

推荐答案

让我这样回答:

  • Open XML issues (those assigned to the XML Team -- there might be others)
  • Alternative XML libraries in Scala

或者说,很多人不满意.毕竟,人们正在编写完整的替代方案,而不是试图修复"库.而且,说到修复,我有一个修复将操作从 O(n^2) 变成 O(n) 提交了很长时间,以至于当有人再次打开同样的问题时,我什至不记得打开它之前.

Or, putting it into words, many people are not satisfied. After all, people are writing full blown alternatives instead of trying to "fix" the library. And, speaking of fixing, I had a fix which turned an operation from O(n^2) to O(n) submitted for so long that, when someone opened the very same issue again, I didn't even remember having opened it before.

请注意,Lift 使用标准库 XML,据我所知,大多数其他 Web 框架也是如此(我怀疑 Play 没有),所以它并不是不可用.

Mind you, Lift uses standard library XML, and, as far as I know, so do most of the other web frameworks (I suspect Play doesn't), so it's not like it's unusable.

这篇关于Scala 2.9.x 中的 XML 支持状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆