commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: [PATCH] Betwixt. setting namemapper for attributes.
Date Wed, 05 Jun 2002 16:21:02 GMT
From: "Martin van den Bemt" <>
> If I am not mistaking the only change that is need then is to change the
> current setNameMapper(..) to setElementNameMapper(..).
> Since the attributeNameMapper is already a NameMapper type ;)


> The suggestion was merely a mind spin, that it maybe better to use an
> AttributeNameMapper type, so it is more clear. That mind spin came from
> the fact that I thought that attributes were always read, not caring
> about naming rules.. Since the setAttributeNameMapper is pretty clear, I
> don't think we can leave it simple.
> I am using the HyphenatedNameMapper for my elements
> and the DecapitalizeNameMapper for my attributes ;)

Yes, both of type NameMapper. So all I meant was let XMLIntrospector have 2
properties, of type NameMapper, one for elements and one for attributes.

> My renewed patch will be sent tonight (seems like it is working, but
> didn't get to parse the complete xml file yet).
> BTW I am now manually testing the thing I have the deadline on, which
> makes life a little bit less stressfull ;)



Do You Yahoo!?
Get your free address at

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message