No, this is incorrect - the quotes should be quoted as %22 whereas they
appear literally.
Mark Bartel's patch of Feb 11 does the job. Thanks Mark!
Tom
Petr Cimprich wrote:
> I'm going back to this notice as it has remained unanswered.
>
> Escaping the href attribute in the same way as URIs is fine from my
> point of view. The XSLT specs suggest the html output method to
> escape non-ASCII characters in URI attribute values.
>
> All you need is to change your data or template so that the resulting
> href contains URL only.
>
> Regards,
> Petr
>
>
> Mark Bartel wrote:
>
>> I believe I've found a problem with how sablotron handles quoting of
>> quotes...
>>
>> This xml input snippet
>>
>> <raw>"The Economist"
>> <[EMAIL PROTECTED]></raw>
>>
>> with this corresponding stylesheet snippet
>>
>> <a><xsl:attribute name="href"><xsl:value-of
>> select="from/address/raw"/></xsl:attribute><xsl:value-of
>> select="from/address/name"/></a>
>>
>> produces the following output:
>>
>> <a
>> href=""The%20Economist"%20<[EMAIL PROTECTED]>">The
>> Economist</a>
>>
>> This is with the sabcmd in Debian unstable, which reports "sabcmd 0.50
>> (December 19, 2000)".
>>
>> The attached files demonstrate the problem.
>>
>> -Mark Bartel
>>
>> PS Great product!
>>