I don't know if this is the "proper" fix, but I solved my problem with the
following change:

------- cut here ------------
*** output.cpp.old      Wed Dec 20 02:57:21 2000
--- output.cpp  Sun Feb 11 16:06:34 2001
***************
*** 668,673 ****
--- 668,681 ----
              {
                  switch(escapeMode)
                  {
+                 case ESCAPING_HTML_URI:
+                 case ESCAPING_URI:
+                     {
+                         E( sendOut(smallBuf,
+                             writeCharacterRef(smallBuf, data, escapeMode),
+                             ESCAPING_NONE) );
+                         served = TRUE;
+                     }; break;
                  case ESCAPING_HTML_ATTR:
                  case ESCAPING_ATTR:
                      {
------- cut here ------------

-----Original Message-----
From: "Mark Bartel" <[EMAIL PROTECTED]>
Sent: Sun, 11 Feb 2001 00:24:30 -0500
To: Sablotron Mailing List <[EMAIL PROTECTED]>
Subject: [Sab] quoting issue

I believe I've found a problem with how sablotron handles quoting of
quotes...

This xml input snippet

    <raw>&quot;The Economist&quot;
&lt;[EMAIL PROTECTED]&gt;</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&lt;[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!

Reply via email to