+Sat Feb 11 13:10:01 CET 2006 Daniel Veillard <daniel@veillard.com>
+
+ * libxslt/xsltutils.c: fix xsltSaveResultToString comment
+ * libxslt/transform.c: detect loops when computing variables, should
+ fix bug #330772
+ * doc/xsltproc.xml doc/xsltproc.1: fix typo in man page
+ * tests/namespaces/tst7.out tests/general/bug-152.out: small output
+ changes due to libxml2 xhtml meta handling modification
+
Mon Nov 21 12:22:21 CET 2005 Daniel Veillard <daniel@veillard.com>
* libexslt/date.c: Albert Chin found another signed/unsigned problem
.TP
\fB\-\-path\fR \fIpaths\fR
-Use the list (separated by space or column) of filesystem paths specified by \fIpaths\fR to load DTDs, entities or documents\&.
+Use the list (separated by space or colon) of filesystem paths specified by \fIpaths\fR to load DTDs, entities or documents\&.
.TP
\fB\-\-load\-trace\fR
<term> <option>--path</option> <replaceable>paths</replaceable></term>
<listitem>
<simpara>
- Use the list (separated by space or column) of filesystem paths
+ Use the list (separated by space or colon) of filesystem paths
specified by <replaceable>paths</replaceable> to load
<acronym>DTDs</acronym>, entities or documents.
</simpara>
return;
CHECK_STOPPED;
- if (ctxt->templNr >= xsltMaxDepth) {
+ if ((ctxt->templNr >= xsltMaxDepth) ||
+ (ctxt->varsNr >= 5 * xsltMaxDepth)) {
xsltTransformError(ctxt, NULL, list,
"xsltApplyOneTemplate: loop found ???\n");
xsltGenericError(xsltGenericErrorContext,
* @style: the stylesheet
*
* Save the result @result obtained by applying the @style stylesheet
- * to a file or @URL
+ * to a new allocated string.
*
- * Returns the number of byte written or -1 in case of failure.
+ * Returns 0 in case of success and -1 in case of error
*/
int
xsltSaveResultToString(xmlChar **doc_txt_ptr, int * doc_txt_len,
<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
- <head><meta http-equiv="Content-Type" content="text/html; charset=US-ASCII" />
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII" />
<style type="text/css" media="all">@import
"pretty_xhtml.css";</style>
</head>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
- <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
A title
</title>