You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Lawrence Jones (JIRA)" <xm...@xml.apache.org> on 2005/07/07 01:55:13 UTC
[jira] Assigned: (XMLBEANS-159) Allow prefix wildcards in xsdconfig namespace to package mappings
[ http://issues.apache.org/jira/browse/XMLBEANS-159?page=all ]
Lawrence Jones reassigned XMLBEANS-159:
---------------------------------------
Assign To: Radu Preotiuc-Pietro
> Allow prefix wildcards in xsdconfig namespace to package mappings
> -----------------------------------------------------------------
>
> Key: XMLBEANS-159
> URL: http://issues.apache.org/jira/browse/XMLBEANS-159
> Project: XMLBeans
> Type: Improvement
> Components: Compiler
> Versions: TBD
> Reporter: Niels Ull Harremoës
> Assignee: Radu Preotiuc-Pietro
> Priority: Minor
>
> We have a large number of namespaces, all with a common prefix, e.g. http://gateway.company.com/public/resellers/schemas/2005/05/19/
> To map the elements to reasonable package names (for low values of reasonable), I must put the following in the .xsdconfig file:
> <xb:namespace uri="http://gateway.company.com/public/resellers/schemas/2005/05/19/person">
> <xb:package>gateway.reseller.v1.person</xb:package>
> </xb:namespace>
> <xb:namespace uri="http://gateway.company.com/public/resellers/schemas/2005/05/19/product">
> <xb:package>gateway.reseller.v1.product</xb:package>
> </xb:namespace>
> <xb:namespace uri="http://gateway.company.com/public/resellers/schemas/2005/05/19/purchase">
> <xb:package>gateway.reseller.v1.purchase</xb:package>
> </xb:namespace>
> and so on. It would be very convenient if I could just write
> <xb:namespace uri="http://gateway.company.com/public/resellers/schemas/2005/05/19/">
> <xb:package>gateway.reseller.v1</xb:package>
> </xb:namespace>
> or something like that - possibly with an attribute applyToSubscpaces="true" applied to the namespace.
> To make this less confusing, any conflicts between declarations could be handled the simple way - by just reporting an error.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org