[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Namespaces and DTDs

  • From: Andrew McNaughton <andrew@s...>
  • To: Marc.McDonald@D...
  • Date: Fri, 12 Mar 1999 15:41:29 +1300

domparser namespace

Documents resulting from queries run on the concatenated document would tend 
to cause problems, as query results don't generally return the context of the 
XML elements returned.  This problem also applies to queries run across 
multiple documents unless their DTD's are identical, which perhaps suggests 
that an answer to this problem has to come from the query languages.

Andrew McNaughton



 Marc.McDonald@D... wrote:
> 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...)
> 

-- 
-----------
Andrew McNaughton
andrew@s...
http://www.newsroom.co.nz/



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...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.