Eliot Kimber wrote: > Lest you think I'm totally negative, I think the way that XML Mind > associates configurations with documents is quite clever.
"Given this catalog processing behavior of XML Mind, I would consider it fundamentally broken and unsuitable for general use [...]" (quote from your previous email) is pretty negative indeed. But don't worry, we are not offended. We are used to this kind of reaction: experts like you generally hate our product :-) . > One thing that I want to see added to it (unless I just missed it in my > read of the docs) would be association based on namespaces associated > with the root element. > > For example, in DITA 1.1 we declared the ditaarch namespace for use with > the DITAArchVersion= attribute, specifically so that DITA documents > would be unambiguously bound to a DITA-defined namespace. This allows > reliable recognition of DITA documents regardless of whether or not they > have an associated DTD or schema or what the DTD or schema is. > > In a document with no DTD or schema, you would expect to see this: > > <?xml version="1.0"?> > <concept xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" > id="class-attributes" > ditaarch:DITAArchVersion="1.1" ... > > > This document is unambiguously a DITA document and I would like to be > able to bind a configuration to it based on the namespace declaration > and existence of the DITAArchVersion= attribute. The document type (and in consequence, which configuration to use) may be detected based on the namespace and/or the local name of the root element. See http://www.xmlmind.com/xmleditor/_distrib/doc/configure/detect.html In the example above, the detection would be based on the presence of an attribute of the root element. This is currently not implemented but would pose no conceptual or technical problem. If there is sufficient interest, we could implement this feature.

