[Home] [By Thread] [By Date] [Recent Entries]


Hi Joerg,

> 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.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member