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

Re: Well-formed BinXML


binxml parser
On Friday 28 January 2005 16:48, Michael Kay wrote:
>
> One of the worst is the fact that attributes can use
> namespace prefixes that haven't yet been declared. This
> means you need some kind of lookahead. 
>

Thanks Michael, I had forgotton all about that nasty.

I did get some results based on my initial assumptions about 
what needed to be checked. In short it appears as though 
about 50% of the benefit is by not performing a full set of 
checks and the rest is the quicker parsing in the cases I 
looked at.

I should quantify this by saying I did not put any real 
amount of effort into optimising the checks so this is 
probably overstating the costs a bit in a production 
version. 

What is a little surprising is that the result you get is 
quite finely balanced on your choice of parser, encoding 
format and test documents. With carefull selection you 
could probably get just about any result you wanted, e.g. 
on one very text centric document I saw a difference of x25 
when the checks were added.

Kev.

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-2007 All Rights Reserved.