[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,


auto date
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?

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.

--
THINGS TO DO IF I BECOME AN EVIL OVERLORD #118
If I have equipment which performs an important function, it will not
be activated by a lever that someone could trigger by accidentally falling
on when fatally wounded.

----- Original Message -----
From: "Paul Prescod" <paul@p...>
To: <xml-dev@l...>
Sent: Monday, January 28, 2002 12:50 PM
Subject: Re:  Auto-completion in editors (RE:  ANN: XML
Origin, the XML Editor & XSLT Debugger Released)


> Nicolas LEHUEN wrote:
> >
> > Regarding auto-completion, on this screen-shot :
> >
> > http://www.xmlorigin.com/images/screen/screen2.gif
> >
> > We can see that when typing '</', a list of tags to be closed is proposed.
> > This is not required. At any moment, in an XML document, there is only one
> > tag to be closed, the last opened one.
>
> I'll point out that Komodo behaves as you wish. I know why others don't,
> however. Implementing it efficiently is not easy if you want it to work
> well with large documents. You either have to parse from the top or
> parse backwards from where you are, counting open and close tags,
> watching out for CDATA sections.
>
>  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>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

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.