Re: Namespace dispatching

Paul Prescod wrote:

>
>  1 DOCTYPE statement
>  2 top-level namespace
>  3 schema reference declaration
>  4 other root-level declared namespaces
>  5 any attribute on the root element
>  6 anything in the document"
>
> I have not seen a compelling use-case for anything other than 1 and 2.
> Most of the others are just typing conveniences, IMO.
>

Regular expressions allow types to be defined by any of the above. The
theory and practice has been well described. See XDuce or Murata Makoto's
papers as a starting for some references.

Jonathan

Received on Wednesday, 20 February 2002 16:10:58 UTC