OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Namespaces

[ Lists Home | Date Index | Thread Index ]

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.



Jeni Tennison


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS