You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "B.J. Reed (JIRA)" <ji...@apache.org> on 2008/04/25 14:25:55 UTC

[jira] Updated: (GERONIMODEVTOOLS-326) Customize namespace prefixes in JAXB generated/saved G plans

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