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

RE: Fast text output from SAX?


RE:  Fast text output from SAX?
Elliotte Rusty Harold wrote:
>At 9:00 AM -0400 4/16/04, Stephen D. Williams wrote:
>>Binary doesn't imply there isn't any well-formedness
>> checking, obviously.
> For once I agree. Obviously, binary doesn't imply that.
> However, in practice, the binary formats I do see rarely
> do as much well-formedness checking as a parser does, 
> either in the XML domain or elsewhere.
	It sounds like you've had some bad experiences with poorly
written code that worked with binary data. All of us have. However,
that doesn't make it right to attack the whole class of binary formats
or programmers who use binary formats. It just means that when you're
working with binary stuff you *must* be more careful -- much more
careful. While folk are often "casual" about their handling of
text-based stuff, when you're working with binary, you really must pay
attention. For some applications, the "cost" of greater diligence is
justified. For others, it isn't.
	Of course, the easiest way to avoid or reduce these problems
is to use code libraries that have long and proven histories. For
instance, when I use ASN.1 binary formats, I typically use the OSS
Nokalva stuff which is the result of well over 15 years of
development, testing, and proof in the field. Since I'm using a proven
library, I can be a great deal more relaxed about these issues then
someone using some random package that they discovered by doing a
SourceForge search...
	We don't need to be lectured on the fact that working with
binary requires a higher standard of diligence and discipline than
working with text-based encodings. This is obvious. But, just because
it's a bit "harder" doesn't mean it is bad.

		bob wyman




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.