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


Ronald Bourret wrote:
> Norman Walsh wrote:
> > If the DTD contains an <!NAMESPACE decl, yes, otherwise no.
> 
> Also agreed. Don't allow a halfway solution -- you're either using
> namespaces or you're not.

Note that this implies that DTDs that allow the use of use xml:lang [etc.]
must explicitly declare:
    <!NAMESPACE xml "http://www.w3.org/XML/1998/namespace">

In fact, would it also be the case that *every* DTD that use
namespaces at all must explicitly declare**:
    <!NAMESPACE xmlns "http://www.w3.org/XML/1998/namespace">
?

Unfortunate? ... or perhaps it's just that "<!NAMESPACE xmlns ...>"
is the mechanism for signalling that namespace processing is in effect.

Michael


** from NE05 in the _Namespaces in XML_ errata:
    http://www.w3.org/XML/xml-names-19990114-errata

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