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

Re: zero width no-break space to prevent tag minimisat

Subject: Re: zero width no-break space to prevent tag minimisation
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 16 Oct 2008 16:15:53 +0100
Re:  zero width no-break space to prevent tag minimisat
> Can anyone see any issues with using a "zero wdith no-break space" 
> as a way of preventing tag minimization:

some, if the element takes eleemnt content then putting a character ther
emakes it invalid (though that may not matter) if it does take mixed
content then of course it depends if the application recognises #65279;
for special behaviour, or if the font being used has an invisible glyph
for this.


> (#8203) doesn't seem to prevent the minimisation...
that would be a bug.

> but I would expect that if the browser can display XHTML then it must
> support unicode?

The only requirement is not to fall over while parsing text, there are a
lot of characters in unicode, and typically on most real systems most of
those characters render as a box or ? or some other missing glyph
marker.

This is often an issue in mathml (taking a random example) where you
sometimes face the choice of doing the "right thing" and marking up 2x
as 2 invisible-times x or just abitting the 2 and the x. If the
invisible times character (#x2062) renders as a missing glyph, there is
a temptation to miss it out...

David





________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread

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
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.