Do you or Dont you buy Tim Bray's Namespace Validation Algorithm?

james anderson James.Anderson at mecomnet.de
Mon Sep 21 05:48:42 BST 1998


greetings,

please excuse my delay in responding to this.
i was away for several weeks.

"tim's" algorithm does work. it is analogous to the mechanisms used to manage
interned symbols in symbolic processing systems. (eg lisp).

in fact, there is no literal "rewrite" required. if you manage the symbols
properly, sets of symbols are "prefixed" - not individual symbols. the
"rewrite" (ie the binding 
/scoping rules) is done by augmenting, changing, etc the names for the sets of
symbols. auxiliary names are generated to ensure uniqueness and serve as the
prefixes should the dom/combined-dtd be reserialized.

the mechanism does require - as noted in the past, that a means be provided to
bind prefixes to uri's with a scope which extends over a dtd. contrary to
other observers, i see nothing wrong with using a pi for this. although it is
not within the scope of xml1.0+namespaces, the pi method is not precluded by same.

Mark Tucker wrote:
> 
> Wait, People,
> 
> 
>         I don't see anything kludgy in it. (modulo my preference to
>         use expanded names directly in the processor's symbol table.)

i agree; this would be kludgy. names are better managed as elements of named sets.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list