Re: Do you or Dont you buy Tim Bray's Namespace Validation

Jonathan Robie (jonathan@texcel.no)
Thu, 10 Sep 1998 16:37:55 -0400


At 02:53 PM 9/10/98 -0500, Mark Tucker wrote:
>
>Wait, People,
>
> DO YOU OR DONT YOU BUY TIM BRAY'S ALGORITHM for
> DTD validation in the face of Namespaces:

Sure. As long as you handle the prefixes in both the document and the dtd
before validation, it works. In other words, the five step algorithm works,
but it implies a little more than this short summary statement:

> "Re-write the document instance with consistent Prefixes
> then do a normal DTD validatation."

I also disagree somewhat with the following:

> I don't see anything kludgy in it. (modulo my preference to
> use expanded names directly in the processor's symbol table.)

Well, it's the least kludgy hack we have available to us until schemas can
handle namespace mapping. It's the way I would handle it in my applications.

Jonathan

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