Java XML Schema library which can suggest descendents of xsd element [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this questionI have XML Schema (which import other schemas). I want to find library which can show all children that every element in this schema has. I know that e.g. eclipse has this kind of functionality (it suggests elements that I can use under some node), but I don't know which library is it.
In my application user can add schemas so generating classes with JAXB or XML Beans won't work.
The best would be open-source library that can be used for commercial purpose (e.g. licence LGPL).
Service Data Objects (JSR-235) could be used for this scenario:
- http://bdoughan.blogspot.com/2010/09/processing-atom-feeds-with-sdo.html
Here is license information on EclipseLink SDO (I'm the tech lead):
- http://wiki.eclipse.org/EclipseLink/FAQ/General#How_is_EclipseLink_Licensed.3F
XSOM might fit the bill.
精彩评论