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

Re: Internal entities removed from XML?


inline internal entities
From: "Rich Salz" <rsalz@d...>

> >For the case of internal entities, the text can still be all in a single buffer
> >in my suggestion shows.  I was trying to point out that the claims that
> >supporting (internal) entity references for documents that normally won't
> >have entity references *must* cause significant increase in space or
> >performance seem to fail to take into account some implementation
> >techniques.
> 
> I must have missed it.  Either you inline expand and get all the text
> in one buffer, you you do SAX style multiple calls or force the app
> to do the multiple calls by putting in a marker.

Or you expand inline what can be expanded inline and flag whether there
are any entities that could not be expanded and are still delimited
(e.g. with the object replacement character), and select the function
to run based on that flag.  You have your cake and eat it.

The argument in the thread is whether supporting entities but not using 
them must cause show-stopping space or time degradation compared to 
not supporting entities, as was claimed.  (And, more than that, the
claim that supporting internal entities requires multiple buffers.)

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.