Subject: Re: GOTCHA!
From: "Oren Ben-Kiki" <oren@xxxxxxxxxxxxx>
Date: Sun, 17 Jan 1999 10:15:52 +0200
|
James Clark <jjc@xxxxxxxxxx> wrote:
>Oren Ben-Kiki wrote:
>> Checked again. XT version 0.5 emits '>' and not '?>' at an end of a PI.
>
>Only if you make the result namespace HTML 4.0 (since a PI is terminated
>by > in HTML 4.0). If you don't declare a result namespace, it will
>terminate a PI with ?>, at least in the current version (I don't
>remember that as a bug, but maybe it was).
>
>> Also, it would emit '?>' inside the content without converting it to '?
>'
>> as per the spec.
>
>Right. That is a bug.
I'm not sure; remember this is in the HTML 4.0 namespace. SHouldn't an XSL
processor in such a namespace always convert '>' to '<' when inside a PI?
Converting '?>' to '? >' only makes sense in XML namespaces...
Have fun,
Oren Ben-Kiki
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Re: GOTCHA!, (continued)
- Oren Ben-Kiki - Fri, 15 Jan 1999 12:31:52 +0200
- Oren Ben-Kiki - Sun, 17 Jan 1999 10:15:52 +0200 <=
|
|