Future of some functions in the class KCharsets
englich at kde.org
Mon Sep 4 12:04:37 BST 2006
On Sunday 03 September 2006 11:40, Thiago Macieira wrote:
> Nicolas Goutte wrote:
> >As the functions are not related to QTextCodec and as the KCharsets
> > class has changed its main purpose since Qt2/KDE2, I intend to move
> > them out in they own class.
> >I propose the name KEntity for that class. (I have chosen the singular
> > form, as there is already a file entities.c which is related.)
> Make that KHtmlEntity, since they are HTML-specific (except for < and
> &, which come from XML).
In what way is it HTML-specific? Isn't it only XML-specific? If it
recognizes/uses HTML-specific entities such as nbsp, I think it's
"entity" is also a very broad name(e.g, not XML/HTML specific), and in either
case there are other types of entities than characters(that this class does
not handle). The class neither is or represent an entity/character reference.
I would call it something involving "character reference" since that's what it
do. Something like KCharacterReferenceHelper, but not so long..
More information about the kde-core-devel