[英]Apache XMLSchema core XSD/XML parser shows the root element as parent for all children instead of its immediate parent
[英]XSOM vs Apache XmlSchema
我想要一個可用於內省 XSD 的庫。 Basically parse it and give an object representation so that I can get the types, names, annotaions,namespace etc. So I came across mainly two of the libraries: java.net XML Schema Object Model (XSOM) and Apache commons XMLSchema
我覺得 XSOM 更好,但它似乎有不同的 CDDL 許可證。 那么我能否在我無法開源的商業項目中使用 XSOM? 你們中的任何人都知道將具有 LGPL 類型許可證的更好的此類庫嗎?
我使用了 Apache commons XMLSchema,它運行良好。
但是喜歡或討厭僅僅暴露底層結構視圖的圖書館大多是主觀的事情。
關於許可證,XSOM 本身似乎是在 GPL 和 simil-GPL 許可證的混合下發布的。 如果您想 go 在安全方面 go 與 Apache 並放松。
戴上我的 Apache 帽子,如果你覺得 Apache commons XMLSchema 可以改進,請加入項目郵件列表,讓我們聽到你的想法,提交補丁,幫助我們把它變成一個更好的庫。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.