W3C home > Mailing lists > Public > www-html-editor@w3.org > October to December 2000

XHTML 1.0 DTD and namespace declaration

From: (wrong string) Śldal <mikael@staldal.nu>
Date: Sat, 14 Oct 2000 15:12:53 +0100
To: www-html-editor@w3.org
Message-ID: <lnG65MBsqr+E092yn@staldal.nu>
The XHTML 1.0 DTD contains this namespace declarations:

<!ELEMENT html (head, body)>
<!ATTLIST html
%i18n;
xmlns       %URI;          #FIXED 'http://www.w3.org/1999/xhtml'
>

However, this conflicts with the the following paragraph in section 4
of the Namespace recommendation:

This constraint may lead to operational difficulties in the case where
the namespace declaration attribute is provided, not directly in the
XML document entity, but via a default attribute declared in an
external entity. Such declarations may not be read by software which is
based on a non-validating XML processor. Many XML applications,
presumably including namespace-sensitive ones, fail to require
validating processors. For correct operation with such applications,
namespace declarations must be provided either directly or via default
attributes declared in the internal subset of the DTD.

Best Regards
Mikael
Received on Sunday, 15 October 2000 04:26:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:49 GMT