<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1352</id>
	<title>Nabble - Gnome - Lib</title>
	<updated>2009-12-03T08:00:13Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Gnome---Lib-f1352.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gnome---Lib-f1352.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26628408</id>
	<title>Re: Stack depth question...</title>
	<published>2009-12-03T08:00:13Z</published>
	<updated>2009-12-03T08:00:13Z</updated>
	<author>
		<name>Derick Winkworth-4</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt&quot;&gt;&lt;DIV&gt;So, stack depth isn't just a hard number like &quot;3000&quot; there is also a memory limit.&amp;nbsp; So the stack depth may be effectively&amp;nbsp;less if stack memory runs out before you hit the hard limit of 3000....&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style=&quot;FONT-SIZE: 10pt; FONT-FAMILY: Courier New, courier, monaco, monospace, sans-serif&quot;&gt;&lt;BR&gt;
&lt;DIV style=&quot;FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif&quot;&gt;&lt;FONT face=Tahoma size=2&gt;
&lt;HR SIZE=1&gt;
&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;From:&lt;/SPAN&gt;&lt;/B&gt; Nick Wellnhofer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26628408&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wellnhofer@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;To:&lt;/SPAN&gt;&lt;/B&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26628408&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xslt@...&lt;/a&gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Sent:&lt;/SPAN&gt;&lt;/B&gt; Wed, December 2, 2009 9:47:45 PM&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Subject:&lt;/SPAN&gt;&lt;/B&gt; Re: [xslt] Stack depth question...&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;On 03/12/09 04:04, Derick Winkworth wrote:&lt;BR&gt;&amp;gt; I am also running this version, but the win32 version from&lt;BR&gt;&amp;gt; http://www.zlatkovic.com/libxml.en.html&lt;BR&gt;&amp;gt;&lt;BR&gt;&amp;gt; hmm...&lt;BR&gt;&lt;BR&gt;Then your stack is probably overflowing. I think the default stack size &lt;BR&gt;on Windows is 1MB, on Linux it's 8MB.&lt;BR&gt;&lt;BR&gt;Nick&lt;BR&gt;_______________________________________________&lt;BR&gt;xslt mailing list, project page http://xmlsoft.org/XSLT/&lt;BR&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26628408&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xslt@...&lt;/a&gt;&lt;BR&gt;http://mail.gnome.org/mailman/listinfo/xslt&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;!-- cg1.c204.mail.gq1.yahoo.com
 compressed/chunked Tue Dec  1 09:34:38 PST 2009 --&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;xslt mailing list, project page &lt;a href=&quot;http://xmlsoft.org/XSLT/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlsoft.org/XSLT/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26628408&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xslt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/xslt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/xslt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Lib---Xslt-f1364.html&quot; embed=&quot;fixTarget[1364]&quot; target=&quot;_top&quot; &gt;Gnome - Lib - Xslt&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Stack-depth-question...-tp26619658p26628408.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26625607</id>
	<title>Re: Button and Sound Logic - Help Please</title>
	<published>2009-12-02T23:34:43Z</published>
	<updated>2009-12-02T23:34:43Z</updated>
	<author>
		<name>peterbyers1@btinternet.com</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;--- In &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26625607&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;svg-developers@...&lt;/a&gt;, &amp;quot;peterbyers1@...&amp;quot; &amp;lt;nospam@...&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Help Please
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am a &amp;quot;Sortof Newbe SVG Scripter&amp;quot; i managed to cobble together a script.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It is not pretty but it nearly does what I want it to do !!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It can be seen at
&lt;br&gt;&amp;gt; 	&lt;a href=&quot;http://www.byershostingpeter.co.uk/demo/helpplease.svg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.byershostingpeter.co.uk/demo/helpplease.svg&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; When I click on the &amp;quot;Ear Button&amp;quot; - sound starts and the &amp;quot;Stop sound button&amp;quot; appears.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On 'mouse over', it stops the sound.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; BUT
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I want the &amp;quot;Stop sound button&amp;quot; made invisible.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have played for hours and cannot do it - please show me how !!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt; Pete (Northolt UK)
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;Sorry - should have said that it only seems to work in Internet Explorer with Adobe AddOn installed
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---librsvg---Dev-f1359.html&quot; embed=&quot;fixTarget[1359]&quot; target=&quot;_top&quot; &gt;Gnome - librsvg - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Button-and-Sound-Logic---Help-Please-tp26616037p26625607.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26620620</id>
	<title>Re: Stack depth question...</title>
	<published>2009-12-02T19:47:45Z</published>
	<updated>2009-12-02T19:47:45Z</updated>
	<author>
		<name>Nick Wellnhofer</name>
	</author>
	<content type="html">On 03/12/09 04:04, Derick Winkworth wrote:
&lt;br&gt;&amp;gt; I am also running this version, but the win32 version from
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.zlatkovic.com/libxml.en.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.zlatkovic.com/libxml.en.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; hmm...
&lt;br&gt;&lt;br&gt;Then your stack is probably overflowing. I think the default stack size 
&lt;br&gt;on Windows is 1MB, on Linux it's 8MB.
&lt;br&gt;&lt;br&gt;Nick
&lt;br&gt;_______________________________________________
&lt;br&gt;xslt mailing list, project page &lt;a href=&quot;http://xmlsoft.org/XSLT/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlsoft.org/XSLT/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26620620&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xslt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/xslt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/xslt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Lib---Xslt-f1364.html&quot; embed=&quot;fixTarget[1364]&quot; target=&quot;_top&quot; &gt;Gnome - Lib - Xslt&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Stack-depth-question...-tp26619658p26620620.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26620313</id>
	<title>Re: Stack depth question...</title>
	<published>2009-12-02T19:04:06Z</published>
	<updated>2009-12-02T19:04:06Z</updated>
	<author>
		<name>Derick Winkworth-4</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:10pt&quot;&gt;&lt;div&gt;&lt;span&gt;I am also running this version, but the win32 version from &lt;a target=&quot;_blank&quot; href=&quot;http://www.zlatkovic.com/libxml.en.html&quot; rel=&quot;nofollow&quot;&gt;http://www.zlatkovic.com/libxml.en.html&lt;/a&gt;&lt;/span&gt;&lt;br&gt;&lt;br&gt;hmm...&lt;br&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 10pt;&quot;&gt;&lt;br&gt;&lt;div style=&quot;font-family: arial,helvetica,sans-serif; font-size: 13px;&quot;&gt;&lt;font face=&quot;Tahoma&quot; size=&quot;2&quot;&gt;&lt;hr size=&quot;1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt; Nick Wellnhofer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26620313&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wellnhofer@...&lt;/a&gt;&amp;gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;To:&lt;/span&gt;&lt;/b&gt; The Gnome XSLT library mailing-list &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26620313&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xslt@...&lt;/a&gt;&amp;gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Sent:&lt;/span&gt;&lt;/b&gt; Wed, December 2, 2009 8:26:55 PM&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Subject:&lt;/span&gt;&lt;/b&gt; Re: [xslt] Stack
 depth question...&lt;br&gt;&lt;/font&gt;&lt;br&gt;
On 03/12/09 02:33, Derick Winkworth wrote:&lt;br&gt;&amp;gt; I have these two scripts.&amp;nbsp; I wrote them to test if libxslt support tail&lt;br&gt;&amp;gt; recursion optimization.&amp;nbsp; I know now that it does not, but I did find&lt;br&gt;&amp;gt; some behavior I do not understand in the process.&amp;nbsp; The first script&lt;br&gt;&amp;gt; works when num is set to 2998, but fails when it is higher with a&lt;br&gt;&amp;gt; message about max depth being 3000...&amp;nbsp; The second script fails when num&lt;br&gt;&amp;gt; is set to 1875, but there is no error.&amp;nbsp; A debug/verbose is not showing&lt;br&gt;&amp;gt; me any errors.&amp;nbsp; Now I know that libxslt can sum up to 2998 = 4495501.&lt;br&gt;&amp;gt; The sum through 1874 is 1756875.&amp;nbsp; So its not like the the number is&lt;br&gt;&amp;gt; getting too big.&amp;nbsp; Can someone help me understand this?&lt;br&gt;&lt;br&gt;I ran the second script with libxslt 1.1.26 and it also works until 2998 and then gives an error message.&lt;br&gt;&lt;br&gt;Nick&lt;br&gt;_______________________________________________&lt;br&gt;&lt;span&gt;xslt mailing
 list, project page &lt;a target=&quot;_blank&quot; href=&quot;http://xmlsoft.org/XSLT/&quot; rel=&quot;nofollow&quot;&gt;http://xmlsoft.org/XSLT/&lt;/a&gt;&lt;/span&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26620313&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xslt@...&lt;/a&gt;&lt;br&gt;&lt;span&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://mail.gnome.org/mailman/listinfo/xslt&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/xslt&lt;/a&gt;&lt;/span&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
&lt;!-- cg2.c204.mail.gq1.yahoo.com compressed/chunked Wed Dec  2 18:11:06 PST 2009 --&gt;
&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;xslt mailing list, project page &lt;a href=&quot;http://xmlsoft.org/XSLT/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlsoft.org/XSLT/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26620313&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xslt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/xslt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/xslt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Lib---Xslt-f1364.html&quot; embed=&quot;fixTarget[1364]&quot; target=&quot;_top&quot; &gt;Gnome - Lib - Xslt&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Stack-depth-question...-tp26619658p26620313.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26620068</id>
	<title>Re: Stack depth question...</title>
	<published>2009-12-02T18:26:55Z</published>
	<updated>2009-12-02T18:26:55Z</updated>
	<author>
		<name>Nick Wellnhofer</name>
	</author>
	<content type="html">On 03/12/09 02:33, Derick Winkworth wrote:
&lt;br&gt;&amp;gt; I have these two scripts. &amp;nbsp;I wrote them to test if libxslt support tail
&lt;br&gt;&amp;gt; recursion optimization. &amp;nbsp;I know now that it does not, but I did find
&lt;br&gt;&amp;gt; some behavior I do not understand in the process. &amp;nbsp;The first script
&lt;br&gt;&amp;gt; works when num is set to 2998, but fails when it is higher with a
&lt;br&gt;&amp;gt; message about max depth being 3000... &amp;nbsp;The second script fails when num
&lt;br&gt;&amp;gt; is set to 1875, but there is no error. &amp;nbsp;A debug/verbose is not showing
&lt;br&gt;&amp;gt; me any errors. &amp;nbsp;Now I know that libxslt can sum up to 2998 = 4495501.
&lt;br&gt;&amp;gt; The sum through 1874 is 1756875. &amp;nbsp;So its not like the the number is
&lt;br&gt;&amp;gt; getting too big. &amp;nbsp;Can someone help me understand this?
&lt;br&gt;&lt;br&gt;I ran the second script with libxslt 1.1.26 and it also works until 2998 
&lt;br&gt;and then gives an error message.
&lt;br&gt;&lt;br&gt;Nick
&lt;br&gt;_______________________________________________
&lt;br&gt;xslt mailing list, project page &lt;a href=&quot;http://xmlsoft.org/XSLT/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlsoft.org/XSLT/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26620068&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xslt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/xslt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/xslt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Lib---Xslt-f1364.html&quot; embed=&quot;fixTarget[1364]&quot; target=&quot;_top&quot; &gt;Gnome - Lib - Xslt&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Stack-depth-question...-tp26619658p26620068.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26619994</id>
	<title>Re: Status of refactored code</title>
	<published>2009-12-02T18:18:19Z</published>
	<updated>2009-12-02T18:18:19Z</updated>
	<author>
		<name>Nick Wellnhofer</name>
	</author>
	<content type="html">On 03/12/09 00:28, Nick Wellnhofer wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; exslt/functions/function.8 fails with the following error message:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; compilation error: file ./function.8.xsl line 22 element param
