Re: Shocking News: Namespaces and Non-Validation

Jonathan Robie (jonathan@texcel.no)
Wed, 09 Sep 1998 10:17:03 -0400


At 08:12 AM 9/9/98 -0500, Mark Tucker wrote:
>
>I was shocked to hear that namespaces invalidate validation.

Well, not quite. As long as you specify the prefix in both the DTD and the
document, you can still validate, since the prefix is basically treated as
part of the element name or attribute name.

>The problem seems to be that DTD validation does not expand
>prefixes, nor does it apply namespace defaulting.

I think we're hoping for the schema group to fix this for us. The DCD
proposal, for instance, provides namespace support. For now, though, I
think we're stuck with specifying the prefix in both the DTD and the document.

Jonathan

jonathan@texcel.no
Texcel Research
http://www.texcel.no