[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 17:28:53 +0100
Re:  zero width no-break space to prevent tag minimisat
> The filename extension is ".xhtml".

so it depends on the local customisation whther this is parsed as xml or
html.

To see what IE does if it is served was XML, rename the file to .xml and
try that.

It is possible to get IE to both use a real XML parser and to render the
thing as xhtml but (to return to the topic of this list) you either need
to style it with xsl (an identity transform will do)  or tou use the
xhtml+mathml doctype and have mathplayer loaded.

> delivered on-the-fly, but authors doing a preview had the rendering 
> problem with the bleeding formatting properties.

if IE was recognising it as _html_ at all then it must have been parsing
it as html, in which case, the XML dtd referenced and most other XML
syntax is an HTML syntax error so you can't really complain if an html
system does the wrong thing. You could complain that IE doesn't yet
include an xhtml system, but that's a different matter. Even firefox
(which does have native xhtml support) does _not_ use it on files that
look like xhtml if they are served as text/html, it uses its lax html
parser and does whatever it does. If on the other hand it is served with
an xml mime time an xml parser is used.

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.