&lt;br&gt;&amp;gt; Redefinition of variable or parameter 'in'.
&lt;br&gt;&amp;gt; compilation error: file ./function.8.xsl line 30 element param
&lt;br&gt;&amp;gt; Redefinition of variable or parameter 'in'.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; exslt/math/max.3 fails with a similar message
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This seems to be a problem in the refactored code wrt params of exslt
&lt;br&gt;&amp;gt; functions. Parameters of a different functions with the same name are
&lt;br&gt;&amp;gt; rejected as duplicate.
&lt;/div&gt;&lt;/div&gt;With the attached patch all the exslt tests pass.
&lt;br&gt;&lt;br /&gt;diff --git a/libxslt/xslt.c b/libxslt/xslt.c
&lt;br&gt;index 55f505b..28c8c59 100644
&lt;br&gt;--- a/libxslt/xslt.c
&lt;br&gt;+++ b/libxslt/xslt.c
&lt;br&gt;@@ -2432,13 +2432,13 @@ xsltCompilerNodePop(xsltCompilerCtxtPtr cctxt, xmlNodePtr node)
&lt;br&gt;&amp;nbsp;	&amp;quot;xsltCompilerNodePop: Depth mismatch.\n&amp;quot;);
&lt;br&gt;&amp;nbsp;	goto mismatch;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;cctxt-&amp;gt;depth--;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;/*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Pop information of variables.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if ((cctxt-&amp;gt;ivar) &amp;&amp; (cctxt-&amp;gt;ivar-&amp;gt;depth &amp;gt; cctxt-&amp;gt;depth))
&lt;br&gt;&amp;nbsp;	xsltCompilerVarInfoPop(cctxt);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp; &amp;nbsp;cctxt-&amp;gt;depth--;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;cctxt-&amp;gt;inode = cctxt-&amp;gt;inode-&amp;gt;prev;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (cctxt-&amp;gt;inode != NULL)
&lt;br&gt;&amp;nbsp;	cctxt-&amp;gt;inode-&amp;gt;curChildType = 0;
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;xslt mailing list, project page &lt;a href=&quot;http://xmlsoft.org/XSLT/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlsoft.org/XSLT/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26619994&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xslt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/xslt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/xslt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Lib---Xslt-f1364.html&quot; embed=&quot;fixTarget[1364]&quot; target=&quot;_top&quot; &gt;Gnome - Lib - Xslt&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Status-of-refactored-code-tp25835167p26619994.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26619658</id>
	<title>Stack depth question...</title>
	<published>2009-12-02T17:33:34Z</published>
	<updated>2009-12-02T17:33:34Z</updated>
	<author>
		<name>Derick Winkworth-4</name>
	</author>
	<content type="html">I have these two scripts. &amp;nbsp;I wrote them to test if libxslt support tail
&lt;br&gt;recursion optimization. &amp;nbsp;I know now that it does not, but I did find
&lt;br&gt;some behavior I do not understand in the process. &amp;nbsp;The first script
&lt;br&gt;works when num is set to 2998, but fails when it is higher with a
&lt;br&gt;message about max depth being 3000... &amp;nbsp;The second script fails when num
&lt;br&gt;is set to 1875, but there is no error. &amp;nbsp;A debug/verbose is not showing
&lt;br&gt;me any errors. &amp;nbsp;Now I know that libxslt can sum up to 2998 = 4495501. 
&lt;br&gt;The sum through 1874 is 1756875. &amp;nbsp;So its not like the the number is
&lt;br&gt;getting too big. &amp;nbsp;Can someone help me understand this?
&lt;br&gt;&lt;br&gt;###script 1####
&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;xsl:stylesheet xmlns:xsl=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/XSL/Transform&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/XSL/Transform&lt;/a&gt;&amp;quot;
&lt;br&gt;version=&amp;quot;1.0&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;xsl:template match=&amp;quot;/&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;output&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:call-template name=&amp;quot;additup&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:with-param name=&amp;quot;num&amp;quot; select=&amp;quot;3000&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xsl:call-template&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/output&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/xsl:template&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;xsl:template name=&amp;quot;additup&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:param name=&amp;quot;sum_acc&amp;quot; select=&amp;quot;0&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:param name=&amp;quot;num&amp;quot; select=&amp;quot;0&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:choose&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:when test=&amp;quot;$num = 0&amp;quot;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:value-of select=&amp;quot;$sum_acc&amp;quot;/&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xsl:when&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:otherwise&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:call-template name=&amp;quot;additup&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:with-param name=&amp;quot;sum_acc&amp;quot; select=&amp;quot;$sum_acc +
&lt;br&gt;$num&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:with-param name=&amp;quot;num&amp;quot; select=&amp;quot;$num - 1&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xsl:call-template&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xsl:otherwise&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xsl:choose&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/xsl:template&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;lt;/xsl:stylesheet&amp;gt;
&lt;br&gt;################
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;####script 2#########
&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;xsl:stylesheet xmlns:xsl=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/XSL/Transform&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/XSL/Transform&lt;/a&gt;&amp;quot;
&lt;br&gt;version=&amp;quot;1.0&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;xsl:template match=&amp;quot;/&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;output&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:call-template name=&amp;quot;additup&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:with-param name=&amp;quot;num&amp;quot; select=&amp;quot;1875&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xsl:call-template&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/output&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/xsl:template&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;xsl:template name=&amp;quot;additup&amp;quot;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:param name=&amp;quot;num&amp;quot; select=&amp;quot;0&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:choose&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:when test=&amp;quot;$num = 0&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:value-of select=&amp;quot;0&amp;quot;/&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xsl:when&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:otherwise&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:variable name=&amp;quot;tailsum&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:call-template
&lt;br&gt;name=&amp;quot;additup&amp;quot;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:with-param name=&amp;quot;num&amp;quot; select=&amp;quot;$num - 1&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xsl:call-template&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xsl:variable&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xsl:value-of select=&amp;quot;$num + $tailsum&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xsl:otherwise&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xsl:choose&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/xsl:template&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;lt;/xsl:stylesheet&amp;gt;
&lt;br&gt;########################
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xslt mailing list, project page &lt;a href=&quot;http://xmlsoft.org/XSLT/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlsoft.org/XSLT/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26619658&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xslt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/xslt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/xslt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Lib---Xslt-f1364.html&quot; embed=&quot;fixTarget[1364]&quot; target=&quot;_top&quot; &gt;Gnome - Lib - Xslt&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Stack-depth-question...-tp26619658p26619658.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26618510</id>
	<title>Re: Status of refactored code</title>
	<published>2009-12-02T15:28:03Z</published>
	<updated>2009-12-02T15:28:03Z</updated>
	<author>
		<name>Nick Wellnhofer</name>
	</author>
	<content type="html">On 02/12/09 14:27, Daniel Veillard wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sat, Oct 10, 2009 at 05:22:37PM +0200, Nick Wellnhofer wrote:
&lt;br&gt;&amp;gt;&amp;gt; I wonder what's the status of the refactored code in libxslt that can be
&lt;br&gt;&amp;gt;&amp;gt; enabled by defining XSLT_REFACTORED. It's been there for some years now
&lt;br&gt;&amp;gt;&amp;gt; and AFAICS it fixes some bugs that are hard to fix without the refactoring.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I gave it a try about two years ago and I couldn't find any obvious
&lt;br&gt;&amp;gt;&amp;gt; problems.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Hum, Kasimier left before we really validated it fully,
&lt;br&gt;&amp;gt; if you think it's fine and ready, maybe I should have a look,
&lt;br&gt;&amp;gt; I won't have much time before the end of year vacations but
&lt;br&gt;&amp;gt; I should be able to looks at things at the end of December
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Any additional testing or regression tests you could provide
&lt;br&gt;&amp;gt; showing the bug fixed would be a good step forward :-)
&lt;/div&gt;&lt;/div&gt;It fixes some of the bugs assigned to Kasimier in Bugzilla:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;https://bugzilla.gnome.org/buglist.cgi?query_format=advanced;emailassigned_to1=1;order=Bug%20Number;bug_status=UNCONFIRMED;bug_status=NEW;bug_status=ASSIGNED;bug_status=REOPENED;bug_status=NEEDINFO;email1=kbuchcik;product=libxslt;emailtype1=substring&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.gnome.org/buglist.cgi?query_format=advanced;emailassigned_to1=1;order=Bug%20Number;bug_status=UNCONFIRMED;bug_status=NEW;bug_status=ASSIGNED;bug_status=REOPENED;bug_status=NEEDINFO;email1=kbuchcik;product=libxslt;emailtype1=substring&lt;/a&gt;&lt;br&gt;&lt;br&gt;I can't really judge if the refactored code is ready. But I didn't find 
&lt;br&gt;any problems last time I gave it a try.
&lt;br&gt;&lt;br&gt;Attached is a diff of the test output when running the tests with or 
&lt;br&gt;without the refactored code. The exslt failures definitely look like a 
&lt;br&gt;problem.
&lt;br&gt;&lt;br&gt;&lt;br&gt;REC/test-7.1.1-3
&lt;br&gt;&lt;br&gt;Fixed by the refactored code
&lt;br&gt;&lt;br&gt;&lt;br&gt;REC/test-2.5-1
&lt;br&gt;general/bug-114
&lt;br&gt;general/bug-164
&lt;br&gt;general/bug-60
&lt;br&gt;&lt;br&gt;Maybe these are just differently worded error and warning messages. I'm 
&lt;br&gt;not sure.
&lt;br&gt;&lt;br&gt;&lt;br&gt;REC/test-7.1.1
&lt;br&gt;&lt;br&gt;Looks like a result of the fix to bug #341325.
&lt;br&gt;&lt;br&gt;&lt;br&gt;general/bug-150
&lt;br&gt;general/bug-71
&lt;br&gt;namespaces/tst5
&lt;br&gt;&lt;br&gt;Different order of namespace declarations
&lt;br&gt;&lt;br&gt;&lt;br&gt;exslt/functions/function.8 fails with the following error message:
&lt;br&gt;&lt;br&gt;compilation error: file ./function.8.xsl line 22 element param
&lt;br&gt;Redefinition of variable or parameter 'in'.
&lt;br&gt;compilation error: file ./function.8.xsl line 30 element param
&lt;br&gt;Redefinition of variable or parameter 'in'.
&lt;br&gt;&lt;br&gt;exslt/math/max.3 fails with a similar message
&lt;br&gt;&lt;br&gt;This seems to be a problem in the refactored code wrt params of exslt 
&lt;br&gt;functions. Parameters of a different functions with the same name are 
&lt;br&gt;rejected as duplicate.
&lt;br&gt;&lt;br&gt;Nick
&lt;br&gt;&lt;br /&gt;--- test_current.log	2009-12-02 23:35:26.000000000 +0100
&lt;br&gt;+++ test_refactored.log	2009-12-02 23:31:47.000000000 +0100
&lt;br&gt;@@ -9,18 +9,44 @@
&lt;br&gt;&amp;nbsp;make[1]: Leaving directory `/home/nik/src/libxslt/tests/REC2'
&lt;br&gt;&amp;nbsp;make[1]: Entering directory `/home/nik/src/libxslt/tests/REC'
&lt;br&gt;&amp;nbsp;## Running REC tests
&lt;br&gt;-test-7.1.1-3 result
&lt;br&gt;-2c2 &amp;lt; &amp;lt;out&amp;gt;SUCCESS&amp;lt;/out&amp;gt; --- &amp;gt; &amp;lt;out xmlns:doc=&amp;quot;&lt;a href=&quot;http://example.org/doc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://example.org/doc&lt;/a&gt;&amp;quot;&amp;gt;SUCCESS&amp;lt;/out&amp;gt;
&lt;br&gt;+test-2.5-1 result
&lt;br&gt;+1,4c1,2 &amp;lt; compilation error: file ./test-2.5-1.xsl line 6 element exciting-new-1.8-feature &amp;lt; xsltStylePreCompute: unknown xsl:exciting-new-1.8-feature &amp;lt; compilation error: file ./test-2.5-1.xsl line 2 element stylesheet &amp;lt; xsl:version: only 1.0 features are supported --- &amp;gt; compilation warning: file ./test-2.5-1.xsl line 2 element stylesheet &amp;gt; Warning: the attribute xsl:version specifies a value different from '1.0'. Switching to forwards-compatible mode. Only features of XSLT 1.0 are supported by this processor.
&lt;br&gt;+test-7.1.1 result
&lt;br&gt;+2,8c2,8 &amp;lt; &amp;lt;axsl:stylesheet xmlns:axsl=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/XSL/Transform&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/XSL/Transform&lt;/a&gt;&amp;quot; xmlns:fo=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/XSL/Format&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/XSL/Format&lt;/a&gt;&amp;quot;&amp;gt; &amp;lt; &amp;lt;axsl:template match=&amp;quot;p&amp;quot;&amp;gt;&amp;lt;fo:block&amp;gt;&amp;lt;axsl:apply-templates/&amp;gt;&amp;lt;/fo:block&amp;gt;&amp;lt;/axsl:template&amp;gt; &amp;lt; &amp;lt;axsl:template match=&amp;quot;h1&amp;quot;&amp;gt;&amp;lt;fo:block&amp;gt;&amp;lt;axsl:apply-templates/&amp;gt;&amp;lt;/fo:block&amp;gt;&amp;lt;/axsl:template&amp;gt; &amp;lt; &amp;lt;axsl:template match=&amp;quot;h2&amp;quot;&amp;gt;&amp;lt;fo:block&amp;gt;&amp;lt;axsl:apply-templates/&amp;gt;&amp;lt;/fo:block&amp;gt;&amp;lt;/axsl:template&amp;gt; &amp;lt; &amp;lt;axsl:template match=&amp;quot;h3&amp;quot;&amp;gt;&amp;lt;fo:block&amp;gt;&amp;lt;axsl:apply-templates/&amp;gt;&amp;lt;/fo:block&amp;gt;&amp;lt;/axsl:template&amp;gt; &amp;lt; &amp;lt;axsl:template match=&amp;quot;h4&amp;quot;&amp;gt;&amp;lt;fo:block&amp;gt;&amp;lt;axsl:apply-templates/&amp;gt;&amp;lt;/fo:block&amp;gt;&amp;lt;/axsl:template&amp;gt; &amp;lt; &amp;lt;/axsl:stylesheet&amp;gt; --- &amp;gt; &amp;lt;xsl:stylesheet xmlns:fo=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/XSL/Format&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/XSL/Format&lt;/a&gt;&amp;quot; xmlns:xsl=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/XSL/Transform&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/XSL/Transform&lt;/a&gt;&amp;quot;&amp;gt; &amp;gt; &amp;lt;xsl:template match=&amp;quot;p&amp;quot;&amp;gt;&amp;lt;fo:block&amp;gt;&amp;lt;xsl:apply-templates/&amp;gt;&amp;lt;/fo:block&amp;gt;&amp;lt;/xsl:template&amp;gt; &amp;gt; &amp;lt;xsl:template match=&amp;quot;h1&amp;quot;&amp;gt;&amp;lt;fo:block&amp;gt;&amp;lt;xsl:apply-templates/&amp;gt;&amp;lt;/fo:block&amp;gt;&amp;lt;/xsl:template&amp;gt; &amp;gt; &amp;lt;xsl:template match=&amp;quot;h2&amp;quot;&amp;gt;&amp;lt;fo:block&amp;gt;&amp;lt;xsl:apply-templates/&amp;gt;&amp;lt;/fo:block&amp;gt;&amp;lt;/xsl:template&amp;gt; &amp;gt; &amp;lt;xsl:template match=&amp;quot;h3&amp;quot;&amp;gt;&amp;lt;fo:block&amp;gt;&amp;lt;xsl:apply-templates/&amp;gt;&amp;lt;/fo:block&amp;gt;&amp;lt;/xsl:template&amp;gt; &amp;gt; &amp;lt;xsl:template match=&amp;quot;h4&amp;quot;&amp;gt;&amp;lt;fo:block&amp;gt;&amp;lt;xsl:apply-templates/&amp;gt;&amp;lt;/fo:block&amp;gt;&amp;lt;/xsl:template&amp;gt; &amp;gt; &amp;lt;/xsl:stylesheet&amp;gt;
&lt;br&gt;&amp;nbsp;## Running REC tests without dictionaries
&lt;br&gt;-test-7.1.1-3 result
&lt;br&gt;-2c2 &amp;lt; &amp;lt;out&amp;gt;SUCCESS&amp;lt;/out&amp;gt; --- &amp;gt; &amp;lt;out xmlns:doc=&amp;quot;&lt;a href=&quot;http://example.org/doc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://example.org/doc&lt;/a&gt;&amp;quot;&amp;gt;SUCCESS&amp;lt;/out&amp;gt;
&lt;br&gt;+test-2.5-1 result
&lt;br&gt;+1,4c1,2 &amp;lt; compilation error: file ./test-2.5-1.xsl line 6 element exciting-new-1.8-feature &amp;lt; xsltStylePreCompute: unknown xsl:exciting-new-1.8-feature &amp;lt; compilation error: file ./test-2.5-1.xsl line 2 element stylesheet &amp;lt; xsl:version: only 1.0 features are supported --- &amp;gt; compilation warning: file ./test-2.5-1.xsl line 2 element stylesheet &amp;gt; Warning: the attribute xsl:version specifies a value different from '1.0'. Switching to forwards-compatible mode. Only features of XSLT 1.0 are supported by this processor.
&lt;br&gt;+test-7.1.1 result
&lt;br&gt;+2,8c2,8 &amp;lt; &amp;lt;axsl:stylesheet xmlns:axsl=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/XSL/Transform&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/XSL/Transform&lt;/a&gt;&amp;quot; xmlns:fo=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/XSL/Format&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/XSL/Format&lt;/a&gt;&amp;quot;&amp;gt; &amp;lt; &amp;lt;axsl:template match=&amp;quot;p&amp;quot;&amp;gt;&amp;lt;fo:block&amp;gt;&amp;lt;axsl:apply-templates/&amp;gt;&amp;lt;/fo:block&amp;gt;&amp;lt;/axsl:template&amp;gt; &amp;lt; &amp;lt;axsl:template match=&amp;quot;h1&amp;quot;&amp;gt;&amp;lt;fo:block&amp;gt;&amp;lt;axsl:apply-templates/&amp;gt;&amp;lt;/fo:block&amp;gt;&amp;lt;/axsl:template&amp;gt; &amp;lt; &amp;lt;axsl:template match=&amp;quot;h2&amp;quot;&amp;gt;&amp;lt;fo:block&amp;gt;&amp;lt;axsl:apply-templates/&amp;gt;&amp;lt;/fo:block&amp;gt;&amp;lt;/axsl:template&amp;gt; &amp;lt; &amp;lt;axsl:template match=&amp;quot;h3&amp;quot;&amp;gt;&amp;lt;fo:block&amp;gt;&amp;lt;axsl:apply-templates/&amp;gt;&amp;lt;/fo:block&amp;gt;&amp;lt;/axsl:template&amp;gt; &amp;lt; &amp;lt;axsl:template match=&amp;quot;h4&amp;quot;&amp;gt;&amp;lt;fo:block&amp;gt;&amp;lt;axsl:apply-templates/&amp;gt;&amp;lt;/fo:block&amp;gt;&amp;lt;/axsl:template&amp;gt; &amp;lt; &amp;lt;/axsl:stylesheet&amp;gt; --- &amp;gt; &amp;lt;xsl:stylesheet xmlns:fo=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/XSL/Format&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/XSL/Format&lt;/a&gt;&amp;quot; xmlns:xsl=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/XSL/Transform&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/XSL/Transform&lt;/a&gt;&amp;quot;&amp;gt; &amp;gt; &amp;lt;xsl:template match=&amp;quot;p&amp;quot;&amp;gt;&amp;lt;fo:block&amp;gt;&amp;lt;xsl:apply-templates/&amp;gt;&amp;lt;/fo:block&amp;gt;&amp;lt;/xsl:template&amp;gt; &amp;gt; &amp;lt;xsl:template match=&amp;quot;h1&amp;quot;&amp;gt;&amp;lt;fo:block&amp;gt;&amp;lt;xsl:apply-templates/&amp;gt;&amp;lt;/fo:block&amp;gt;&amp;lt;/xsl:template&amp;gt; &amp;gt; &amp;lt;xsl:template match=&amp;quot;h2&amp;quot;&amp;gt;&amp;lt;fo:block&amp;gt;&amp;lt;xsl:apply-templates/&amp;gt;&amp;lt;/fo:block&amp;gt;&amp;lt;/xsl:template&amp;gt; &amp;gt; &amp;lt;xsl:template match=&amp;quot;h3&amp;quot;&amp;gt;&amp;lt;fo:block&amp;gt;&amp;lt;xsl:apply-templates/&amp;gt;&amp;lt;/fo:block&amp;gt;&amp;lt;/xsl:template&amp;gt; &amp;gt; &amp;lt;xsl:template match=&amp;quot;h4&amp;quot;&amp;gt;&amp;lt;fo:block&amp;gt;&amp;lt;xsl:apply-templates/&amp;gt;&amp;lt;/fo:block&amp;gt;&amp;lt;/xsl:template&amp;gt; &amp;gt; &amp;lt;/xsl:stylesheet&amp;gt;
&lt;br&gt;&amp;nbsp;make[1]: Leaving directory `/home/nik/src/libxslt/tests/REC'
&lt;br&gt;&amp;nbsp;make[1]: Entering directory `/home/nik/src/libxslt/tests/general'
&lt;br&gt;&amp;nbsp;## Running general tests
&lt;br&gt;+bug-114 result
&lt;br&gt;+0a1,2 &amp;gt; compilation warning: file ./bug-114.xsl line 4 element stylesheet &amp;gt; Warning: the attribute xsl:version specifies a value different from '1.0'. Switching to forwards-compatible mode. Only features of XSLT 1.0 are supported by this processor.
&lt;br&gt;+bug-150 result
&lt;br&gt;+2c2 &amp;lt; &amp;lt;root xmlns=&amp;quot;urn:A&amp;quot; xmlns:b=&amp;quot;urn:B&amp;quot; xmlns:a=&amp;quot;urn:A&amp;quot;&amp;gt;&amp;lt;Product a:ID=&amp;quot;1001&amp;quot;/&amp;gt;&amp;lt;/root&amp;gt; --- &amp;gt; &amp;lt;root xmlns:b=&amp;quot;urn:B&amp;quot; xmlns:a=&amp;quot;urn:A&amp;quot; xmlns=&amp;quot;urn:A&amp;quot;&amp;gt;&amp;lt;Product a:ID=&amp;quot;1001&amp;quot;/&amp;gt;&amp;lt;/root&amp;gt;
&lt;br&gt;+bug-164 result
&lt;br&gt;+0a1,2 &amp;gt; compilation warning: file ./bug-164.xsl line 5 element stylesheet &amp;gt; Warning: the attribute xsl:version specifies a value different from '1.0'. Switching to forwards-compatible mode. Only features of XSLT 1.0 are supported by this processor.
&lt;br&gt;+bug-60 result
&lt;br&gt;+1,2c1,2 &amp;lt; compilation error: file ./bug-60.xsl line 6 element foo-of &amp;lt; xsltStylePreCompute: unknown xsl:foo-of --- &amp;gt; compilation warning: file ./bug-60.xsl line 5 element result &amp;gt; Warning: the attribute xsl:version specifies a value different from '1.0'. Switching to forwards-compatible mode. Only features of XSLT 1.0 are supported by this processor.
&lt;br&gt;+bug-71 result
&lt;br&gt;+2c2 &amp;lt; &amp;lt;pa:Contact xmlns:pa=&amp;quot;urn:test:pa&amp;quot; xmlns:rdf=&amp;quot;urn:test:rdf&amp;quot; rdf:about=&amp;quot;hello&amp;quot;&amp;gt;&amp;lt;pa:primaryPhone rdf:about=&amp;quot;toto&amp;quot;/&amp;gt;&amp;lt;/pa:Contact&amp;gt; --- &amp;gt; &amp;lt;pa:Contact xmlns:rdf=&amp;quot;urn:test:rdf&amp;quot; xmlns:pa=&amp;quot;urn:test:pa&amp;quot; rdf:about=&amp;quot;hello&amp;quot;&amp;gt;&amp;lt;pa:primaryPhone rdf:about=&amp;quot;toto&amp;quot;/&amp;gt;&amp;lt;/pa:Contact&amp;gt;
&lt;br&gt;&amp;nbsp;## Running general tests without dictionaries
&lt;br&gt;+bug-114 result
&lt;br&gt;+0a1,2 &amp;gt; compilation warning: file ./bug-114.xsl line 4 element stylesheet &amp;gt; Warning: the attribute xsl:version specifies a value different from '1.0'. Switching to forwards-compatible mode. Only features of XSLT 1.0 are supported by this processor.
&lt;br&gt;+bug-150 result
&lt;br&gt;+2c2 &amp;lt; &amp;lt;root xmlns=&amp;quot;urn:A&amp;quot; xmlns:b=&amp;quot;urn:B&amp;quot; xmlns:a=&amp;quot;urn:A&amp;quot;&amp;gt;&amp;lt;Product a:ID=&amp;quot;1001&amp;quot;/&amp;gt;&amp;lt;/root&amp;gt; --- &amp;gt; &amp;lt;root xmlns:b=&amp;quot;urn:B&amp;quot; xmlns:a=&amp;quot;urn:A&amp;quot; xmlns=&amp;quot;urn:A&amp;quot;&amp;gt;&amp;lt;Product a:ID=&amp;quot;1001&amp;quot;/&amp;gt;&amp;lt;/root&amp;gt;
&lt;br&gt;+bug-164 result
&lt;br&gt;+0a1,2 &amp;gt; compilation warning: file ./bug-164.xsl line 5 element stylesheet &amp;gt; Warning: the attribute xsl:version specifies a value different from '1.0'. Switching to forwards-compatible mode. Only features of XSLT 1.0 are supported by this processor.
&lt;br&gt;+bug-60 result
&lt;br&gt;+1,2c1,2 &amp;lt; compilation error: file ./bug-60.xsl line 6 element foo-of &amp;lt; xsltStylePreCompute: unknown xsl:foo-of --- &amp;gt; compilation warning: file ./bug-60.xsl line 5 element result &amp;gt; Warning: the attribute xsl:version specifies a value different from '1.0'. Switching to forwards-compatible mode. Only features of XSLT 1.0 are supported by this processor.
&lt;br&gt;+bug-71 result
&lt;br&gt;+2c2 &amp;lt; &amp;lt;pa:Contact xmlns:pa=&amp;quot;urn:test:pa&amp;quot; xmlns:rdf=&amp;quot;urn:test:rdf&amp;quot; rdf:about=&amp;quot;hello&amp;quot;&amp;gt;&amp;lt;pa:primaryPhone rdf:about=&amp;quot;toto&amp;quot;/&amp;gt;&amp;lt;/pa:Contact&amp;gt; --- &amp;gt; &amp;lt;pa:Contact xmlns:rdf=&amp;quot;urn:test:rdf&amp;quot; xmlns:pa=&amp;quot;urn:test:pa&amp;quot; rdf:about=&amp;quot;hello&amp;quot;&amp;gt;&amp;lt;pa:primaryPhone rdf:about=&amp;quot;toto&amp;quot;/&amp;gt;&amp;lt;/pa:Contact&amp;gt;
&lt;br&gt;&amp;nbsp;make[1]: Leaving directory `/home/nik/src/libxslt/tests/general'
&lt;br&gt;&amp;nbsp;make[1]: Entering directory `/home/nik/src/libxslt/tests/namespaces'
&lt;br&gt;&amp;nbsp;## Running namespaces tests
&lt;br&gt;+tst5 result
&lt;br&gt;+2c2 &amp;lt; &amp;lt;windows xmlns=&amp;quot;&lt;a href=&quot;http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul&lt;/a&gt;&amp;quot; xmlns:xhtml=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/xhtml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;&amp;quot;&amp;gt; --- &amp;gt; &amp;lt;windows xmlns:xhtml=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/xhtml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;&amp;quot; xmlns=&amp;quot;&lt;a href=&quot;http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp;make[1]: Leaving directory `/home/nik/src/libxslt/tests/namespaces'
&lt;br&gt;&amp;nbsp;make[1]: Entering directory `/home/nik/src/libxslt/tests/keys'
&lt;br&gt;&amp;nbsp;## Running keys tests
&lt;br&gt;@@ -143,9 +169,13 @@
&lt;br&gt;&amp;nbsp;make[2]: Leaving directory `/home/nik/src/libxslt/tests/exslt/common'
&lt;br&gt;&amp;nbsp;make[2]: Entering directory `/home/nik/src/libxslt/tests/exslt/functions'
&lt;br&gt;&amp;nbsp;## Running exslt function tests
&lt;br&gt;+function.8 result
&lt;br&gt;+Fatal error, no function.8.res\n
&lt;br&gt;&amp;nbsp;make[2]: Leaving directory `/home/nik/src/libxslt/tests/exslt/functions'
&lt;br&gt;&amp;nbsp;make[2]: Entering directory `/home/nik/src/libxslt/tests/exslt/math'
&lt;br&gt;&amp;nbsp;## Running exslt math tests
&lt;br&gt;+max.3 result
&lt;br&gt;+Fatal error, no max.3.res\n
&lt;br&gt;&amp;nbsp;make[2]: Leaving directory `/home/nik/src/libxslt/tests/exslt/math'
&lt;br&gt;&amp;nbsp;make[2]: Entering directory `/home/nik/src/libxslt/tests/exslt/sets'
&lt;br&gt;&amp;nbsp;## Running exslt sets tests
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;xslt mailing list, project page &lt;a href=&quot;http://xmlsoft.org/XSLT/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlsoft.org/XSLT/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26618510&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xslt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/xslt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/xslt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Lib---Xslt-f1364.html&quot; embed=&quot;fixTarget[1364]&quot; target=&quot;_top&quot; &gt;Gnome - Lib - Xslt&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Status-of-refactored-code-tp25835167p26618510.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26616037</id>
	<title>Button and Sound Logic - Help Please</title>
	<published>2009-12-02T12:17:19Z</published>
	<updated>2009-12-02T12:17:19Z</updated>
	<author>
		<name>peterbyers1@btinternet.com</name>
	</author>
	<content type="html">Help Please
&lt;br&gt;&lt;br&gt;I am a &amp;quot;Sortof Newbe SVG Scripter&amp;quot; i managed to cobble together a script.
&lt;br&gt;&lt;br&gt;It is not pretty but it nearly does what I want it to do !!
&lt;br&gt;&lt;br&gt;It can be seen at
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.byershostingpeter.co.uk/demo/helpplease.svg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.byershostingpeter.co.uk/demo/helpplease.svg&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;When I click on the &amp;quot;Ear Button&amp;quot; - sound starts and the &amp;quot;Stop sound button&amp;quot; appears.
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 'mouse over', it stops the sound.
&lt;br&gt;&lt;br&gt;&lt;br&gt;BUT
&lt;br&gt;&lt;br&gt;I want the &amp;quot;Stop sound button&amp;quot; made invisible.
&lt;br&gt;&lt;br&gt;&lt;br&gt;I have played for hours and cannot do it - please show me how !!
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Pete (Northolt UK)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---librsvg---Dev-f1359.html&quot; embed=&quot;fixTarget[1359]&quot; target=&quot;_top&quot; &gt;Gnome - librsvg - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Button-and-Sound-Logic---Help-Please-tp26616037p26616037.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26611522</id>
	<title>[PATCH] xsltproc stringparam</title>
	<published>2009-12-02T08:11:41Z</published>
	<updated>2009-12-02T08:11:41Z</updated>
	<author>
		<name>Alexander Shigin</name>
	</author>
	<content type="html">The current documentation refers string parameter can't contain both
&lt;br&gt;quote and double-quotes. It confuses me a while ago because it makes me
&lt;br&gt;think I can't use parameters with both quotes with XSLT at all.
&lt;br&gt;&lt;br&gt;The attached patch allows to use both quotes and changes man page.
&lt;br&gt;&lt;br&gt;I can't find any test for xsltproc, if one exist I would be pleased to
&lt;br&gt;add test for the case.
&lt;br&gt;&lt;br&gt;P. S. I think it would be pretty nice for download page
&lt;br&gt;(&lt;a href=&quot;http://xmlsoft.org/XSLT/downloads.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlsoft.org/XSLT/downloads.html&lt;/a&gt;) to points to current git
&lt;br&gt;repository instead of outdated svn one.
&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[strparam.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;diff --git a/doc/xsltproc.1 b/doc/xsltproc.1
&lt;br&gt;index d94e7a2..5755640 100644
&lt;br&gt;--- a/doc/xsltproc.1
&lt;br&gt;+++ b/doc/xsltproc.1
&lt;br&gt;@@ -310,11 +310,6 @@ Error in one of the documents
&lt;br&gt;&amp;nbsp;Unsupported xsl:output method
&lt;br&gt;&amp;nbsp;.RE
&lt;br&gt;&amp;nbsp;.PP
&lt;br&gt;-\fB8\fR
&lt;br&gt;-.RS 4
&lt;br&gt;-String parameter contains both quote and double\-quotes
&lt;br&gt;-.RE
&lt;br&gt;-.PP
&lt;br&gt;&amp;nbsp;\fB9\fR
&lt;br&gt;&amp;nbsp;.RS 4
&lt;br&gt;&amp;nbsp;Internal processing error
&lt;br&gt;diff --git a/doc/xsltproc.xml b/doc/xsltproc.xml
&lt;br&gt;index d3849e2..0742b02 100644
&lt;br&gt;--- a/doc/xsltproc.xml
&lt;br&gt;+++ b/doc/xsltproc.xml
&lt;br&gt;@@ -512,13 +512,6 @@ the XPath expression must be UTF-8 encoded.
&lt;br&gt;&amp;nbsp;		&amp;lt;/varlistentry&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;		&amp;lt;varlistentry&amp;gt;
&lt;br&gt;-	&amp;lt;term&amp;gt;&amp;lt;errorcode&amp;gt;8&amp;lt;/errorcode&amp;gt;&amp;lt;/term&amp;gt;
&lt;br&gt;-	&amp;lt;listitem&amp;gt;
&lt;br&gt;-		&amp;lt;para&amp;gt;String parameter contains both quote and double-quotes&amp;lt;/para&amp;gt;
&lt;br&gt;-	&amp;lt;/listitem&amp;gt;
&lt;br&gt;-		&amp;lt;/varlistentry&amp;gt;
&lt;br&gt;-
&lt;br&gt;-		&amp;lt;varlistentry&amp;gt;
&lt;br&gt;&amp;nbsp;	&amp;lt;term&amp;gt;&amp;lt;errorcode&amp;gt;9&amp;lt;/errorcode&amp;gt;&amp;lt;/term&amp;gt;
&lt;br&gt;&amp;nbsp;	&amp;lt;listitem&amp;gt;
&lt;br&gt;&amp;nbsp;		&amp;lt;para&amp;gt;Internal processing error&amp;lt;/para&amp;gt;
&lt;br&gt;diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c
&lt;br&gt;index e978a63..63a48e4 100644
&lt;br&gt;--- a/xsltproc/xsltproc.c
&lt;br&gt;+++ b/xsltproc/xsltproc.c
&lt;br&gt;@@ -8,6 +8,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#include &amp;quot;libxslt/libxslt.h&amp;quot;
&lt;br&gt;&amp;nbsp;#include &amp;quot;libexslt/exslt.h&amp;quot;
&lt;br&gt;+#include &amp;quot;libxslt/variables.h&amp;quot;
&lt;br&gt;&amp;nbsp;#include &amp;lt;stdio.h&amp;gt;
&lt;br&gt;&amp;nbsp;#ifdef HAVE_STRING_H
&lt;br&gt;&amp;nbsp;#include &amp;lt;string.h&amp;gt;
&lt;br&gt;@@ -96,7 +97,7 @@ static int profile = 0;
&lt;br&gt;&amp;nbsp;static int options = XSLT_PARSE_OPTIONS;
&lt;br&gt;&amp;nbsp;static const char *params[MAX_PARAMETERS + 1];
&lt;br&gt;&amp;nbsp;static int nbparams = 0;
&lt;br&gt;-static xmlChar *strparams[MAX_PARAMETERS + 1];
&lt;br&gt;+static const char *strparams[MAX_PARAMETERS + 1];
&lt;br&gt;&amp;nbsp;static int nbstrparams = 0;
&lt;br&gt;&amp;nbsp;static xmlChar *paths[MAX_PATHS + 1];
&lt;br&gt;&amp;nbsp;static int nbpaths = 0;
&lt;br&gt;@@ -104,6 +105,13 @@ static char *output = NULL;
&lt;br&gt;&amp;nbsp;static int errorno = 0;
&lt;br&gt;&amp;nbsp;static const char *writesubtree = NULL;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+static void updateContext(xsltTransformContextPtr ctxt) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;xsltSetCtxtParseOptions(ctxt, options);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if (-1 == xsltQuoteUserParams(ctxt, strparams)) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fputs(&amp;quot;can't set stringparams\n&amp;quot;, stderr);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;/*
&lt;br&gt;&amp;nbsp; * Entity loading control and customization.
&lt;br&gt;&amp;nbsp; */
&lt;br&gt;@@ -378,9 +386,15 @@ xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) {
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;int j;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;for (j = 1; j &amp;lt; repeat; j++) {
&lt;br&gt;-		res = xsltApplyStylesheet(cur, doc, params);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ctxt = xsltNewTransformContext(cur, doc);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (ctxt == NULL)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;updateContext(ctxt);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;res = xsltApplyStylesheetUser(cur, doc, params, NULL,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NULL, ctxt);
&lt;br&gt;&amp;nbsp;		xmlFreeDoc(res);
&lt;br&gt;&amp;nbsp;		xmlFreeDoc(doc);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xsltFreeTransformContext(ctxt);
&lt;br&gt;&amp;nbsp;#ifdef LIBXML_HTML_ENABLED
&lt;br&gt;&amp;nbsp;		if (html)
&lt;br&gt;&amp;nbsp;		 &amp;nbsp; &amp;nbsp;doc = htmlReadFile(filename, encoding, options);
&lt;br&gt;@@ -392,7 +406,7 @@ xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) {
&lt;br&gt;&amp;nbsp;	ctxt = xsltNewTransformContext(cur, doc);
&lt;br&gt;&amp;nbsp;	if (ctxt == NULL)
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;return;
&lt;br&gt;-	xsltSetCtxtParseOptions(ctxt, options);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;updateContext(ctxt);
&lt;br&gt;&amp;nbsp;#ifdef LIBXML_XINCLUDE_ENABLED
&lt;br&gt;&amp;nbsp;	if (xinclude)
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;ctxt-&amp;gt;xinclude = 1;
&lt;br&gt;@@ -461,7 +475,7 @@ xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) {
&lt;br&gt;&amp;nbsp;	ctxt = xsltNewTransformContext(cur, doc);
&lt;br&gt;&amp;nbsp;	if (ctxt == NULL)
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;return;
&lt;br&gt;-	xsltSetCtxtParseOptions(ctxt, options);
&lt;br&gt;+	updateContext(ctxt);
&lt;br&gt;&amp;nbsp;#ifdef LIBXML_XINCLUDE_ENABLED
&lt;br&gt;&amp;nbsp;	if (xinclude)
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;ctxt-&amp;gt;xinclude = 1;
&lt;br&gt;@@ -685,30 +699,11 @@ main(int argc, char **argv)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else if ((!strcmp(argv[i], &amp;quot;-stringparam&amp;quot;)) ||
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (!strcmp(argv[i], &amp;quot;--stringparam&amp;quot;))) {
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;const xmlChar *string;
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;xmlChar *value;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i++;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;params[nbparams++] = argv[i++];
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;string = (const xmlChar *) argv[i];
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;if (xmlStrchr(string, '&amp;quot;')) {
&lt;br&gt;-		if (xmlStrchr(string, '\'')) {
&lt;br&gt;-		 &amp;nbsp; &amp;nbsp;fprintf(stderr,
&lt;br&gt;-		 &amp;nbsp; &amp;nbsp;&amp;quot;stringparam contains both quote and double-quotes !\n&amp;quot;);
&lt;br&gt;-		 &amp;nbsp; &amp;nbsp;return(8);
&lt;br&gt;-		}
&lt;br&gt;-		value = xmlStrdup((const xmlChar *)&amp;quot;'&amp;quot;);
&lt;br&gt;-		value = xmlStrcat(value, string);
&lt;br&gt;-		value = xmlStrcat(value, (const xmlChar *)&amp;quot;'&amp;quot;);
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;-		value = xmlStrdup((const xmlChar *)&amp;quot;\&amp;quot;&amp;quot;);
&lt;br&gt;-		value = xmlStrcat(value, string);
&lt;br&gt;-		value = xmlStrcat(value, (const xmlChar *)&amp;quot;\&amp;quot;&amp;quot;);
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;strparams[nbstrparams++] = argv[i++];
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;strparams[nbstrparams++] = argv[i];
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;params[nbparams++] = (const char *) value;
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;strparams[nbstrparams++] = value;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (nbparams &amp;gt;= MAX_PARAMETERS) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (nbstrparams &amp;gt;= MAX_PARAMETERS) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fprintf(stderr, &amp;quot;too many params increase MAX_PARAMETERS \n&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return (2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;@@ -870,8 +865,6 @@ main(int argc, char **argv)
&lt;br&gt;&amp;nbsp;done:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (cur != NULL)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xsltFreeStylesheet(cur);
&lt;br&gt;- &amp;nbsp; &amp;nbsp;for (i = 0;i &amp;lt; nbstrparams;i++)
&lt;br&gt;-	xmlFree(strparams[i]);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (output != NULL)
&lt;br&gt;&amp;nbsp;	xmlFree(output);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;xsltFreeSecurityPrefs(sec);
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;xslt mailing list, project page &lt;a href=&quot;http://xmlsoft.org/XSLT/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlsoft.org/XSLT/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26611522&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xslt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/xslt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/xslt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Lib---Xslt-f1364.html&quot; embed=&quot;fixTarget[1364]&quot; target=&quot;_top&quot; &gt;Gnome - Lib - Xslt&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--xsltproc-stringparam-tp26611522p26611522.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26608882</id>
	<title>Re: Status of refactored code</title>
	<published>2009-12-02T05:27:27Z</published>
	<updated>2009-12-02T05:27:27Z</updated>
	<author>
		<name>Daniel Veillard</name>
	</author>
	<content type="html">&amp;nbsp; Oops I'm finding old mails today !
&lt;br&gt;&lt;br&gt;On Sat, Oct 10, 2009 at 05:22:37PM +0200, Nick Wellnhofer wrote:
&lt;br&gt;&amp;gt; I wonder what's the status of the refactored code in libxslt that can be
&lt;br&gt;&amp;gt; enabled by defining XSLT_REFACTORED. It's been there for some years now
&lt;br&gt;&amp;gt; and AFAICS it fixes some bugs that are hard to fix without the refactoring.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I gave it a try about two years ago and I couldn't find any obvious
&lt;br&gt;&amp;gt; problems.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Hum, Kasimier left before we really validated it fully,
&lt;br&gt;if you think it's fine and ready, maybe I should have a look,
&lt;br&gt;I won't have much time before the end of year vacations but
&lt;br&gt;I should be able to looks at things at the end of December
&lt;br&gt;&lt;br&gt;&amp;nbsp; Any additional testing or regression tests you could provide
&lt;br&gt;showing the bug fixed would be a good step forward :-)
&lt;br&gt;&lt;br&gt;Daniel
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Daniel Veillard &amp;nbsp; &amp;nbsp; &amp;nbsp;| libxml Gnome XML XSLT toolkit &amp;nbsp;&lt;a href=&quot;http://xmlsoft.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlsoft.org/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26608882&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;daniel@...&lt;/a&gt; &amp;nbsp;| Rpmfind RPM search engine &lt;a href=&quot;http://rpmfind.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rpmfind.net/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://veillard.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://veillard.com/&lt;/a&gt;&amp;nbsp;| virtualization library &amp;nbsp;&lt;a href=&quot;http://libvirt.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://libvirt.org/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xslt mailing list, project page &lt;a href=&quot;http://xmlsoft.org/XSLT/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlsoft.org/XSLT/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26608882&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xslt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/xslt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/xslt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Lib---Xslt-f1364.html&quot; embed=&quot;fixTarget[1364]&quot; target=&quot;_top&quot; &gt;Gnome - Lib - Xslt&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Status-of-refactored-code-tp25835167p26608882.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26608593</id>
	<title>Re: How to get default value attribute defined in xsd ? [libxml2-2.7.6]</title>
	<published>2009-12-02T05:08:15Z</published>
	<updated>2009-12-02T05:08:15Z</updated>
	<author>
		<name>Daniel Veillard</name>
	</author>
	<content type="html">[ posting again due to a mail error ]
&lt;br&gt;On Sat, Nov 28, 2009 at 08:53:53AM +0100, Philippe BOINOT wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I would like to get default attribute value defined by following xsd.
&lt;br&gt;&amp;gt; I'm using reader API and
&lt;br&gt;&amp;gt; set &amp;nbsp;XML_SCHEMA_VAL_VC_I_CREATE value but it doesn't work.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What's wrong in my code ?
&lt;br&gt;&lt;br&gt;&amp;nbsp; I don't think that works with the Reader. Just when validating a
&lt;br&gt;existing full document, then those will be added.
&lt;br&gt;&lt;br&gt;Daniel
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Daniel Veillard &amp;nbsp; &amp;nbsp; &amp;nbsp;| libxml Gnome XML XSLT toolkit &amp;nbsp;&lt;a href=&quot;http://xmlsoft.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlsoft.org/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26608593&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;daniel@...&lt;/a&gt; &amp;nbsp;| Rpmfind RPM search engine &lt;a href=&quot;http://rpmfind.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rpmfind.net/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://veillard.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://veillard.com/&lt;/a&gt;&amp;nbsp;| virtualization library &amp;nbsp;&lt;a href=&quot;http://libvirt.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://libvirt.org/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xml mailing list, project page &amp;nbsp;&lt;a href=&quot;http://xmlsoft.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlsoft.org/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26608593&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xml@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/xml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/xml&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Lib---Xml---General-f1362.html&quot; embed=&quot;fixTarget[1362]&quot; target=&quot;_top&quot; &gt;Gnome - Lib - Xml - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-get-default-value-attribute-defined-in-xsd----libxml2-2.7.6--tp26551105p26608593.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26607063</id>
	<title>Re: Download SVG DTDs</title>
	<published>2009-12-02T02:56:55Z</published>
	<updated>2009-12-02T02:56:55Z</updated>
	<author>
		<name>Cameron McCormack-4</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Lontry:
&lt;br&gt;&amp;gt; Does anyone know where I can download the bundle with all SVG DTDs? I
&lt;br&gt;&amp;gt; was not able to find it on w3 website.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.w3.org/Graphics/SVG/1.1/DTD/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/Graphics/SVG/1.1/DTD/&lt;/a&gt;&lt;br&gt;&lt;br&gt;If you’re referencing &lt;a href=&quot;http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd&lt;/a&gt;&lt;br&gt;then you’ll need to grab that file plus all of the .mod files that don’t
&lt;br&gt;have “-tiny” or “-flat” in their names.
&lt;br&gt;&lt;br&gt;&amp;gt; When my DOM parser parses SVG file it starts downloading all DTDs that
&lt;br&gt;&amp;gt; are required, which consumes a lot of time. I would like to have them
&lt;br&gt;&amp;gt; available locally in order to speed up the paring process.
&lt;br&gt;&lt;br&gt;Is there a way to make your DOM parser not fetch DTDs (assuming you’re
&lt;br&gt;not using it for DTD-based validation)? &amp;nbsp;The SVG one doesn’t declare any
&lt;br&gt;useful entities or anything.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Cameron McCormack ≝ &lt;a href=&quot;http://mcc.id.au/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mcc.id.au/&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---librsvg---Dev-f1359.html&quot; embed=&quot;fixTarget[1359]&quot; target=&quot;_top&quot; &gt;Gnome - librsvg - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Download-SVG-DTDs-tp26605981p26607063.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26606724</id>
	<title>Writable mandatory key</title>
	<published>2009-12-02T02:19:50Z</published>
	<updated>2009-12-02T02:19:50Z</updated>
	<author>
		<name>ML FAVRE</name>
	</author>
	<content type="html">Hello,&lt;br&gt;&lt;br&gt;I&amp;#39;m currently developping an applet for gnome and I wanted to have some settings that only root could change.&lt;br&gt;&lt;br&gt;In my rpm install spec a wrote :&lt;br&gt;&lt;br&gt;export GCONF_CONFIG_SOURCE=&amp;quot;xml:readwrite:/etc/gconf/gconf.xml.mandatory&amp;quot;&lt;br&gt;
/usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/nta-mandatory.schemas &amp;gt; /dev/null&lt;br&gt;&lt;br&gt;The schema file is the following : &lt;br&gt;&amp;lt;gconfschemafile&amp;gt;&lt;br&gt;&amp;lt;schemalist&amp;gt;&lt;br&gt;&amp;lt;schema&amp;gt;&lt;br&gt;&amp;lt;key&amp;gt;&lt;br&gt;
/schemas/apps/network_toolbox/allow_firewall_change&lt;br&gt;&amp;lt;/key&amp;gt;&lt;br&gt;&amp;lt;applyto&amp;gt;/apps/network_toolbox/allow_firewall_change&amp;lt;/applyto&amp;gt;&lt;br&gt;&amp;lt;owner&amp;gt;nta&amp;lt;/owner&amp;gt;&lt;br&gt;&amp;lt;type&amp;gt;bool&amp;lt;/type&amp;gt;&lt;br&gt;&amp;lt;default&amp;gt;false&amp;lt;/default&amp;gt;&lt;br&gt;
&amp;lt;locale name=&amp;quot;C&amp;quot;&amp;gt;&lt;br&gt;&amp;lt;short/&amp;gt;&lt;br&gt;&amp;lt;long/&amp;gt;&lt;br&gt;&amp;lt;/locale&amp;gt;&lt;br&gt;&amp;lt;/schema&amp;gt;&lt;br&gt;&amp;lt;/schemalist&amp;gt;&lt;br&gt;&amp;lt;/gconfschemafile&amp;gt;&lt;br&gt;&lt;br&gt;After I installed my package I obtained the following %gconf.xml file in the /etc/gconf/gconf.xml.mandatory/apps/network-toolbox directory :&lt;br&gt;
&lt;br&gt;&amp;lt;gconf&amp;gt;&lt;br&gt;&amp;lt;entry name=&amp;quot;allow_firewall_change&amp;quot; mtime=&amp;quot;1259747546&amp;quot; schema=&amp;quot;/schemas/apps/network_toolbox/allow_firewall_change&amp;quot; type=&amp;quot;bool&amp;quot; value=&amp;quot;false&amp;quot;&amp;gt;&lt;br&gt;
        &amp;lt;/entry&amp;gt;&lt;br&gt;&amp;lt;/gconf&amp;gt;&lt;br&gt;&lt;br&gt;When I checked for bugs, I tried to modify the key using the gconf-editor (when logged as a user). The selection of the key in the editor prints that it is a read only key but when I try and modify the key, it works and then the key is no longer in a read-only mode.&lt;br&gt;
Then I tried to check the key when being root, the key was unchanged and marked read only but when trying to change the key it was no longer in read only mode.&lt;br&gt;So I looked again at the user version of the gconf-editor and the key was still modified.&lt;br&gt;
&lt;br&gt;I thought that being a mandatory key made it readonly for the user and that any change of the key as a user did not work (still it work for my applet...).&lt;br&gt;&lt;br&gt;I would like to know if this is a normal behavior, if I did something wrong or if there is a known problem with the gconf-editor program?&lt;br&gt;
&lt;br&gt;Thank you for your help,&lt;br&gt;-- &lt;br&gt;Lise FAVRE&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;gconf-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26606724&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gconf-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gconf-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gconf-list&lt;/a&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Lib---GConf-f1355.html&quot; embed=&quot;fixTarget[1355]&quot; target=&quot;_top&quot; &gt;Gnome - Lib - GConf&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Writable-mandatory-key-tp26606724p26606724.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26605981</id>
	<title>Download SVG DTDs</title>
	<published>2009-12-02T01:16:02Z</published>
	<updated>2009-12-02T01:16:02Z</updated>
	<author>
		<name>jkaspet</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;Does anyone know where I can download the bundle with all SVG DTDs? I was not able to find it on w3 website. 
&lt;br&gt;&lt;br&gt;When my DOM parser parses SVG file it starts downloading all DTDs that are required, which consumes a lot of time. I would like to have them available locally in order to speed up the paring process.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---librsvg---Dev-f1359.html&quot; embed=&quot;fixTarget[1359]&quot; target=&quot;_top&quot; &gt;Gnome - librsvg - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Download-SVG-DTDs-tp26605981p26605981.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26604047</id>
	<title>Re: Re: How to save viewed svg as jpeg or Pdf</title>
	<published>2009-12-01T22:06:21Z</published>
	<updated>2009-12-01T22:06:21Z</updated>
	<author>
		<name>narendra sisodiya</name>
	</author>
	<content type="html">On Wed, Dec 2, 2009 at 6:05 AM, profileofpradeep &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26604047&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pradeep2005s@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I would want to try the serverside implementation, could you please give me more details ( or point &amp;nbsp;to code) as to how to get handle on dynamically appended SVG over image, which is embeded in &amp;nbsp;a JSP / Html page and send it to server by AJAX.
&lt;br&gt;&lt;br&gt;what details I need to post ?
&lt;br&gt;setp 1 &amp;nbsp;-- try to draw some svg shapes from JS files. I mean just use
&lt;br&gt;createElementNS type
&lt;br&gt;&lt;a href=&quot;http://www.kevlindev.com/tutorials/basics/shapes/js_dom/index.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.kevlindev.com/tutorials/basics/shapes/js_dom/index.htm&lt;/a&gt;&lt;br&gt;&lt;br&gt;Step 2 - &amp;nbsp;Try to draw such dynamic svg over jpg/png image
&lt;br&gt;&lt;br&gt;Step 3 - Use mousehandling to draw svg over image. you can study the
&lt;br&gt;code of svg-edit program -- try reading the some early version like
&lt;br&gt;v1.0 etc - &lt;a href=&quot;http://code.google.com/p/svg-edit/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/svg-edit/&lt;/a&gt;&amp;nbsp;, understand how the
&lt;br&gt;save image in this program works - we have used base64 encode strings.
&lt;br&gt;You can find a php code in repo which was used to post the image to
&lt;br&gt;server.
&lt;br&gt;&lt;br&gt;Setp 4 - At the end of process you will be having svg image and png
&lt;br&gt;image. You can use GD library Or anyother thing on server side to
&lt;br&gt;combile two image. before combining images, You need to convert svg to
&lt;br&gt;png also.
&lt;br&gt;&lt;br&gt;Please correct me if I am wrong..
&lt;br&gt;--
&lt;br&gt;┌─────────────────────────┐
&lt;br&gt;│ &amp;nbsp; &amp;nbsp;Narendra Sisodiya ( नरेन्द्र सिसोदिया )
&lt;br&gt;│ &amp;nbsp; &amp;nbsp;Society for Knowledge Commons
&lt;br&gt;│ &amp;nbsp; &amp;nbsp;Web : &lt;a href=&quot;http://narendra.techfandu.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://narendra.techfandu.org&lt;/a&gt;&lt;br&gt;└─────────────────────────┘
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---librsvg---Dev-f1359.html&quot; embed=&quot;fixTarget[1359]&quot; target=&quot;_top&quot; &gt;Gnome - librsvg - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-save-viewed-svg-as-jpeg-or-Pdf-tp26572537p26604047.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26601719</id>
	<title>Re: How to save viewed svg as jpeg or Pdf</title>
	<published>2009-12-01T16:35:54Z</published>
	<updated>2009-12-01T16:35:54Z</updated>
	<author>
		<name>profileofpradeep</name>
	</author>
	<content type="html">Dear Sir,
&lt;br&gt;&lt;br&gt;Thank you for extending your suggestion.
&lt;br&gt;The requirement of my academic project is to support Max browsers across multiple platform. Thus Grabbing through firefox addon is not a ideal option. 
&lt;br&gt;&lt;br&gt;I would want to try the &amp;nbsp;serverside implementation, could you please give me more details ( or point to code) as to how to get handle on dynamically appended SVG over image, which is embeded in a JSP / Html page and send it to server by AJAX. 
&lt;br&gt;&lt;br&gt;This could be ideal way to do in my case. 
&lt;br&gt;&lt;br&gt;Please help me with as needed.
&lt;br&gt;&lt;br&gt;Thanking you a lot,
&lt;br&gt;--Pradeep
&lt;br&gt;&lt;br&gt;--- In &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26601719&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;svg-developers@...&lt;/a&gt;, narendra sisodiya &amp;lt;narendra.sisodiya@...&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Nov 30, 2009 at 4:09 PM, profileofpradeep
&lt;br&gt;&amp;gt; &amp;lt;pradeep2005s@...&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi group,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I use svg which includes a jpeg map. I add svg objects like rect,lines and circles to highlight certain area of the map depending on the user choices made. Basically SVG holds the image and adds certain illustrations thus acting as a frame. How after user is satisfied he would want to save the displayed svg + jpeg which is within it.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; My question is how can I save the SVG with all the layers -- which includes dynamically created objects + jpeg which is included using &amp;lt;image&amp;gt; tag. I want to save in several formats like combined jpeg image, pdf etc.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; your suggestion and help will be highly appriciated.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanking You,
&lt;br&gt;&amp;gt; I think, you want a client side saving dynamic html+svg , As per my
&lt;br&gt;&amp;gt; knowledge, You can do it using firefox addon , Try reading code of
&lt;br&gt;&amp;gt; screengrab &lt;a href=&quot;http://code.google.com/p/screengrab/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/screengrab/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If you do not want to do it using addon, then currenty you can do it
&lt;br&gt;&amp;gt; using canvas. You can use canvas API to drop your jpg image and over
&lt;br&gt;&amp;gt; it, convert svg to png &amp;nbsp;(there are some converter which can do this
&lt;br&gt;&amp;gt; task, 100% conversion is not possible) ,, you can overlap both image
&lt;br&gt;&amp;gt; (I have not tried this step but there must a way to do so,)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You can do it this using server side coding too. just send svg data
&lt;br&gt;&amp;gt; over map using ajax call and then server side you can make some
&lt;br&gt;&amp;gt; program which can result into a combined image of jpg and svg data.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- Narendra Sisodiya (@eduvid)
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---librsvg---Dev-f1359.html&quot; embed=&quot;fixTarget[1359]&quot; target=&quot;_top&quot; &gt;Gnome - librsvg - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-save-viewed-svg-as-jpeg-or-Pdf-tp26572537p26601719.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26597124</id>
	<title>Re: New article</title>
	<published>2009-12-01T10:49:24Z</published>
	<updated>2009-12-01T10:49:24Z</updated>
	<author>
		<name>israel_eisenberg</name>
	</author>
	<content type="html">Narendra, Richard, Brad thanks.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;I read some of your article. Then I realized how I could do eye lashes in SVG...
&lt;br&gt;&lt;br&gt;I knew one day someone will find something practical to do with my articles :)
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---librsvg---Dev-f1359.html&quot; embed=&quot;fixTarget[1359]&quot; target=&quot;_top&quot; &gt;Gnome - librsvg - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/New-article-tp26542259p26597124.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26596607</id>
	<title>Question on CVE issues</title>
	<published>2009-12-01T10:20:52Z</published>
	<updated>2009-12-01T10:20:52Z</updated>
	<author>
		<name>Siamak Kolahi</name>
	</author>
	<content type="html">Hi guys,&lt;br&gt;&lt;br&gt;I am new to this list. So first of all salute to every one around.&lt;br&gt;and second is my question on the CVE security issues reported for libxslt below 1.1.24. here is the bugzilla link for &lt;a href=&quot;http://www.redhat.com/security/data/cve/CVE-2008-1767.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;it&lt;/a&gt;.&lt;br&gt;
I had another issue, &lt;a href=&quot;http://www.redhat.com/security/data/cve/CVE-2008-2935.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;CVE-2008-2935&lt;/a&gt; which I noted its fixed in 1.1.25 so happy smiley for that :)&lt;br&gt;but I could not find in any recent release notes if it has been fixed. so I was wondering if there is any future plans for fixing it.&lt;br&gt;
&lt;br&gt;Thanks guys. &lt;br&gt;Siamak&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;xslt mailing list, project page &lt;a href=&quot;http://xmlsoft.org/XSLT/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlsoft.org/XSLT/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26596607&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xslt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/xslt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/xslt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Lib---Xslt-f1364.html&quot; embed=&quot;fixTarget[1364]&quot; target=&quot;_top&quot; &gt;Gnome - Lib - Xslt&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Question-on-CVE-issues-tp26596607p26596607.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26601066</id>
	<title>Re: strange match failure</title>
	<published>2009-11-30T13:47:21Z</published>
	<updated>2009-11-30T13:47:21Z</updated>
	<author>
		<name>Dirk Rothe-2</name>
	</author>
	<content type="html">Yes, it does, and it has not led to other problems in our testsuite.
&lt;br&gt;&lt;br&gt;thnx, dirk
&lt;br&gt;&lt;br&gt;&amp;gt; I believe the attached patch fixes this bug.
&lt;br&gt;&amp;gt;Nick
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xslt mailing list, project page &lt;a href=&quot;http://xmlsoft.org/XSLT/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlsoft.org/XSLT/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26601066&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xslt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/xslt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/xslt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Lib---Xslt-f1364.html&quot; embed=&quot;fixTarget[1364]&quot; target=&quot;_top&quot; &gt;Gnome - Lib - Xslt&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-strange-match-failure-tp26601066p26601066.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26580924</id>
	<title>Re: New article</title>
	<published>2009-11-30T11:57:23Z</published>
	<updated>2009-11-30T11:57:23Z</updated>
	<author>
		<name>Bradley Neuberg</name>
	</author>
	<content type="html">Nice!
&lt;br&gt;&lt;br&gt;On Fri, Nov 27, 2009 at 7:11 AM, israel_eisenberg &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26580924&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owlgems@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Just finished:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Variable Stroke Width I: The simple way.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://owl3d.com/svg/vsw/articles/vsw_article.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://owl3d.com/svg/vsw/articles/vsw_article.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Next article: The Normal Gradient.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hope you enjoy,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Israel
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;[Non-text portions of this message have been removed]
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;-----
&lt;br&gt;To unsubscribe send a message to: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26580924&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;svg-developers-unsubscribe@...&lt;/a&gt;
&lt;br&gt;-or-
&lt;br&gt;visit &lt;a href=&quot;http://groups.yahoo.com/group/svg-developers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.yahoo.com/group/svg-developers&lt;/a&gt;&amp;nbsp;and click &amp;quot;edit my membership&amp;quot;
&lt;br&gt;----Yahoo! Groups Links
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To visit your group on the web, go to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://groups.yahoo.com/group/svg-developers/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.yahoo.com/group/svg-developers/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; Your email settings:
&lt;br&gt;&amp;nbsp; &amp;nbsp; Individual Email | Traditional
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To change settings online go to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://groups.yahoo.com/group/svg-developers/join&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.yahoo.com/group/svg-developers/join&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; (Yahoo! ID required)
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To change settings via email:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26580924&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;svg-developers-digest@...&lt;/a&gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26580924&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;svg-developers-fullfeatured@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26580924&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;svg-developers-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://docs.yahoo.com/info/terms/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.yahoo.com/info/terms/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---librsvg---Dev-f1359.html&quot; embed=&quot;fixTarget[1359]&quot; target=&quot;_top&quot; &gt;Gnome - librsvg - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/New-article-tp26542259p26580924.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26579521</id>
	<title>Re: New article</title>
	<published>2009-11-30T10:25:46Z</published>
	<updated>2009-11-30T10:25:46Z</updated>
	<author>
		<name>Richard Pearman-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I read some of your article. &amp;nbsp;Then I realized how I could do eye lashes in SVG, something that's been bothering me for a while. &amp;nbsp;I know you can just draw each lash singly (probably drawing one and having use elements with different transforms for the rest) but that's a lot of trouble (and code). &amp;nbsp;After reading your article, I realize that I could just draw a path about in the middel of where the lashes will be, make the path width the length of the lashes and use a dash-array with short dashes. &amp;nbsp;I think that will work well enougth for most comics (which is what I'm interested in). &amp;nbsp;Could use a graident for more effect. &amp;nbsp;I could probably use this to put lots of lines in people's hair to make them look more realistic. &amp;nbsp;Look for this is future installments of my web comic!
&lt;br&gt;&lt;br&gt;Richard Pearman &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.pixelpalaces.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.pixelpalaces.com/&lt;/a&gt;&lt;br&gt;The next stage in the evolution of web comics: &lt;a href=&quot;http://www.onlinecomics.net/pages/details/listing.php?comicID=4415&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.onlinecomics.net/pages/details/listing.php?comicID=4415&lt;/a&gt;&lt;br&gt;Read my Helium articles: &lt;a href=&quot;http://www.helium.com/users/212199&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.helium.com/users/212199&lt;/a&gt;&lt;br&gt;South Alberta Cactus and succulent society: &lt;a href=&quot;http://www.facebook.com/group.php?gid=20360241008&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.facebook.com/group.php?gid=20360241008&lt;/a&gt;&lt;br&gt;&lt;br&gt;--- In &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26579521&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;svg-developers@...&lt;/a&gt;, &amp;quot;israel_eisenberg&amp;quot; &amp;lt;owlgems@...&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Just finished:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Variable Stroke Width I: The simple way.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://owl3d.com/svg/vsw/articles/vsw_article.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://owl3d.com/svg/vsw/articles/vsw_article.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Next article: The Normal Gradient.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hope you enjoy, 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Israel
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---librsvg---Dev-f1359.html&quot; embed=&quot;fixTarget[1359]&quot; target=&quot;_top&quot; &gt;Gnome - librsvg - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/New-article-tp26542259p26579521.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26577901</id>
	<title>GConf-2.28.0: gconf-defaults.c:34:18: error: glib.h: No such file or directory</title>
	<published>2009-11-30T08:42:16Z</published>
	<updated>2009-11-30T08:42:16Z</updated>
	<author>
		<name>Angel Tsankov</name>
	</author>
	<content type="html">I'm trying to compile GConf-2.28.0 but I get the following error when I 
&lt;br&gt;execute './configure --prefix=/usr &amp;&amp; make':
&lt;br&gt;gconf-defaults.c:34:18: error: glib.h: No such file or directory
&lt;br&gt;&lt;br&gt;The glib.h file is in /usr/include/glib-2.0. As per the glib-2.21.1 
&lt;br&gt;installation instructions (found at the begging of INSTALL) I deleted 
&lt;br&gt;the glib.h and the gmodule.h files from /usr/include.
&lt;br&gt;&lt;br&gt;Under these circumstances how am I supposed to build GConf?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Angel Tsankov
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;gconf-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26577901&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gconf-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/gconf-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/gconf-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Lib---GConf-f1355.html&quot; embed=&quot;fixTarget[1355]&quot; target=&quot;_top&quot; &gt;Gnome - Lib - GConf&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GConf-2.28.0%3A-gconf-defaults.c%3A34%3A18%3A-error%3A-glib.h%3A-No-such-file-or-directory-tp26577901p26577901.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26576057</id>
	<title>sanity tests for libxml2-2.7.6 (success/failed:1528/105)</title>
	<published>2009-11-30T06:58:51Z</published>
	<updated>2009-11-30T06:58:51Z</updated>
	<author>
		<name>Andrey Ponomarenko</name>
	</author>
	<content type="html">&amp;nbsp; Hello, I'm from Institute for System Programing of Russian
&lt;br&gt;Academy of Sciences and we have generated tests for libxml2-2.7.6:
&lt;br&gt;&lt;a href=&quot;http://linuxtesting.org/api-sanity-autotest/tests/libxml2/2.7.6/view_tests.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://linuxtesting.org/api-sanity-autotest/tests/libxml2/2.7.6/view_tests.html&lt;/a&gt;&lt;br&gt;which have detect 105 errors in the library API:
&lt;br&gt;&lt;a href=&quot;http://linuxtesting.org/api-sanity-autotest/test_results/libxml2/2.7.6/test_results.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://linuxtesting.org/api-sanity-autotest/test_results/libxml2/2.7.6/test_results.html&lt;/a&gt;&lt;br&gt;&amp;nbsp; These tests were automatically generated by our new free tool API-Sanity-Autotest-1.0:
&lt;br&gt;&lt;a href=&quot;http://ispras.linux-foundation.org/index.php/API_Sanity_Autotest&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ispras.linux-foundation.org/index.php/API_Sanity_Autotest&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xml mailing list, project page &amp;nbsp;&lt;a href=&quot;http://xmlsoft.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlsoft.org/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26576057&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xml@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/xml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/xml&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Lib---Xml---General-f1362.html&quot; embed=&quot;fixTarget[1362]&quot; target=&quot;_top&quot; &gt;Gnome - Lib - Xml - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/sanity-tests-for-libxml2-2.7.6-%28success-failed%3A1528-105%29-tp26576057p26576057.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26575814</id>
	<title>Re: SVG application</title>
	<published>2009-11-30T06:40:42Z</published>
	<updated>2009-11-30T06:40:42Z</updated>
	<author>
		<name>Cameron_Laird</name>
	</author>
	<content type="html">On Sun, Nov 29, 2009 at 07:17:32PM +0200, Asko Kauppi wrote:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .
&lt;br&gt;&amp;gt; I do not know, whether passing events from one SVG div to another &amp;nbsp;
&lt;br&gt;&amp;gt; would be a problem - haven't gotten that far, yet. My scripts are &amp;nbsp;
&lt;br&gt;&amp;gt; owned by the HTML level so at least they have one JavaScript universe &amp;nbsp;
&lt;br&gt;&amp;gt; to run in.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It seems this area is rather uncharted. The best samples I found were &amp;nbsp;
&lt;br&gt;&amp;gt; some more or less functional Paint look-alikes. I do believe SVG 
&lt;br&gt;&amp;gt; +JavaScript has the ability to do real-looking apps. Only it's not &amp;nbsp;
&lt;br&gt;&amp;gt; very easy, yet.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .
&lt;br&gt;&amp;quot;Passing events&amp;quot; between distinct SVGs embedded disjointly in HTML:
&lt;br&gt;possible, not a problem in my experience, but underdocumented, and
&lt;br&gt;probably not what anybody regards as &amp;quot;very easy&amp;quot;.
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---librsvg---Dev-f1359.html&quot; embed=&quot;fixTarget[1359]&quot; target=&quot;_top&quot; &gt;Gnome - librsvg - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SVG-application-tp24549714p26575814.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26573453</id>
	<title>Re: How to save viewed svg as jpeg or Pdf</title>
	<published>2009-11-30T03:50:55Z</published>
	<updated>2009-11-30T03:50:55Z</updated>
	<author>
		<name>narendra sisodiya</name>
	</author>
	<content type="html">On Mon, Nov 30, 2009 at 4:09 PM, profileofpradeep
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26573453&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pradeep2005s@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi group,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I use svg which includes a jpeg map. I add svg objects like rect,lines and circles to highlight certain area of the map depending on the user choices made. Basically SVG holds the image and adds certain illustrations thus acting as a frame. How after user is satisfied he would want to save the displayed svg + jpeg which is within it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My question is how can I save the SVG with all the layers -- which includes dynamically created objects + jpeg which is included using &amp;lt;image&amp;gt; tag. I want to save in several formats like combined jpeg image, pdf etc.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; your suggestion and help will be highly appriciated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanking You,
&lt;/div&gt;I think, you want a client side saving dynamic html+svg , As per my
&lt;br&gt;knowledge, You can do it using firefox addon , Try reading code of
&lt;br&gt;screengrab &lt;a href=&quot;http://code.google.com/p/screengrab/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/screengrab/&lt;/a&gt;&lt;br&gt;&lt;br&gt;If you do not want to do it using addon, then currenty you can do it
&lt;br&gt;using canvas. You can use canvas API to drop your jpg image and over
&lt;br&gt;it, convert svg to png &amp;nbsp;(there are some converter which can do this
&lt;br&gt;task, 100% conversion is not possible) ,, you can overlap both image
&lt;br&gt;(I have not tried this step but there must a way to do so,)
&lt;br&gt;&lt;br&gt;You can do it this using server side coding too. just send svg data
&lt;br&gt;over map using ajax call and then server side you can make some
&lt;br&gt;program which can result into a combined image of jpg and svg data.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- Narendra Sisodiya (@eduvid)
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---librsvg---Dev-f1359.html&quot; embed=&quot;fixTarget[1359]&quot; target=&quot;_top&quot; &gt;Gnome - librsvg - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-save-viewed-svg-as-jpeg-or-Pdf-tp26572537p26573453.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26572537</id>
	<title>How to save viewed svg as jpeg or Pdf</title>
	<published>2009-11-30T02:39:13Z</published>
	<updated>2009-11-30T02:39:13Z</updated>
	<author>
		<name>profileofpradeep</name>
	</author>
	<content type="html">Hi group,
&lt;br&gt;&lt;br&gt;&lt;br&gt;I use svg which includes a jpeg map. I add svg objects like rect,lines and circles to highlight certain area of the map depending on the user choices made. Basically SVG holds the image and adds certain illustrations thus acting as a frame. How after user is satisfied he would want to save the displayed svg + jpeg which is within it.
&lt;br&gt;&lt;br&gt;My question is how can I save the SVG with all the layers -- which includes dynamically created objects + jpeg which is included using &amp;lt;image&amp;gt; tag. I want to save in several formats like combined jpeg image, pdf etc.
&lt;br&gt;&lt;br&gt;your suggestion and help will be highly appriciated.
&lt;br&gt;&lt;br&gt;Thanking You,
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---librsvg---Dev-f1359.html&quot; embed=&quot;fixTarget[1359]&quot; target=&quot;_top&quot; &gt;Gnome - librsvg - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-save-viewed-svg-as-jpeg-or-Pdf-tp26572537p26572537.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26567245</id>
	<title>Re: SVG application</title>
	<published>2009-11-29T14:53:42Z</published>
	<updated>2009-11-29T14:53:42Z</updated>
	<author>
		<name>Mark T-2</name>
	</author>
	<content type="html">Hi Asko,
&lt;br&gt;So far my explorations lead me to prefer elevating the svg to 'top
&lt;br&gt;document'.
&lt;br&gt;Then use foreignObject for html .bits.
&lt;br&gt;I have found my javascript issues 'increasing'.
&lt;br&gt;So I am reviewing the popular js frameworks out there to see if there is a
&lt;br&gt;good combination.
&lt;br&gt;I have a Ruby back-end delivering the svg.
&lt;br&gt;This is quite flexible.
&lt;br&gt;I am trying to keep an authoring pipeline which starts with Inkscape.
&lt;br&gt;So this leads to less programmatic/javascript svg.
&lt;br&gt;Good adventures either way!
&lt;br&gt;&lt;br&gt;All the best.
&lt;br&gt;&lt;br&gt;MarkT
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Mon, Nov 30, 2009 at 4:17 AM, Asko Kauppi &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26567245&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;askok@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; I found this on the list from July, largely unanswered.I'm up to similar
&lt;br&gt;&amp;gt; things myself, and here are some approaches I've discovered so far:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - use HTML as the father frame even if you wouldn't need much of HTML
&lt;br&gt;&amp;gt; on your application. Seems to be doing things more simple than
&lt;br&gt;&amp;gt; raw .svg file.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - use &amp;lt;div&amp;gt; for each SVG within the app.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;チェックアウトが、Jingle だ!
&lt;br&gt;It's a Jingle Out There!
&lt;br&gt;&lt;br&gt;&lt;br&gt;[Non-text portions of this message have been removed]
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---librsvg---Dev-f1359.html&quot; embed=&quot;fixTarget[1359]&quot; target=&quot;_top&quot; &gt;Gnome - librsvg - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SVG-application-tp24549714p26567245.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26567062</id>
	<title>Re: SVG application</title>
	<published>2009-11-29T09:17:32Z</published>
	<updated>2009-11-29T09:17:32Z</updated>
	<author>
		<name>Asko Kauppi</name>
	</author>
	<content type="html">&lt;br&gt;I found this on the list from July, largely unanswered.
&lt;br&gt;&lt;br&gt;I'm up to similar things myself, and here are some approaches I've &amp;nbsp;
&lt;br&gt;discovered so far:
&lt;br&gt;&lt;br&gt;- use HTML as the father frame even if you wouldn't need much of HTML &amp;nbsp;
&lt;br&gt;on your application. Seems to be doing things more simple than &amp;nbsp;
&lt;br&gt;raw .svg file.
&lt;br&gt;&lt;br&gt;- use &amp;lt;div&amp;gt; for each SVG within the app.
&lt;br&gt;&lt;br&gt;- use jQuery for creating _all_ of the SVG within those divs, &amp;nbsp;
&lt;br&gt;programmatically.
&lt;br&gt;&lt;br&gt;The last case is for allowing JavaScript constants to be used in &amp;nbsp;
&lt;br&gt;creation of graphics. I want things to be parameterized and that &amp;nbsp;
&lt;br&gt;cannot be done in SVG only (at least, not easily). Also this approach &amp;nbsp;
&lt;br&gt;keeps a healthy distance from the XML side of SVG. My mind needs to &amp;nbsp;
&lt;br&gt;concentrate on the JavaScript only.
&lt;br&gt;&lt;br&gt;I do not know, whether passing events from one SVG div to another &amp;nbsp;
&lt;br&gt;would be a problem - haven't gotten that far, yet. My scripts are &amp;nbsp;
&lt;br&gt;owned by the HTML level so at least they have one JavaScript universe &amp;nbsp;
&lt;br&gt;to run in.
&lt;br&gt;&lt;br&gt;It seems this area is rather uncharted. The best samples I found were &amp;nbsp;
&lt;br&gt;some more or less functional Paint look-alikes. I do believe SVG 
&lt;br&gt;+JavaScript has the ability to do real-looking apps. Only it's not &amp;nbsp;
&lt;br&gt;very easy, yet.
&lt;br&gt;&lt;br&gt;- Asko
&lt;br&gt;&lt;br&gt;&lt;br&gt;d4rk.ch4nt kirjoitti 18.7.2009 kello 18:50:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi everyone
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm currently trying to build a full svg web application, the &amp;nbsp;
&lt;br&gt;&amp;gt; problem is, i don't know exactly how to integrate many forms and &amp;nbsp;
&lt;br&gt;&amp;gt; control them individually, it's like multiple webpages but all &amp;nbsp;
&lt;br&gt;&amp;gt; inside a single page (and i should not use hyperlinks).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any ideias (i need this information fast as possible)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---librsvg---Dev-f1359.html&quot; embed=&quot;fixTarget[1359]&quot; target=&quot;_top&quot; &gt;Gnome - librsvg - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SVG-application-tp24549714p26567062.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26563579</id>
	<title>Re: How can i embedding a ecma script in a inline svg</title>
	<published>2009-11-29T08:33:55Z</published>
	<updated>2009-11-29T08:33:55Z</updated>
	<author>
		<name>pawelfritsch</name>
	</author>
	<content type="html">Nice, i like inkscape, but (to my mind) the code should optimized per hand.
&lt;br&gt;&lt;br&gt;&lt;br&gt;--- In &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26563579&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;svg-developers@...&lt;/a&gt;, Felipe Sanches &amp;lt;felipe.sanches@...&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Latest Inkscape (0.47) which was just released this week, allows one to add a reference to an external javascript file. It is on document properties-&amp;gt;scripting. Same can now be done to iccprofiles in document properties-&amp;gt;color management.
&lt;br&gt;&amp;gt; (I did it :-D)
&lt;br&gt;&amp;gt; 
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---librsvg---Dev-f1359.html&quot; embed=&quot;fixTarget[1359]&quot; target=&quot;_top&quot; &gt;Gnome - librsvg - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-can-i-embedding-a-ecma-script-in-a-inline-svg-tp26535200p26563579.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26563522</id>
	<title>Re: How can i embedding a ecma script in a inline svg</title>
	<published>2009-11-29T08:30:30Z</published>
	<updated>2009-11-29T08:30:30Z</updated>
	<author>
		<name>pawelfritsch</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;--- In &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26563522&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;svg-developers@...&lt;/a&gt;, Cameron McCormack &amp;lt;cam@...&amp;gt; wrote:
&lt;br&gt;Thank you, it works. I prefer the 1.example in combination with the xhtml strict, MathMl and svg doctype and it is valid.
&lt;br&gt;&lt;br&gt;Simpler (and the best way for me) is to define the JS in the xhtml-head.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; Is there a element like &amp;lt;svg:script&amp;gt; for embedding the script? 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yes, exactly that. &amp;nbsp;This should work, for example:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;html xmlns=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/xhtml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; xmlns:svg=&amp;quot;&lt;a href=&quot;http://www.w3.org/2000/svg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2000/svg&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;body&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;p&amp;gt;Bounding box of the circle is [&amp;lt;span id=&amp;quot;s&amp;quot;&amp;gt;something&amp;lt;/span&amp;gt;].&amp;lt;/p&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;svg:svg width=&amp;quot;100&amp;quot; height=&amp;quot;100&amp;quot; viewBox=&amp;quot;0 0 100 100&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;svg:circle id=&amp;quot;c&amp;quot; cx=&amp;quot;50&amp;quot; cy=&amp;quot;50&amp;quot; r=&amp;quot;50&amp;quot; fill=&amp;quot;crimson&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;svg:script&amp;gt;&amp;lt;![CDATA[
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; var b = document.getElementById(&amp;quot;c&amp;quot;).getBBox();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; document.getElementById(&amp;quot;s&amp;quot;).textContent = [b.x, b.y, b.width, b.height];
&lt;br&gt;&amp;gt; &amp;nbsp; ]]&amp;gt;&amp;lt;/svg:script&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/svg:svg&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/body&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/html&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Itâs probably simpler though if you donât use namespace prefixing, and
&lt;br&gt;&amp;gt; just declare the default namespace on the SVG fragment:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;html xmlns=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/xhtml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;body&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;p&amp;gt;Bounding box of the circle is [&amp;lt;span id=&amp;quot;s&amp;quot;&amp;gt;something&amp;lt;/span&amp;gt;].&amp;lt;/p&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;svg xmlns=&amp;quot;&lt;a href=&quot;http://www.w3.org/2000/svg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2000/svg&lt;/a&gt;&amp;quot; width=&amp;quot;100&amp;quot; height=&amp;quot;100&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;viewBox=&amp;quot;0 0 100 100&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;circle id=&amp;quot;c&amp;quot; cx=&amp;quot;50&amp;quot; cy=&amp;quot;50&amp;quot; r=&amp;quot;50&amp;quot; fill=&amp;quot;crimson&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;script&amp;gt;&amp;lt;![CDATA[
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; var b = document.getElementById(&amp;quot;c&amp;quot;).getBBox();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; document.getElementById(&amp;quot;s&amp;quot;).textContent = [b.x, b.y, b.width, b.height];
&lt;br&gt;&amp;gt; &amp;nbsp; ]]&amp;gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/svg&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/body&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/html&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Cameron McCormack â &lt;a href=&quot;http://mcc.id.au/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mcc.id.au/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---librsvg---Dev-f1359.html&quot; embed=&quot;fixTarget[1359]&quot; target=&quot;_top&quot; &gt;Gnome - librsvg - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-can-i-embedding-a-ecma-script-in-a-inline-svg-tp26535200p26563522.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26556715</id>
	<title>Re: expand 'path' elements within 'viewBox bounds</title>
	<published>2009-11-28T08:50:29Z</published>
	<updated>2009-11-28T08:50:29Z</updated>
	<author>
		<name>jkaspet</name>
	</author>
	<content type="html">Cameron, Thanks a lot for your thorough explanation! It really helped.
&lt;br&gt;&lt;br&gt;&lt;br&gt;--- In &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26556715&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;svg-developers@...&lt;/a&gt;, Cameron McCormack &amp;lt;cam@...&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; jkaspet:
&lt;br&gt;&amp;gt; &amp;gt; I have the following SVG file:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;svg xmlns=&amp;quot;&lt;a href=&quot;http://www.w3.org/2000/svg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2000/svg&lt;/a&gt;&amp;quot; xml:space=&amp;quot;preserve&amp;quot; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;width=&amp;quot;300&amp;quot; height=&amp;quot;300&amp;quot; viewBox=&amp;quot;0 0 300 300&amp;quot; onload=&amp;quot;init ( )&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;lt;g id=&amp;quot;myGroup&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;path id=&amp;quot;firstPath&amp;quot; d=&amp;quot;M 10 10 L 30 10 L 20 30 z&amp;quot; fill=&amp;quot;none&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;stroke=&amp;quot;black&amp;quot; stroke-width=&amp;quot;1&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;path id=&amp;quot;secondPath&amp;quot; d=&amp;quot;M 30 10 L 50 10 L 40 30 z&amp;quot; fill=&amp;quot;none&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;stroke=&amp;quot;black&amp;quot; stroke-width=&amp;quot;1&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;lt;/g&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;/svg&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; It simply displays two small rectangular object on top left of the
&lt;br&gt;&amp;gt; &amp;gt; viewBox. These objects occupy only a small part of the dimension defined
&lt;br&gt;&amp;gt; &amp;gt; by the viewBox, while I would like them to take the whole space
&lt;br&gt;&amp;gt; &amp;gt; allocated by the viewBox. If possible, how can I achieve that?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The point of the viewBox is to specify the region of content to be shown
&lt;br&gt;&amp;gt; in the viewport. &amp;nbsp;The paths are within the rectangle (10,10)-(50,30), so
&lt;br&gt;&amp;gt; you can just set the viewBox of the &amp;lt;svg&amp;gt; element to be that rectangle
&lt;br&gt;&amp;gt; (i.e., viewBox=&amp;quot;10 10 40 20&amp;quot;) or maybe with a bit of padding on the
&lt;br&gt;&amp;gt; sides (viewBox=&amp;quot;0 0 60 40&amp;quot;). &amp;nbsp;That will cause your paths to be scaled
&lt;br&gt;&amp;gt; to fit within the 300x300 viewport that the SVG document will be
&lt;br&gt;&amp;gt; rendered into.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If you had some other content in the document that you didnât want to
&lt;br&gt;&amp;gt; scale up, though, you could use an additional &amp;lt;svg&amp;gt; element to scale up
&lt;br&gt;&amp;gt; the paths only:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;lt;svg xmlns=&amp;quot;&lt;a href=&quot;http://www.w3.org/2000/svg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2000/svg&lt;/a&gt;&amp;quot; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;width=&amp;quot;300&amp;quot; height=&amp;quot;300&amp;quot; viewBox=&amp;quot;0 0 300 300&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;rect width=&amp;quot;10&amp;quot; height=&amp;quot;10&amp;quot; fill=&amp;quot;red&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;svg x=&amp;quot;0&amp;quot; y=&amp;quot;0&amp;quot; width=&amp;quot;300&amp;quot; height=&amp;quot;300&amp;quot; viewBox=&amp;quot;0 0 60 40&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;path id=&amp;quot;firstPath&amp;quot; d=&amp;quot;M 10 10 L 30 10 L 20 30 z&amp;quot; fill=&amp;quot;none&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stroke=&amp;quot;black&amp;quot; stroke-width=&amp;quot;1&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;path id=&amp;quot;secondPath&amp;quot; d=&amp;quot;M 30 10 L 50 10 L 40 30 z&amp;quot; fill=&amp;quot;none&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stroke=&amp;quot;black&amp;quot; stroke-width=&amp;quot;1&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;/svg&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/svg&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The 10x10 red rectangle isnât scaled up, but the paths are. &amp;nbsp;The child
&lt;br&gt;&amp;gt; &amp;lt;svg&amp;gt; element specifies its own viewBox, and an x/y/width/height in
&lt;br&gt;&amp;gt; which to fit that content. &amp;nbsp;Basically, itâs just setting up a new
&lt;br&gt;&amp;gt; coordinate system inside that child &amp;lt;svg&amp;gt; element. &amp;nbsp;Itâs mapping the
&lt;br&gt;&amp;gt; (0,0)-(60,40) rectangle in the inner coordinate system to (0,0)-
&lt;br&gt;&amp;gt; (300,300) in the outer coordinate system.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It does this, though, while maintaining the aspect ratio of the child
&lt;br&gt;&amp;gt; &amp;lt;svg&amp;gt;âs content. &amp;nbsp;Notice how that while the (0,0)-(60,40) rectangle has
&lt;br&gt;&amp;gt; a 3:2 aspect ratio, the (0,0)-(300,300) has a 1:1 aspect ratio, and that
&lt;br&gt;&amp;gt; the triangles donât look stretched. &amp;nbsp;Thatâs the default behaviour of the
&lt;br&gt;&amp;gt; &amp;lt;svg&amp;gt; element. &amp;nbsp;You can use preserveAspectRatio=&amp;quot;none&amp;quot; on the &amp;lt;svg&amp;gt; to
&lt;br&gt;&amp;gt; force it to scale non-uniformly, and then you can see that the triangles
&lt;br&gt;&amp;gt; have been stretched vertically to fit exactly within the (0,0)-(300,300)
&lt;br&gt;&amp;gt; rectangle:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;lt;svg xmlns=&amp;quot;&lt;a href=&quot;http://www.w3.org/2000/svg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2000/svg&lt;/a&gt;&amp;quot; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;width=&amp;quot;300&amp;quot; height=&amp;quot;300&amp;quot; viewBox=&amp;quot;0 0 300 300&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;rect width=&amp;quot;10&amp;quot; height=&amp;quot;10&amp;quot; fill=&amp;quot;red&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;svg x=&amp;quot;0&amp;quot; y=&amp;quot;0&amp;quot; width=&amp;quot;300&amp;quot; height=&amp;quot;300&amp;quot; viewBox=&amp;quot;0 0 60 40&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;preserveAspectRatio=&amp;quot;none&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;path id=&amp;quot;firstPath&amp;quot; d=&amp;quot;M 10 10 L 30 10 L 20 30 z&amp;quot; fill=&amp;quot;none&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stroke=&amp;quot;black&amp;quot; stroke-width=&amp;quot;1&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;path id=&amp;quot;secondPath&amp;quot; d=&amp;quot;M 30 10 L 50 10 L 40 30 z&amp;quot; fill=&amp;quot;none&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stroke=&amp;quot;black&amp;quot; stroke-width=&amp;quot;1&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;/svg&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/svg&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Cameron McCormack â &lt;a href=&quot;http://mcc.id.au/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mcc.id.au/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---librsvg---Dev-f1359.html&quot; embed=&quot;fixTarget[1359]&quot; target=&quot;_top&quot; &gt;Gnome - librsvg - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/expand-%27path%27-elements-within-%27viewBox-bounds-tp26544314p26556715.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26551105</id>
	<title>How to get default value attribute defined in xsd ? [libxml2-2.7.6]</title>
	<published>2009-11-27T23:53:53Z</published>
	<updated>2009-11-27T23:53:53Z</updated>
	<author>
		<name>Philippe BOINOT</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I would like to get default attribute value defined by following xsd.
&lt;br&gt;I'm using reader API and
&lt;br&gt;set &amp;nbsp;XML_SCHEMA_VAL_VC_I_CREATE value but it doesn't work.
&lt;br&gt;&lt;br&gt;What's wrong in my code ?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;xs:schema xmlns:xs=&amp;quot;&lt;a href=&quot;http://www.w3.org/2001/XMLSchema&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2001/XMLSchema&lt;/a&gt;&amp;quot;
&lt;br&gt;elementFormDefault=&amp;quot;qualified&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;xs:element name=&amp;quot;config&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;xs:complexType mixed=&amp;quot;true&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xs:sequence&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xs:element ref=&amp;quot;attribute&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xs:sequence&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/xs:complexType&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/xs:element&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;xs:element name=&amp;quot;attribute&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;xs:complexType&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xs:sequence&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xs:element name=&amp;quot;linguistic&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xs:complexType&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xs:attribute name=&amp;quot;item&amp;quot; default=&amp;quot;US&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xs:complexType&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xs:element&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xs:sequence&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/xs:complexType&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/xs:element&amp;gt;
&lt;br&gt;&amp;lt;/xs:schema&amp;gt;
&lt;br&gt;--
&lt;br&gt;&lt;br&gt;&amp;lt;config&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;attribute&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;linguistic&amp;gt;&amp;lt;/linguistic&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/attribute&amp;gt;
&lt;br&gt;&amp;lt;/config&amp;gt;
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;int schemaValidation(char *docUrl, char *schemaUrl) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;nbsp; &amp;nbsp; if ((pctxt = xmlSchemaNewParserCtxt(schemaUrl)) == NULL) return 1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; if ((schema = xmlSchemaParse(pctxt))==NULL) return 1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; if ((vctxt = xmlSchemaNewValidCtxt(schema)) == NULL) return 1;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; xmlSchemaSetValidOptions(vctxt,XML_SCHEMA_VAL_VC_I_CREATE); //
&lt;br&gt;populate xml tree with default values !?
&lt;br&gt;&amp;nbsp; &amp;nbsp; xmlSchemaSetValidErrors(vctxt, (xmlSchemaValidityErrorFunc) fprintf,
&lt;br&gt;(xmlSchemaValidityWarningFunc) fprintf, stderr);
&lt;br&gt;&amp;nbsp; &amp;nbsp; reader = xmlNewTextReaderFilename(docUrl);
&lt;br&gt;&amp;nbsp; &amp;nbsp; xmlTextReaderSetSchema(reader, schema);
&lt;br&gt;&amp;nbsp; &amp;nbsp; xmlTextReaderSetErrorHandler(reader,
&lt;br&gt;(xmlTextReaderErrorFunc)readerErr, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; xmlTextReaderSetStructuredErrorHandler(reader,
&lt;br&gt;(xmlStructuredErrorFunc)structErr, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; while (xmlTextReaderRead(reader)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xmlChar *name=xmlTextReaderName(reader);
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (xmlTextReaderNodeType(reader)==XML_ELEMENT_NODE) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xmlNodePtr node=xmlTextReaderExpand(reader);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xmlBufferPtr buffer=xmlBufferCreate();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (strcmp(name,&amp;quot;linguistic&amp;quot;)==0) {
&lt;br&gt;&amp;nbsp; &amp;nbsp;==&amp;gt; no attribute ! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&amp;quot;linguistic: %d
&lt;br&gt;attr:%s\n&amp;quot;,xmlTextReaderHasAttributes(reader),xmlTextReaderReadAttributeValue(reader));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xmlNodeDump(buffer, node-&amp;gt;doc,node,0,0);
&lt;br&gt;&amp;nbsp; &amp;nbsp;==&amp;gt; no attribute ! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;printf(&amp;quot;node=[%s]\n&amp;quot;,xmlBufferContent(buffer));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&amp;nbsp; printf(&amp;quot;Done.Is Valid?: %i&amp;quot;, xmlTextReaderIsValid(reader));
&lt;br&gt;&amp;nbsp; ...
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xml mailing list, project page &amp;nbsp;&lt;a href=&quot;http://xmlsoft.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xmlsoft.org/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26551105&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xml@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/xml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/xml&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Lib---Xml---General-f1362.html&quot; embed=&quot;fixTarget[1362]&quot; target=&quot;_top&quot; &gt;Gnome - Lib - Xml - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-get-default-value-attribute-defined-in-xsd----libxml2-2.7.6--tp26551105p26551105.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26550766</id>
	<title>Re: How can i embedding a ecma script in a inline svg</title>
	<published>2009-11-27T22:13:06Z</published>
	<updated>2009-11-27T22:13:06Z</updated>
	<author>
		<name>Felipe Sanches</name>
	</author>
	<content type="html">Latest Inkscape (0.47) which was just released this week, allows one to add a reference to an external javascript file. It is on document properties-&amp;gt;scripting. Same can now be done to iccprofiles in document properties-&amp;gt;color management.
&lt;br&gt;(I did it :-D)
&lt;br&gt;&lt;br&gt;Felipe &amp;quot;Juca&amp;quot; Sanches
&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/libredwg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/libredwg&lt;/a&gt;&lt;br&gt;&lt;br&gt;On Sat, Nov 28, 2009 at 2:45 AM, Cameron McCormack &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26550766&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cam@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Hi Pawel.
&lt;br&gt;&lt;br&gt;pawelfritsch:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I use Inkscape, gedit and (for viewing) Opera and Fox to create a svg.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'just learning to create an unobtrusive ECMA-Script in a svg (e.g.
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://pastie.org/711874&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pastie.org/711874&lt;/a&gt;). The result isn't perfect, but the direction
&lt;br&gt;&amp;gt; is clear.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My problem:
&lt;br&gt;&amp;gt; My goal is to use the svg inline in a (host) xhtml-document. This works fine in this syntax:
&lt;br&gt;&amp;gt; &amp;lt;svg:svg viewBox=&amp;quot;-10 -90 220 150&amp;quot; xmlns:svg=&amp;quot;&lt;a href=&quot;http://www.w3.org/2000/svg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2000/svg&lt;/a&gt;&amp;quot; onload=&amp;quot;init&amp;quot; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is there a element like &amp;lt;svg:script&amp;gt; for embedding the script? 
&lt;/div&gt;&lt;br&gt;Yes, exactly that. &amp;nbsp;This should work, for example:
&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;html xmlns=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/xhtml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; xmlns:svg=&amp;quot;&lt;a href=&quot;http://www.w3.org/2000/svg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2000/svg&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;body&amp;gt;
&lt;br&gt;&amp;lt;p&amp;gt;Bounding box of the circle is [&amp;lt;span id=&amp;quot;s&amp;quot;&amp;gt;something&amp;lt;/span&amp;gt;].&amp;lt;/p&amp;gt;
&lt;br&gt;&amp;lt;svg:svg width=&amp;quot;100&amp;quot; height=&amp;quot;100&amp;quot; viewBox=&amp;quot;0 0 100 100&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;svg:circle id=&amp;quot;c&amp;quot; cx=&amp;quot;50&amp;quot; cy=&amp;quot;50&amp;quot; r=&amp;quot;50&amp;quot; fill=&amp;quot;crimson&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;svg:script&amp;gt;&amp;lt;![CDATA[
&lt;br&gt;&amp;nbsp; &amp;nbsp; var b = document.getElementById(&amp;quot;c&amp;quot;).getBBox();
&lt;br&gt;&amp;nbsp; &amp;nbsp; document.getElementById(&amp;quot;s&amp;quot;).textContent = [b.x, b.y, b.width, b.height];
&lt;br&gt;&amp;nbsp; ]]&amp;gt;&amp;lt;/svg:script&amp;gt;
&lt;br&gt;&amp;lt;/svg:svg&amp;gt;
&lt;br&gt;&amp;lt;/body&amp;gt;
&lt;br&gt;&amp;lt;/html&amp;gt;
&lt;br&gt;&lt;br&gt;It’s probably simpler though if you don’t use namespace prefixing, and
&lt;br&gt;just declare the default namespace on the SVG fragment:
&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;html xmlns=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/xhtml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;body&amp;gt;
&lt;br&gt;&amp;lt;p&amp;gt;Bounding box of the circle is [&amp;lt;span id=&amp;quot;s&amp;quot;&amp;gt;something&amp;lt;/span&amp;gt;].&amp;lt;/p&amp;gt;
&lt;br&gt;&amp;lt;svg xmlns=&amp;quot;&lt;a href=&quot;http://www.w3.org/2000/svg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2000/svg&lt;/a&gt;&amp;quot; width=&amp;quot;100&amp;quot; height=&amp;quot;100&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;viewBox=&amp;quot;0 0 100 100&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;circle id=&amp;quot;c&amp;quot; cx=&amp;quot;50&amp;quot; cy=&amp;quot;50&amp;quot; r=&amp;quot;50&amp;quot; fill=&amp;quot;crimson&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;script&amp;gt;&amp;lt;![CDATA[
&lt;br&gt;&amp;nbsp; &amp;nbsp; var b = document.getElementById(&amp;quot;c&amp;quot;).getBBox();
&lt;br&gt;&amp;nbsp; &amp;nbsp; document.getElementById(&amp;quot;s&amp;quot;).textContent = [b.x, b.y, b.width, b.height];
&lt;br&gt;&amp;nbsp; ]]&amp;gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&amp;lt;/svg&amp;gt;
&lt;br&gt;&amp;lt;/body&amp;gt;
&lt;br&gt;&amp;lt;/html&amp;gt;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Cameron McCormack ≝ &lt;a href=&quot;http://mcc.id.au/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mcc.id.au/&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;[Non-text portions of this message have been removed]
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---librsvg---Dev-f1359.html&quot; embed=&quot;fixTarget[1359]&quot; target=&quot;_top&quot; &gt;Gnome - librsvg - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-can-i-embedding-a-ecma-script-in-a-inline-svg-tp26535200p26550766.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26550507</id>
	<title>Re: How can i embedding a ecma script in a inline svg</title>
	<published>2009-11-27T20:45:53Z</published>
	<updated>2009-11-27T20:45:53Z</updated>
	<author>
		<name>Cameron McCormack-4</name>
	</author>
	<content type="html">Hi Pawel.
&lt;br&gt;&lt;br&gt;pawelfritsch:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I use Inkscape, gedit and (for viewing) Opera and Fox to create a svg.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'just learning to create an unobtrusive ECMA-Script in a svg (e.g.
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://pastie.org/711874&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pastie.org/711874&lt;/a&gt;). The result isn't perfect, but the direction
&lt;br&gt;&amp;gt; is clear.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My problem:
&lt;br&gt;&amp;gt; My goal is to use the svg inline in a (host) xhtml-document. This works fine in this syntax:
&lt;br&gt;&amp;gt; &amp;lt;svg:svg viewBox=&amp;quot;-10 -90 220 150&amp;quot; xmlns:svg=&amp;quot;&lt;a href=&quot;http://www.w3.org/2000/svg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2000/svg&lt;/a&gt;&amp;quot; onload=&amp;quot;init&amp;quot; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is there a element like &amp;lt;svg:script&amp;gt; for embedding the script? 
&lt;/div&gt;&lt;br&gt;Yes, exactly that. &amp;nbsp;This should work, for example:
&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;html xmlns=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/xhtml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; xmlns:svg=&amp;quot;&lt;a href=&quot;http://www.w3.org/2000/svg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2000/svg&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;body&amp;gt;
&lt;br&gt;&amp;lt;p&amp;gt;Bounding box of the circle is [&amp;lt;span id=&amp;quot;s&amp;quot;&amp;gt;something&amp;lt;/span&amp;gt;].&amp;lt;/p&amp;gt;
&lt;br&gt;&amp;lt;svg:svg width=&amp;quot;100&amp;quot; height=&amp;quot;100&amp;quot; viewBox=&amp;quot;0 0 100 100&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;svg:circle id=&amp;quot;c&amp;quot; cx=&amp;quot;50&amp;quot; cy=&amp;quot;50&amp;quot; r=&amp;quot;50&amp;quot; fill=&amp;quot;crimson&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;svg:script&amp;gt;&amp;lt;![CDATA[
&lt;br&gt;&amp;nbsp; &amp;nbsp; var b = document.getElementById(&amp;quot;c&amp;quot;).getBBox();
&lt;br&gt;&amp;nbsp; &amp;nbsp; document.getElementById(&amp;quot;s&amp;quot;).textContent = [b.x, b.y, b.width, b.height];
&lt;br&gt;&amp;nbsp; ]]&amp;gt;&amp;lt;/svg:script&amp;gt;
&lt;br&gt;&amp;lt;/svg:svg&amp;gt;
&lt;br&gt;&amp;lt;/body&amp;gt;
&lt;br&gt;&amp;lt;/html&amp;gt;
&lt;br&gt;&lt;br&gt;It’s probably simpler though if you don’t use namespace prefixing, and
&lt;br&gt;just declare the default namespace on the SVG fragment:
&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;html xmlns=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/xhtml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;body&amp;gt;
&lt;br&gt;&amp;lt;p&amp;gt;Bounding box of the circle is [&amp;lt;span id=&amp;quot;s&amp;quot;&amp;gt;something&amp;lt;/span&amp;gt;].&amp;lt;/p&amp;gt;
&lt;br&gt;&amp;lt;svg xmlns=&amp;quot;&lt;a href=&quot;http://www.w3.org/2000/svg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2000/svg&lt;/a&gt;&amp;quot; width=&amp;quot;100&amp;quot; height=&amp;quot;100&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;viewBox=&amp;quot;0 0 100 100&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;circle id=&amp;quot;c&amp;quot; cx=&amp;quot;50&amp;quot; cy=&amp;quot;50&amp;quot; r=&amp;quot;50&amp;quot; fill=&amp;quot;crimson&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;script&amp;gt;&amp;lt;![CDATA[
&lt;br&gt;&amp;nbsp; &amp;nbsp; var b = document.getElementById(&amp;quot;c&amp;quot;).getBBox();
&lt;br&gt;&amp;nbsp; &amp;nbsp; document.getElementById(&amp;quot;s&amp;quot;).textContent = [b.x, b.y, b.width, b.height];
&lt;br&gt;&amp;nbsp; ]]&amp;gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&amp;lt;/svg&amp;gt;
&lt;br&gt;&amp;lt;/body&amp;gt;
&lt;br&gt;&amp;lt;/html&amp;gt;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Cameron McCormack ≝ &lt;a href=&quot;http://mcc.id.au/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mcc.id.au/&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---librsvg---Dev-f1359.html&quot; embed=&quot;fixTarget[1359]&quot; target=&quot;_top&quot; &gt;Gnome - librsvg - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-can-i-embedding-a-ecma-script-in-a-inline-svg-tp26535200p26550507.html" />
</entry>

</feed>
