geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "B.J. Reed (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMODEVTOOLS-326) Customize namespace prefixes in JAXB generated/saved G plans
Date Fri, 25 Apr 2008 12:25:55 GMT

     [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

B.J. Reed updated GERONIMODEVTOOLS-326:
---------------------------------------

    Attachment: GERONIMODEVTOOLS-326.patch

This devtools-326 patch is to add a small predetermined namespace prefix during the JAXB marshalling.
 The real fix is the new NamespacePrefixMapperImpl class that was added to org.apache.geronimo.st.core
and its use by JAXBUtils.java.

However, as secondary work (and also included in this patch), this changed the test cases
and some of the expected xml in org.apache.geronimo.jee.v21.jaxbmodel.  I've also created
a couple of  jaxbmodel common test classes to simplify the test code.

> Customize namespace prefixes in JAXB generated/saved G plans
> ------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-326
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-326
>             Project: Geronimo-Devtools
>          Issue Type: Improvement
>    Affects Versions: 2.1.0
>            Reporter: Shiva Kumar H R
>            Assignee: Tim McConnell
>             Fix For: 2.1.x
>
>         Attachments: GERONIMODEVTOOLS-326.patch
>
>
> In the JAXB generated/saved Geronimo deployment plans, currently the namespace prefixes
are n1, n2 etc. It would be better to customize them to be something more meaningful.
> Reference:
> https://jaxb.dev.java.net/guide/Changing_prefixes.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message