text: > The This is how names are indexed in 4DOM. However, it can cause some od problems if namespace-aware code is mixed with non-ns code. > - use (uri, localpart, rawname) for namespace-names, simple strings > for ordinary names; rawname must be communicated out of band > somehow I do think it is very important to at least keep track of the prefix, even though we'd admonish users not to attach semantic value to them. > - use XMLName objects for names, regardless of kind. If these were > made immutable and drivers used hashtables of these this might not > be too inefficient. What interface do you have in mind? What hashing approach? Simple string hashing for string names, and maybe soem concatenation into a single string for namespace names? > - use separate parameters for uri, localpart and rawname, letting > some of these be None depending on what was in the document and > what the parser supports. -- Uche Ogbuji Fourthought, Inc., IT Consultants uche.ogbuji@fourthought.com (970)481-0805 Software-engineering, project-management, knowledge-management