xsl-list
[Top] [All Lists]

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

2008-10-16 12:21:06
At 2008-10-16 17:09 +0100, David Carlisle wrote:
> the following instance renders correctly in Mozilla and Opera

what mime type?

I'm just opening the file from disk.

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

Did something get lost in my Eudora mailer? I'm not sure what you are trying to say.

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

The filename extension is ".xhtml".

In my customer scenario I am unsure how the files were being delivered on-the-fly, but authors doing a preview had the rendering problem with the bleeding formatting properties.

. . . . . . . . . . . Ken

--
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(_at_)CraneSoftwrights(_dot_)com
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


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