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

Re: Blueberry is not "closed" (was: Closing Blueberry)

  • From: Justin Couch <justin@v...>
  • To: xml-dev@l...
  • Date: Mon, 23 Jul 2001 23:18:02 +1000

blueberry 3d download
Elliotte Rusty Harold wrote:

> >example, the DOM would require two-passes to serialize
> >(one to see if Bluberry is used, to set the header, and
> >one to do the output) for some implementations.
> >
> 
> That would be a naive approach. DOM could easily be implemented so
> this was not an issue. For example, give every element, attribute,
> and processing instruction a boolean usesBlueberry flag. Then have
> the document keep a reference count of the number of Blueberry items
> in the document that could be incremented and decremented as nodes
> were added to the document.

I don't believe so, at least from the Java perspective. DOM passes 
everything thing in as a String. All the underlying DOM implemenation
needs to do is check what encoding is used for that string. If it finds
something that is not US-ASCII then it sets the useBlueberry flag
internally and off it goes. As for other languages, can't comment, but I
suspect at least similar string handling capabilities exist for dealing
with internationalisation issues (even just look at the CodePage of the
underlying system for a tip)

-- 
Justin Couch                         http://www.vlc.com.au/~justin/
Freelance Java Consultant                  http://www.yumetech.com/
Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
-------------------------------------------------------------------
"Humanism is dead. Animals think, feel; so do machines now.
Neither man nor woman is the measure of all things. Every organism
processes data according to its domain, its environment; you, with
all your brains, would be useless in a mouse's universe..."
                                              - Greg Bear, Slant
-------------------------------------------------------------------

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.