问题描述
在线不同的java xml数据绑定工具有几个比较。我希望看到这是用于xml数据绑定的不同c ++工具之间的有用比较。
您在c ++中为xml数据绑定使用哪种工具? CodeSynthesis和xmlbeanscxx是一些可用的选择。
我希望大家在下面添加有关这种技术的经验的信息,包括推荐选择一种工具,易于使用和性能。还可以随时添加有关命名空间支持,解析选项(树/流)等的技术信息。
(随意添加信息这里)
许可证:具有例外的GPL2 /专有
缺点:生成的代码应该被打开。 >
不活动(项目似乎被放弃)
(随意添加信息)
许可证:Boost
There are several comparisons of the different java xml data binding tools online. I'd like to see this become a useful comparison between the different c++ tools for xml data binding.
Which tool are you using for xml data binding in c++ ? CodeSynthesis and xmlbeanscxx are a couple of the available choices.
I'd like everyone to add information below about their experience with this technology including reasoning to choose one tool over another, ease of use, and performance. Also feel free to add technical information regarding namespace support, parsing options(tree/streaming), etc.
CodeSynthesis XSD
(Feel free to add Information Here)
License: GPL2 with exceptions / Proprietary
Cons: generated code should be opensourced.
xmlbeanscxx
(Feel free to add Information Here)
License: Apache
Cons:
- has no public issue tracker
- Incubator page is not active (project seems to be abandoned)
- Project page is not available (404)
Boost Serialization Library
(Feel free to add Information Here)
License: Boost
I'm using the open-source GSOAP toolkit from SourceForge for XML C++ auto-serialization. Also works for plain C. It binds C/C++ to XML schemas automatically and is fully compliant with industry standards for XML, WSDL, SOAP, REST, XML-RPC, JSON, and WS-* protocols. It's pretty efficient too.
这篇关于c ++ xml数据绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!