commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel McAllansmith <dani...@kiwiplan.co.nz>
Subject Re: [betwixt][POLL] favoured replacement for bad characters [WAS Re: Re[2]: bug in betwixt for inner class]
Date Tue, 09 Sep 2003 21:49:50 GMT
On Wed, 10 Sep 2003 09:48, robert burrell donkin wrote:
> On Monday, September 8, 2003, at 09:09 PM, Anton Tagunov wrote:
>
> <snip>
>
> > rbd> i'll probably commit a standard betwixt mapper sometime soonish. i'm
> > not
> > rbd> sure what the best replacement character would be so i'll probably
> > do rbd> something generic. i'm inclined to just remove the character (as
> > the rbd> default) but i'd appreciate feedback from users about what they
> > really
> > rbd> think would be the best replacement.
> >
> > Is the '-' character taken? It is not allowed in java indentifiers
> > but is in xml element names.
>
> i don't think that '-' is allowed as the start character for an xml
> element. (hopefully someone will correct me if i'm wrong.) there's no
> reason why it couldn't to used for others.
>
> does anyone else agree or disagree with '-'...?

Using '-' will result in a java class of com.blah.Outer$Inner being referred 
to as [com.blah.]Outer-Inner in the xml tags, correct?
This seems a reasonable default behaviour to me.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message