Giter Club home page Giter Club logo

Comments (5)

whummer avatar whummer commented on July 3, 2024

@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.

schrepfler avatar schrepfler commented on July 3, 2024

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.

whummer avatar whummer commented on July 3, 2024

I totally agree with you. Thanks!

from jaxb-facets.

buko avatar buko commented on July 3, 2024

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:

  1. Merge this into the jaxb-ri (https://github.com/javaee/jaxb-v2).
  2. Merge this into EclipseLink (http://www.eclipse.org/eclipselink/)
  3. 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:

  1. Move all the annotations out of javax.xml into org.w3c.xsd.bind.
  2. Make the schemagen available as an independent application and maven plugin.

What do others think?

from jaxb-facets.

schrepfler avatar schrepfler commented on July 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.