[Home] [By Thread] [By Date] [Recent Entries]

  • From: <Marc.McDonald@D...>
  • To: <xml-dev@i...>, <david@m...>
  • Date: Thu, 11 Mar 1999 14:19:06 -0800

So make a namespace declaration a PI and add an "not using this 
namespace anymore" PI. Then use simple occurrence scoping:

Process result:
<?XMLNS prefix="foo" uri="...">
<A> .... </A>
<XMLENDNS prefix="foo">

Process gets to define the prefixes that override any previous 
definition, old definition (if any) restored by XMLENDNS. No problem 
with concatenation.


Marc B McDonald
Principal Software Scientist
Design Intelligence, Inc
www.design-intelligence.com


----------
From:  David Megginson [SMTP:david@m...]
Sent:  Thursday, March 11, 1999 11:30 AM
To:  XML Developers' List
Subject:  Re: Namespaces and DTDs

Charles Reitzel writes:

 > Seriously, though.  I have yet to hear of a single real 
application
 > that needs element level prefix declarations.  Not one!

I'll paraphrase the use case as follows (I'll leave the source
anonymous):

  A server wants to construct a large XML document as the response to
  a client request, and it does so by handing off the work to several
  parallel processes and then concatenating the results into a single
  document.  If each of the processes can declare its own namespaces,
  then it is not necessary to establish complicated negotiation
  channels between the top-level process and the child processes to
  obtain the correct namespace declarations.

Before everyone rushes out to shoot holes in this use case, I'd like
to note that I still have callouses on my trigger finger from doing 
so
myself.


All the best,


David

--
David Megginson                 david@m...
           http://www.megginson.com/

xml-dev: A list for W3C XML Developers. To post, 
mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on 
CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following 
message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member