Re: Namespace dispatching

Jonathan Borden wrote:
> 
> 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.

So I find an XML document at my desk. Where do I find the regular
expression to figure out its type. I'm trying to make XML documents
*self-descriptive*.

 Paul Prescod

Received on Wednesday, 20 February 2002 21:34:15 UTC