Hi Daniel, We have had the issue that libxml2 encodes curly braces as character references in HTML output because of the following code in HTMLtree.c: escaped = xmlURIEscapeStr(tmp, BAD_CAST"@/:=?;#%&,+"); if (escaped != NULL) { xmlBufferWriteQuotedString(buf->buffer, escaped); xmlFree(escaped); } else { xmlBufferWriteQuotedString(buf->buffer, value); } We don’t think the curly braces, “{“ and “}”, should be changed to character references. Doing so causes a problem with the use of braces in a Server Response File (SRF) generated with libxml2. We change the first line of the above code
to: escaped = xmlURIEscapeStr(tmp, BAD_CAST"@/:=?;#%&,+{}"); to eliminate this issue. Could this be accepted as a fix to libxml2? Bruce Sinclair Software Systems Developer – Senior Principal Micro Focus 8310 N. Capital of Texas Hwy. Building 1, Suite 155 Shoretel 27023 Please consider the environment before printing this e-mail. |