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

Re: Whitespace rules (v2)

  • From: agreene@b... (Andrew Greene)
  • To: neil@b...
  • Date: Mon, 11 Aug 1997 08:36:39 -0400

Re: Whitespace rules (v2)
I'm troubled by one aspect of that suggestion:

> RULE 4.  A remaining line-end code is converted into a space, except
> when it is preceded by a normal (hard) hyphen, or by a soft hyphen
> ('°'), in which case it is removed (a soft hyphen is also then
> removed).                                ^^^^^^^^^^^^^^^^^^^^^^^^^^
  ^^^^^^^

That could alter the semantics of the data stream. The incoming data
stream may have been broken at that point, but we don't want to lose
the fact that such a break is legal -- it may be required again down-
stream.

So, using your example, I think that

> A[CR]
> line-[CR]
> end code sep°[CR]
> arates lines.

should become

 A line-end code sep°arates lines.

and not, as you suggest,

> A line-end code seperates lines.

An individual application may choose to ignore soft hyphens when it
displays (or otherwise handles) the data. 

Does that make sense?

- Andrew Greene



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.