-
Notifications
You must be signed in to change notification settings - Fork 100
Add support for XML schema facets and documentation #917
Comments
Reported by yossico |
File: jaxb-facets-0.3.jar |
Was assigned to yaroska |
yaroska said: To start working with your code we neen you to sign Oracle Contributor Agreement (OCA). Here are some links: FAQ: http://www.oracle.com/technetwork/oca-faq-405384.pdf Thanks a lot. |
yossico said: Just to make it clear, the code i have attached is not mine. It is an open source that is managed through this web site: http://www.infosys.tuwien.ac.at/staff/hummer/tools/jaxb-facets.html. Thus, if this code is planned to be used for this solution, it needs to comply with the license agreement published through that web site (contact: Mr. Waldemar Hummer; email: [email protected]). |
yossico said: I signed the form and sent it over a while ago. Thanks, |
yaroska said: |
whummer said: |
File: jaxb-facets-1.0.jar |
whummer said: there is a more recent, updated version 1.0 of JAXB-Facets available, which contains some minor bug fixes and API changes. I am attaching the most recent version. EDIT: do we need to sign the agreement for each uploaded version..? Thanks, |
blaise_doughan said: |
pellcorp said: only question to ponder is do we use the javax.validation annotations directly? github is: https://github.com/whummer/jaxb-facets |
pellcorp said: http://java.net/projects/jaxb/lists/dev/archive/2011-01/message/2 so compatibility might not be so easy because jsr 303 does not have the same level of validation as xsd and thus jaxb-facets. |
whummer said: The @Facets/@MinOccurs/@MaxOccurs annotations are now annotated with @javax.validation.Constraint(validatedBy=...) and we will provide a custom validator implementation. This way, the Facets validation can be seamlessly integrated into the JSR-303 validation framework. |
yossico said: What is the estimated delivery time for this feature? Thanks, |
puce said: |
schrepfler said: |
tgeor said: |
schrepfler said: |
whummer said: https://github.com/whummer/jaxb-facets We have just finished another round of refactoring, and in terms of features we believe that the code is ready for release. How shall we proceed..? |
yossico said: Any progress with this issue? Your reply to these questions will be greatly appreciated. Thanks, |
yaroska said: |
yossico said: Do you know by now what is the target release for this enhancement? Release date? Thanks, |
sytzevk said: |
whummer said: @iaroslav, is there any progress concerning the contributor agreements - when can we continue to merge this into the reference impl.? thanks |
schrepfler said: |
yaroska said: We are working on the Bean Validation (JSR 303) support. I hope it will cover requirements of current request. |
schrepfler said: |
davidkarlsen2 said: |
schrepfler said: |
yaroska said: |
schrepfler said: |
This issue was imported from java.net JIRA JAXB-917 |
Nice to see the repo moved to github! @whummer, is there any chance we can rebase https://github.com/whummer/jaxb-facets/ to this repo? |
@Tomas-Kraus, is there any chance we can get this merged finally, it's a really nice value-add by the community and it's waiting in the limbo for years. |
While working closely with quite a few enterprise customers implementing ESBs/BPMs I realized the quality bar for xml schemas is constantly rising. It is no longer acceptable to have xml schema with no documentation and xsd facets.
One open source implementation supporting xsd facets can be found here: http://www.infosys.tuwien.ac.at/staff/hummer/tools/jaxb-facets.html but unfortunately it is not maintained as part of JAXB.
There are many good reasons to keep on using Java 1st approach for schema generation and it better not be neglected and supply such fundamental capabilities.
More relevant links:
http://jaxb.java.net/guide/Generating_Schema_that_you_want.html
http://java.net/projects/jaxb/lists/users/archive/2007-06/message/36
Environment
all platforms; java se 7
Affected Versions
[2.2.3]
The text was updated successfully, but these errors were encountered: