El 18/03/2011 17:41, Hussein Shafie escribió: > On 03/18/2011 05:20 PM, Manuel Collado wrote: >> El 18/03/2011 14:45, Hussein Shafie escribió: >>> On 03/18/2011 01:31 PM, Manuel Collado wrote: >>>> ... >>>> In brief, is it really necessary to invent always different names for >>>> commands in different configurations that may eventually be used at the >>>> same time? >>> >>> Yes, you should always use globally unique command names in your custom >>> configurations. >>> ... >>>> If what I describe is a possible bug, >>> >>> No, it's not a bug in XXE. >> >> Well, not a bug. But IMHO a serious limitation. In the extreme case, one >> should consult all XXE powerusers around the world before choosing a >> command name prefix, to be sure there are no clashes. > > This is not needed for the C language which does not support namespaces > despite the very large number of function libraries floating around the > world.
Because the linker clearly alerts and complains if you attempt to mix libraries with duplicate names in the same application. > Therefore I think this should not be a problem for XXE commands. Not a show-stopper, but certainly a nuisance. >> >> If the unique global namespace limitation persists, then I would >> recommend, at least: >> ... >> - Issue a warning alert at startup or at document open if there are >> actually duplicated command names. Like the C linker does. Regards, -- Manuel Collado - http://lml.ls.fi.upm.es/~mcollado -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

