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]

parser generator on top of SAX

  • To: xml-dev@l...
  • Subject: parser generator on top of SAX
  • From: Jochen Wiedmann <joe@i...>
  • Date: Sat, 17 Jan 2004 00:09:35 +0100
  • User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4

sax parser generator

Hi,

all Java parser generators I know are using a "pull model" for accessing 
their tokens. For example, they all invoke a method like

     Token nextToken();

While this is fine in general, it is unsuitable, if the token is a SAX 
event, because it leaves either of the following:

     - push the events (aka tokens) into a list and implement nextToken()
       by consuming the list elements; this is bad for large documents
     - Invoke the parser in a separate thread; this is bad for performance
       when parsing a lot of documents

Does anyone of you have recommendations how to fix this problem?


Kind regards,

Jochen


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.