|
Subject: Re: GOTCHA! From: "Oren Ben-Kiki" <oren@xxxxxxxxxxxxx> Date: Thu, 14 Jan 1999 10:45:54 +0200 |
Keith Visco <kvisco@xxxxxxxxx> wrote:
> This is also a bug in my implementation (xslp). I built my XSL
>Processor on top of XML4j 1_1_4. I will have to look for the -- and
>separate them with a space as suggested in the xsl wd. I also do not
>appropriatly change the '<' and '>' found in the comment string back to
>< and > when I serialize the comment data. I will change this in
>the next build.
AFAIK one should _not_ convert '<' and '>' into < and > inside
<xsl:comment>, just '--' into '- -'. BTW, this is a truly unfortunate
choice - if the rule was to change '-->' into '-- >' then generated
JavaScript code wouldn't be broken as a result. Sadly it is required by the
XML standard (why couldn't they just ban '-->', instead of '--' itself?),
which is why we _need_ <xsl:cdata>.
Have fun,
Oren Ben-Kiki
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: GOTCHA!, James Clark | Thread | Re: GOTCHA!, David Carlisle |
| Re: GOTCHA!, Oren Ben-Kiki | Date | Re: XSL and HTML, Oren Ben-Kiki |
| Month |