You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Russell Butek <bu...@us.ibm.com> on 2002/05/31 23:23:12 UTC

Utils.makePackageName has problems

Our automagic namespace->package algorithm has problems.  If we have two
types:

- http://www.x.com/a/b/c:Type
- http://www.x.com/x/y/z:Type

These would both get mapped to the class:  "com.x.www.Type".  Bad news.
The file info isn't being taken into account.  But SHOULD it be?  What
about

urn:i/am/a/jelly/donut
urn:i/think/therefore/i/am

These namespaces have the same problem, they will both map to package "i".
Before I dive into this mess, is there anyone who thinks taking file info
into account is a bad idea?

Russell Butek
butek@us.ibm.com