This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: matching <br/> v. <br></br>
Here is some HTML that shows the problem in IE5:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body>
<span class="foo">this is line 1<br></br>this is line 2</span>
</body>
</html>
The above is an example of what is getting output.
However, I have been playing around with my setup for the last few days and
cannot reproduce the same output anymore. I moved up to jserv 1.1.2 (among
many other things) and I think the server is on jserv 1.1.1. I was seeing
quite a few strange things on my system so I have been correcting (?) them.
It is strange that it happened to my machine and to the dev server
(configured by by me and by admin types, repectively). I have been asking
for a correction in the content so I don't have to deal with it (the content
should not be that way to begin with...) or they upgrade the setup for this
site (which is quite large and involved...)
----- Original Message -----
From: "Michael Beddow" <mbnospam@mbeddow.net>
To: <xsl-list@lists.mulberrytech.com>
Sent: Saturday, February 03, 2001 11:28 AM
Subject: Re: [xsl] matching <br/> v. <br></br>
> On Saturday, February 03, 2001 6:57 PM
> Mike Brown wrote,
>
> > Robert Koberg wrote:
> > > Sorry it was not clear... did you try the source XML and XSL in
> Xalan? The
> > > version with the bug is Xalan2, it works as expected in Xalan1.2.
> [..]
>
> > I tried with Xalan 2 on the command line.
> >
> > With <xsl:output method="html" indent="no"/> the HTML produced by
> > Xalan is exactly the same as that produced by Saxon and is exactly
> > what I would expect to get.
> >
> > With <xsl:output method="html" indent="yes"/> the HTML produced by
> > Xalan has some rather unpleasant whitespace added, but nothing that
> > should cause the behavior you describe
>
> Now tried your example with Xalan C++ 1.0. No visible problems,
> output as Mike reports for Java version
>
> We really do need to see the html you're getting, Robert
>
> Michael
> ------------------------------------------
> Michael Beddow
> http://www.mbeddow.net/
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list