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

Re: Whitespace

  • From: dgd@c... (David G. Durand)
  • To: xml-dev@i...
  • Date: Tue, 26 Aug 1997 09:25:13 -0500

Re: Whitespace
At 1:07 PM -0500 8/25/97, Sean Mc Grath wrote:
>[Liam Quin]
>>If this happens, it wlil be time to standardise whitespace handling at the
>>applicaton level, perhaps.  Right now, I fnd this argument totally bogus.
>
>What are you saying? Lets wait and see if the horse bolts - if he
>does we will lock the barn door?

This is a lovely example of how quoting out of context can replace giving a
counter-argument. Here's the _substantive_ part of Liam's note:

>Whitespace treatment needs to be specified in the CML specification,
>for example, and then any conforming CML processor will do the right
>thing and there's no problem.  Taking CML and passing it to a CDF processor
>will result in different whitespace treatment, I expect... and also different
>treatment of all the non-whitespace too!  And that's fine.

The point is (and I also made this at length before) there are few ways to
meaningfully process markup without knowing the DTD or having a stylesheet,
there are even fewer ways to process such markup (w/out stylsheet or
knowledge of the DTD) such that ignoring whitespace is something that you
_need_ to do. XML already provides you with _all_ the whitespace (unlike
original flavor SGML) -- so there's no problem with the parser hiding
significant whitespace. The only question is whether we should be addding
features to note that some whitespace is _insignficant_. In fact I believe
that small set of ways to process markup (that you don't know the meaning
of, without a processing spec), and where you _have to_ collapse or
otherwise mangle the whitespace is the _null set_.

As I asked before, I'd like to see even one example of of an application
that needs this.

   -- David

_________________________________________
David Durand              dgd@c...  \  david@d...
Boston University Computer Science        \  Sr. Analyst
http://www.cs.bu.edu/students/grads/dgd/   \  Dynamic Diagrams
--------------------------------------------\  http://dynamicDiagrams.com/
MAPA: mapping for the WWW                    \__________________________



xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@i... the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa@i...)


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.