i've factored the bad character conversion out into a separate class which allows chaining. the idea is that people who want to use something other than the default name mapper will need to construct their own name mapping chain and so will be able to choose their own replacement character.

(this probably needs to be added to the documentation.)

- robert

On Tuesday, September 9, 2003, at 11:04 PM, Martin van den Bemt wrote:

The - could do, except there needs to be some magic, in case it is
already used in combination with a namemapper that uses dashes..

Mvgr,
Martin

On Tue, 2003-09-09 at 23: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 '-'...?

- robert


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
Martin van den Bemt <[EMAIL PROTECTED]>
mvdb.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to