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

Re: XML Redux

  • From: Richard Salz <rsalz@us.ibm.com>
  • To: "Pete Cordell" <petexmldev@codalogic.com>
  • Date: Thu, 17 Feb 2011 11:56:45 -0500

Re:  XML Redux
> My feeling is that when you work through the implementation of handling 
> tagged values you'll still end up with a fairly generic kind of object 
> you're not going to get floats mapped to language native float types 
> For example, all the classes would likely have some common base class 
> interface and be created by some factory or other.

Eww, yuck. :)

More technically, that is not the best way to go if you care about 
performance or security.

        Performance -- Why should I bother to intern a string if it's an 
int?  Cf, http://www2006.org/programme/item.php?id=5011

        Security -- why should I let a bad-guy send me millions of bytes 
just to parse the number 23, unless I like DoS attacks?  (Of course, a 
really secure solution would have the schema beforehand, but that might 
not always be possible.)


STSM, WebSphere Appliance Architect

  • Follow-Ups:

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.
First Name
Last Name
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.