xsl-list
[Top] [All Lists]

Re: [xsl] zero width no-break space to prevent tag minimisation

2008-10-16 12:09:53

the following instance renders correctly in Mozilla and Opera 

what mime type?

If it is served with text/html 
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
is full of suntax errors, and  /> should produce character data in the
 head, which is another error so

Is this not a browser problem?

no, whether anything is rendered at all depends on undocumented error
recovery that may or may not occur in the browser.

If it is served as application/xml 
then
opera and mozilla will do what you expect, and IE will correctly (more
or less) parse it using msxml xml parser, the problem is not a parsing
one, it's a rendering one, the rendering is of the markup, with
javascript to allow folding the tree, as is done for any XML without an
<?xml-stylesheet link. Again that isn't a bug, it's conformant to the
specifications that it claims to support, it's just unhelpful.

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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>