Uploaded image for project: 'ShrinkWrap Descriptors'
  1. ShrinkWrap Descriptors
  2. SHRINKDESC-25

Import / Export should be able to handle unmapped entries

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.1.0
    • Component/s: None
    • Labels:
      None

      Description

      When using JAXB marshal/unmarshal, things that are not mapped in the JAXB model will not be exported. This means the Descriptors will have to map every possible option which is a bit tedious, and all comments etc will be gone.

      The JAXB Binder should fix this according to spec/javadoc, but the RI bundled with JDK does this in a very simple way. It can map partial parts of a xml doc, but that part has to be fully mapped. but even fully mapped, comments are lost. (the complete mapped node is replaced, not merged like in EclipseLink Moxy)

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            aslak Aslak Knutsen added a comment -

            Maybe a workaround for now is to use a JAXB mapping generator to pre generate the whole model. We hide the model behind our interfaces anyway, so it doesn't matter how ugly it is.

            Show
            aslak Aslak Knutsen added a comment - Maybe a workaround for now is to use a JAXB mapping generator to pre generate the whole model. We hide the model behind our interfaces anyway, so it doesn't matter how ugly it is.
            Show
            aslak Aslak Knutsen added a comment - some work started https://github.com/aslakknutsen/descriptors/tree/SHRINKDESC-25
            Hide
            alrubinger Andrew Rubinger added a comment -

            Closing; released.

            Show
            alrubinger Andrew Rubinger added a comment - Closing; released.
            Hide
            kpiwko Karel Piwko added a comment -

            The most need feature here is not to fail when web.xml in the deployment contains comments.

            Show
            kpiwko Karel Piwko added a comment - The most need feature here is not to fail when web.xml in the deployment contains comments.
            Hide
            alrubinger Andrew Rubinger added a comment -

            This was RELEASED as 0.1.0, so the ticket cannot be re-opened. Karel, please clone if there are still issues pending attention in upstream/master.

            Show
            alrubinger Andrew Rubinger added a comment - This was RELEASED as 0.1.0, so the ticket cannot be re-opened. Karel, please clone if there are still issues pending attention in upstream/master.

              People

              • Assignee:
                alrubinger Andrew Rubinger
                Reporter:
                aslak Aslak Knutsen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development