Subject: Re: [xsl] zero width no-break space to prevent tag minimisation From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Thu, 16 Oct 2008 12:20:37 -0400 |
> 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.
-- Upcoming XSLT/XSL-FO hands-on courses: Wellington, NZ 2009-01 Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video sample lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg Video course overview: http://www.youtube.com/watch?v=VTiodiij6gE G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] zero width no-break space, David Carlisle | Thread | Re: [xsl] zero width no-break space, David Carlisle |
Re: [xsl] zero width no-break space, David Carlisle | Date | Re: [xsl] zero width no-break space, Wendell Piez |
Month |