ASP Error: 70
Description: Permission denied
Source: Microsoft VBScript runtime error

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

Re: XML / HTML Transport size


xml html example
From: "Robin Berjon" <robin.berjon@e...>


> However if you look at the broadcast industry, there are cases in which 
> the application does a lot more than just throw some XML around and yet 
> using textual XML would be a serious hog (in fact impossible). 

I kinda don't get it.  XML is a web technology, and HTTP allows compression.
If people don't turn on compression on their webservers, that is their problem.
If people want more efficiency, they could write serializers that generate
compressed data directly, and the reverse at the parser end. 

I still have never seen any numbers that suggest that the cost of parsing
XML is not trivial compared to the cost of object creation.   

Especially when it is quite possible to write light-weight parsers that omit
most WF checks.   If you can trust that your data is WF, you don't *need* to
check for name-correctness, for example. You can just tokenize
using space separators: this is appropriate for tightly-coupled systems or 
routing systems, for example.  

XML was designed for this: perhaps the emphasis on Draconian error-handling 
for WF and validity has obscured that XML was designed also to be useful for 
the Desparate Perl Hacker--i.e., that for inhouse, tightly-coupled or controlled
uses, WF processing of XML is not appropriate. 

I have just spent the best part of a year working on various lightweight partial 
parsers used in our products, and I have never seen anything to suggest that
parsing causes performance problems: object creation and architecture
are the overheads.  For example, if you want to route a compressed
file using meta data in a header, and efficiency is important, don't
uncompress the whole file, just as much as you need. 

> Flames? What flames? :-) Seriously though, I'm not sure that this is as 
> anti-dogma as it used to be. The textuality of XML is and always will be 
> fundamental. Binary XML is no more than an encoding for XML. Realising 
> that is the key as I don't think you'll find someone that will tell you 
> with a straight face that they don't gzip large XML documents because it 
> ruins the textuality of the content.

Yep.

Cheers
Rick Jelliffe

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.