OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Auto-completion in editors (RE: [xml-dev] ANN: XML Origin,

[ Lists Home | Date Index | Thread Index ]

:)

Reparse or keep some sort of index of the document in a table/tree/graph. A
space vs. time tradeoff, as one of my professors at GA Tech loved to state is
the primary tradeoff that most algorithms have to make in real-world
applications.

--
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: "Jason Diamond" <jason@injektilo.org>
To: <xml-dev@lists.xml.org>
Sent: Monday, January 28, 2002 1:25 PM
Subject: Re: [xml-dev] Auto-completion in editors (RE: [xml-dev] ANN: XML
Origin, the XML Editor & XSLT Debugger Released)


> It sounds easy as long the user enters their elements in document order. But
> what do you do when they insert an element somewhere in the middle of the
> document?
>
> ----- Original Message -----
> From: "Michael Kay" <michael.h.kay@ntlworld.com>
> To: "'Paul Prescod'" <paul@prescod.net>; <xml-dev@lists.xml.org>
> Sent: Monday, January 28, 2002 1:02 PM
> Subject: RE: [xml-dev] Auto-completion in editors (RE: [xml-dev] ANN: XML
> Origin, the XML Editor & XSLT Debugger Released)
>
>
> > > 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.
> >
> > Surely an XML editor has to detect start tags and end tags as they are
> > typed, and if it detects start tags, it is trivially easy to maintain a
> > stack of open start tags? And the cost of doing so is unrelated to the
> size
> > of the document (only to the depth of nesting)?
> >
> > Mike Kay
> >
> >
> > -----------------------------------------------------------------
> > 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>
> >
>
>
> -----------------------------------------------------------------
> 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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS