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

Re: Whitespace rules (v2)

  • From: Liam Quin <liamquin@i...>
  • To: xml-dev@i...
  • Date: Sun, 24 Aug 1997 17:26:32 -0400 (EDT)

x200b
On Mon, 25 Aug 1997, Rick Jelliffe wrote:

> > From: Liam Quin <liamquin@i...>
> > The hyphen is 0255 octal (173 decimal).  It is a hyphen, not a soft hyphen.
> > There is no soft hyphen in Latin 1.
> > I don't have the necessary copy of Unicode in front of me, 
> 
> In both Unicode 1.0 and Unicode 2.0   &#x00AD;  is called "soft hyphen"
> or "discretionary hyphen", so it is available, but perhaps not reliably 
> supported by 8859-1 applications.

Not supported at all would be a fairer way to put it!
At any rate not by _conforming_ 8859-1 applications, as far as I
understand it... in the same way that most SGML applications don't
treat &x; as a syntax error even when it's illegal in ISO C or FORTRAN :-)

I don't have a copy of 8859 any more to check, but if the hyphen chracter
is to be treated as a soft hyphen, there's no way to type a hard hyphen...

> Also available is the zero-width space  &#x200B;
> For example,  supercali&#x200B;fragalistic&x200B;expialladocious.

Perhaps, but to claim that this is more readable to humans than
		supercali&softhy;fragalistic&softhy;expialladocious.
would be absurd.  If you hadn't omitted the # in the 2nd reference, the
length would have been the same too.  Using &hy; is even better.

You can always do
    <!--* hy: soft (discretionary) hyphenation point: *-->
    <!Entity hy '&#x200B;'>

Lee

-- 
Liam Quin --  the barefoot typographer -- Toronto
lq-text: freely available Unix text retrieval

email address: liamquin, at host: interlog dot com


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.