Patch for (JAXB-981)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Patch for (JAXB-981)

Przemysław Bielicki
Customize default local name for XML element, type and property
------------------------------
---------------------------------

                 Key: JAXB-981
                 URL: https://java.net/jira/browse/JAXB-981
             Project: jaxb
          Issue Type: Improvement
    Affects Versions: 2.2.7
            Reporter: Przemyslaw Bielicki
            Assignee: Iaroslav Savytskyi


I don't know the default way to customize JAXB runtime, and this patch is just a proposal, specifically "com.sun.xml.bind.v2.model.impl.*" system properties. You will probably know how to adapt it to standard JAXB implementation.

I added also unit tests that cover 100% of my changes.

Cheers,
Przemyslaw

JAXB-981.patch (21K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Patch for (JAXB-981)

Przemysław Bielicki
errata - please disregard previous patch (I forgot about mockito-all in pom.xml)

I'm sending a correct patch now


On Thu, Oct 10, 2013 at 9:41 AM, Przemysław Bielicki <[hidden email]> wrote:
Customize default local name for XML element, type and property
------------------------------
---------------------------------

                 Key: JAXB-981
                 URL: https://java.net/jira/browse/JAXB-981
             Project: jaxb
          Issue Type: Improvement
    Affects Versions: 2.2.7
            Reporter: Przemyslaw Bielicki
            Assignee: Iaroslav Savytskyi


I don't know the default way to customize JAXB runtime, and this patch is just a proposal, specifically "com.sun.xml.bind.v2.model.impl.*" system properties. You will probably know how to adapt it to standard JAXB implementation.

I added also unit tests that cover 100% of my changes.

Cheers,
Przemyslaw


JAXB-981.patch (23K) Download Attachment