[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: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Thu, 16 Oct 2008 16:13:30 +0100
Re:  zero width no-break space to prevent tag minimisat
>>>>> "Andrew" == Andrew Welch <andrew.j.welch@xxxxxxxxx> writes:

To answer you original question: (from the Unicode FAQ):

"Q: What should I do with U+FEFF in the middle of a file?

A: In the absence of a protocol supporting its use as a BOM and when
not at the beginning of a text stream, U+FEFF should normally not
occur. For backwards compatibility it should be treated as ZERO WIDTH
NON-BREAKING SPACE (ZWNBSP), and is then part of the content of the
file or string. The use of U+2060 WORD JOINER is strongly preferred
over ZWNBSP for expressing word joining semantics since it cannot be
confused with a BOM. When designing a markup language or data
protocol, the use of U+FEFF can be restricted to that of Byte Order
Mark. In that case, any U+FEFF occurring in the middle of the file can
be ignored, or treated as an error."

So have you tried WORD_JOINER?

    Andrew> I don't think it's a bug... as far as I understand, IE
    Andrew> will always use its SGML parser regardless of whether its
    Andrew> parsing html or xhtml, and because of that <div/> is

Since they don't support xhtml.
Colin Adams
Preston Lancashire

Current Thread


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.
First Name
Last Name
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.