ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
Re: [xml-dev] Auto-completion in editors (RE: [xml-dev] ANN: XML Origin, the XML Editor & XSLT Debugger Released)
by Paul Prescod other posts by this author
Jan 28 2002 10:01PM messages near this date
Re: [xml-dev] Auto-completion in editors (RE: [xml-dev] ANN: XML Origin, the XML Editor & XSLT Debugger Released) | Re: [xml-dev] Auto-completion in editors (RE: [xml-dev] ANN: XML Origin, the XML Editor & XSLT Debugger Released)
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

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org> 

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl> 
Thread:
Nicolas LEHUEN
Rick Jelliffe
Sean McGrath
Paul Prescod
Rick Jelliffe
Tim Bray
Andrzej Jan Taramina
Mike Champion
Marcus Carr
Paul Prescod
Christian Nentwich
Paul Prescod
Michael Kay
Paul Prescod
David LeBlanc
Rick Jelliffe
Jeff Rafter
Jason Diamond
Dare Obasanjo
Michael Kay
Tim Bray
Dare Obasanjo
Dare Obasanjo

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved