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

Re: Auto-completion in editors


Re:  Auto-completion in editors
 From: "Christian Nentwich" <c.nentwich@c...>
 
> How many 100 megabytes documents does the average user edit? Surely the
> 80-20 rule (more likely 99-1) must apply here, most documents are small.
> If they are 100s of megabytes, the user should complain to their manager
> about their incompetent XML consultants.

In SGML, this issue is actually quite common, because entity boundaries do not
have to be synchronous with elements. So you can just come to a point
between markup and split the document into different files almost willy nilly.

XML alleviates this problem, by enforcing that entities
must be well-formed. (But then, sadly, the implementation of XML systems
lets everyone down by not implementing entities properly, so
XML people may find life just as frustrating for large document
as SGML users.)

SGML editing also has another common issue, which is that some
tools people use strip out all new lines. It is bad enough to have
a multi-meg text document, but when it is all on one line, yikes.

> If the document is 100s of megabytes large, the editor can simply say
> that the document is too big to provide auto-closing. Better to be
> honest and support the majority.

Or a kind editor would give the user some option to handle this on import.
Similarly with long lines. It is hard to cope with extremes, but deeming
them as pathological gives us toys not tools.
 
Cheers
Rick Jelliffe
http://www.topologi.com/


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.