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

Re: SAX2: summary of Namespace-support arguments

  • From: james anderson <James.Anderson@m...>
  • To: XMLDev list <xml-dev@i...>
  • Date: Mon, 20 Dec 1999 14:19:56 +0100

mailto arguments
there may well be reasons to bind the origianl literal prefix to the "name
instance". this is not one of them. serialization prettiness and speed can
well be viewed as diametrically opposed. where speed is of the utmost, then
all that matters is that serializer guarantee requisite prefix uniqueness and
the correctness of prefix/uri bindings. to this end, a storage model which
binds a unique token to a namespace instance and binds the namespace instance
to the "name instance" suffices.

where the namespace instance also statically binds its uri, this form of
"name" obviates the need for a directly binding the uri to the name.

where prettiness is important, an optional interface to the serializer can
well specify the prefixes to be used for the respective namespaces. in either
case, no "figuring out" is required.

James Clark wrote:
> 
> 3. I want to use DocumentHandler not just an interface between a parser
> and an application but between an application and a serializer.
> Serialization can in fact be as performance critical as parsing.  A
> serializer can do it's job much more efficiently and easily if it has
> the prefix available rather than having to figure it out from the
> prefix/namespace bindings in effect. Although the combination of XML 1.0
> DTDs and namespaces is a problematic, many users want to use namespaces
> and still have their documents been XML 1.0 valid; this may apply to the
> documents they are creating with a DocumentHandler.  For a serializer
> that uses a DocumentHandler as its interface to be able to do this, it
> has to have prefix information.
> 
> James
> 
> 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 unsubscribe, mailto:majordomo@i... the following message;
> unsubscribe 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 unsubscribe, mailto:majordomo@i... the following message;
unsubscribe 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.