Namespaces and DTDs
Marc.McDonald at Design-Intelligence.com
Marc.McDonald at Design-Intelligence.com
Thu Mar 11 22:20:05 GMT 1999
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 at megginson.com]
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 at megginson.com
http://www.megginson.com/
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/ and on
CD-ROM/ISBN 981-02-3594-1
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)
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/ and on CD-ROM/ISBN 981-02-3594-1
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