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

Re: Auto-completion in editors (RE: ANN: XML Origin,


xml origin
Dare Obasanjo wrote:
> 
> Exactly what is inefficient about putting open tags in a stack as you see them
> and popping them off as the tag is closed with soem flag that halts this
> process when withing CDATA sections? Is there some sophisticated nuance I've
> missed?

When are you doing this pushing and popping? The user opens a hundred
megabyte document and scrolls to the bottom. They insert the cursor and
try to close a tag. There is no way to know the context without parsing
from the top in real-time. Plus, you need to deal with documents that
are not well-formed so you can't use a regular XML parser.

I don't mean to say it is rocket science, just that it certainly isn't
as easy as it seems at first.

> I mean if Office XP can get away with all the parsing and stuff it does for
> Smart Tags and spell/grammar checking, etc. I don't see why a much simpler
> task like keeping track of open XML tags would be deemed as hard to implement
> efficiently.

The sorts of things that Word does are not really comparable. The spell
and grammar checking can lag by several seconds. Plus the state is
entirely local.

I think your machine date is wrong.

 Paul Prescod

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