Comments (5)
@schrepfler , we've been trying hard to push this into JDK's JAXB as you remember from this conversation: https://java.net/jira/browse/JAXB-917 Unfortunately the response so far has been that jaxb-facets will not be added to JAXB RI "in some visible time". If you would be willing to take the lead in another attempt to push this through, I'd be more than happy to support you! Many thanks
from jaxb-facets.
I've left them (Oracle) another comment on JAXB-917 in hope they'll reconsider adding it to their release train. Pretty shameful not only because this adds facets but Documentation and Annotations to the metamodel. For example, Jersey REST services would get documentation for free in their generated xsd schemas.
from jaxb-facets.
I totally agree with you. Thanks!
from jaxb-facets.
This is a very cool project.
I wonder, does it need to be added to the core JDK? It seems like Oracle is moving in the opposite direction where things are being taken out of the JDK. I believe this applies to JAXB too.
Some possibilities:
- Merge this into the jaxb-ri (https://github.com/javaee/jaxb-v2).
- Merge this into EclipseLink (http://www.eclipse.org/eclipselink/)
- Treat this project as a separate project that can work with any JAXB implementation. This would mean moving the annotations out of the javax.xml namespace. It would also mean providing a separate schemagen application/Maven plugin that is aware of these annotations.
I'm actually thinking #3 is the way to go. Merging this into JAXB will be a big pain and take a long time because it involves making a change to the core spec. As a separate project -- a jaxb plugin -- this could be immediately useful to several projects, some of which are using jaxb-ri and some of which are using EclipseLink.
A way forwards might be:
- Move all the annotations out of javax.xml into org.w3c.xsd.bind.
- Make the schemagen available as an independent application and maven plugin.
What do others think?
from jaxb-facets.
There's already a ticket on jaxb-ri javaee/jaxb-v2#917 as it was I think previously submitted upstream and IIRC @whummer also signed the contributor agreement, I don't see too much activity on the repo a part from @Tomas-Kraus
from jaxb-facets.
Related Issues (20)
- AnnotationLocation missing HOT 2
- compilation fails because of testutils pom HOT 1
- wsimport issue HOT 6
- Adding support for assertions HOT 3
- Support for JavaEE annotations HOT 8
- Using @Documentation annotation at field level causes @XmlSchemaType to be ignored HOT 2
- @Pattern annotation does not work nicely with @XmlID and @XmlIDREF HOT 6
- WARNING: Unable to get @MinOccurs annotation from type com.sun.xml.bind.v2.model.impl.TypeRefImpl@667de82c HOT 1
- Issue with @Facets and @XmlJavaTypeAdapter HOT 2
- mvn clean install with empty repository HOT 3
- Jaxb-Facets @MaxOccurs generated XML Schema validation not working HOT 2
- Which license HOT 4
- Spring boot 1.3.1 + jaxb-facets HOT 2
- Annotation generation HOT 4
- Preserve annotations during schema creation HOT 3
- Working example with cxf-xjc-plugin
- appear NullPointerException HOT 1
- java.lang.NoClassDefFoundError: com/sun/tools/javac/code/Type$ClassType HOT 3
- Pushing facets support upstream HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jaxb-facets.