Lists Home |
Date Index |
> I missed:
> 5. Outlaw declaring namespaces in DTDs as fixed attribute values.
Yep -- we get that kind of thing happening because namespaces are
declared using attributes. If you separate out namespace declarations
for *content* (which you would do with attributes) from namespace
declarations for *markup* (which you wouldn't), then it stops being an
issue. The namespace-declarations-for-content could be defaulted if
that's something that's appropriate for the application (for example,
there's a default default-function-namespace in XQuery). Since
namespace-declarations-for-markup *wouldn't* be declared through
attributes, there'd be no way of defaulting them within the
DTD/schema, so the problems with doing that wouldn't arise.