Why SAX needs namespace support

David LeBlanc whisper at accessone.com
Wed Jan 27 00:31:35 GMT 1999


I can, off the top of my head, think of lots of times where mixing elements
from other dtds would make sense. A few that sprang to mind:
	Any kind of fiction (include a poem, recipe, formula etc).
	News articles (ditto above).
	Linguistics (include a fragment of text in a foreign language).
	Dictionary.
	Encyclopedia.

I know this isn't quite what Mr. Prescod had in mind (I think), but it
seems like a useful thing to be able to do. Why, if you include a
"poem.dtd" in another kind of document, couldn't you process the fragment
of the document (the poem or poems) in the "process space" (namespace?) of
that dtd or stylesheet or whatever?

Sincerely,

Dave LeBlanc

At 12:45 PM 1/26/99 -0600, Paul Prescod wrote:
<snip>
>Namespaces only make sense in a world where you can more or less randomly
>mix objects from different problem domains. That very seldom happens in
>the document world. It would require some way to dynamically assemble
>processing specifications (stylesheets). But the interaction between
>stylesheet levels is way too complex for this sort of dynamically assembly
>to be easy. We also know that dynamic assembly of schemas is quite tricky.
>As far as I know, nobody is doing it yet. So the namespace mechanism
>strikes me as premature considering that we don't have any infrastructure
>to take advantage of it. 
>
> Paul Prescod  - ISOGEN Consulting Engineer speaking for only himself
> http://itrc.uwaterloo.ca/~papresco
>


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