[seam-issues] [JBoss JIRA] Commented: (SEAMXML-2) match XML namespace to package and subpackages (or multiple packages)
Dan Allen (JIRA)
jira-events at lists.jboss.org
Wed Mar 31 22:12:44 EDT 2010
[ https://jira.jboss.org/jira/browse/SEAMXML-2?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12523277#action_12523277 ]
Dan Allen commented on SEAMXML-2:
---------------------------------
Aaaah. That makes sense. I was doing a comma delimited list as a trial, but it turns out I needed the colon. Probably I should have scanned the source code.
So do you think there would be any merit to using a * to indicate subpackages? Is that legal URI material?
url:java:com.package1.*
Consider that. If you feel that's too sloppy, I suppose that the colon delimited is sufficient. Might be good to add this in an example as well as the docs.
> match XML namespace to package and subpackages (or multiple packages)
> ---------------------------------------------------------------------
>
> Key: SEAMXML-2
> URL: https://jira.jboss.org/jira/browse/SEAMXML-2
> Project: Seam XML
> Issue Type: Feature Request
> Reporter: Dan Allen
> Assignee: Pete Muir
>
> To avoid an explosion of namespace declarations (which increases complexity and reduces readability), there should be a way to have a urn:java namespace URL match not only one Java package, but multiple packages. Perhaps, a namespace will match a package and any sub-packages.
> Multiple package mapping is done internally to the url:java:seam:core namespace. The user needs a way to do the same. Otherwise, modules will need to use a flat directory structure to avoid burdening the end developer.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list