You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Shiva Kumar H R (JIRA)" <ji...@apache.org> on 2008/04/11 20:46:04 UTC
[jira] Created: (GERONIMODEVTOOLS-326) Customize namespace prefixes
in JAXB generated/saved G plans
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
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.
[jira] Updated: (GERONIMODEVTOOLS-326) Customize namespace prefixes
in JAXB generated/saved G plans
Posted by "B.J. Reed (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (GERONIMODEVTOOLS-326) Customize namespace prefixes
in JAXB generated/saved G plans
Posted by "B.J. Reed (JIRA)" <ji...@apache.org>.
[ 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-326b.patch
Sorry, I had forgotten to svn add the new files into the patch. This should be better.
> 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, GERONIMODEVTOOLS-326b.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.
[jira] Updated: (GERONIMODEVTOOLS-326) Customize namespace prefixes
in JAXB generated/saved G plans
Posted by "Tim McConnell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim McConnell updated GERONIMODEVTOOLS-326:
-------------------------------------------
Fix Version/s: (was: 2.1.x)
2.1.1
> 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.1
>
> Attachments: GERONIMODEVTOOLS-326.patch, GERONIMODEVTOOLS-326b.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.
[jira] Commented: (GERONIMODEVTOOLS-326) Customize namespace
prefixes in JAXB generated/saved G plans
Posted by "Tim McConnell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592441#action_12592441 ]
Tim McConnell commented on GERONIMODEVTOOLS-326:
------------------------------------------------
Hi BJ, again thanks much for the patch. I'll commit it to trunk as soon as GEP 2.1.0 gets reelased. However I don't see the new class NamespacePrefixMapperImpl.java in your patch. Is it to be provided in another patch ??
> 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.
[jira] Resolved: (GERONIMODEVTOOLS-326) Customize namespace
prefixes in JAXB generated/saved G plans
Posted by "Tim McConnell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim McConnell resolved GERONIMODEVTOOLS-326.
--------------------------------------------
Resolution: Fixed
BJ's patch applied to trunk to fix this problem....
> 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.1
>
> Attachments: GERONIMODEVTOOLS-326.patch, GERONIMODEVTOOLS-326b.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.