<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Pluggable SVG</title>
	<atom:link href="http://www.codedread.com/blog/archives/2009/04/14/pluggable-svg/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codedread.com/blog/archives/2009/04/14/pluggable-svg/</link>
	<description></description>
	<lastBuildDate>Tue, 17 Jan 2012 21:56:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Shepazu</title>
		<link>http://www.codedread.com/blog/archives/2009/04/14/pluggable-svg/comment-page-1/#comment-1250</link>
		<dc:creator>Shepazu</dc:creator>
		<pubDate>Fri, 17 Apr 2009 02:26:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codedread.com/archives/2009/04/14/pluggable-svg/#comment-1250</guid>
		<description>Thanks for the kind words.  I am specifying this for SVG, but it could be used for CSS or HTML, too, if HTML ever pulls in declarative syntax.  As for your questions...



1) I made the choice to prefer html:param over URL querystrings, though that&#039;s a bit arbitrary; I could see the other argument, that since param is unique to object, URLs should take precedence for greater consistency, but I think that params should have greater specificity, because they are easier to change dynamically... I wonder if there could be a hack there, such that a local page could &quot;hijack&quot; a URL&#039;s parameters... maybe URLs should be preferred?



2) What Laurens said.



3) Ditto.



4) We&#039;d have to allow &lt;a href=&quot;http://www.w3.org/TR/SVGTiny12/linking.html#IRIforms&quot; rel=&quot;nofollow&quot;&gt;FuncIRIs&lt;/a&gt; as attribute values for xlink:href, like so:



  &lt;param name=&quot;url&quot; value=&quot;http://example.com/sprockets&quot;/&gt;

...

&lt;svg ...&gt;

  &lt;a xlink:href=&quot;url(#url)&quot;&gt;Buy Now! This offer is unrepeatable!&lt;/a&gt;

&lt;/svg&gt;



I don&#039;t have a problem with that on the surface, and it does sound like a solid use case... thanks!



(BTW, despite the name, FuncIRIs have nothing to do with 70&#039;s groove, disappointingly.  Sorry, Bootsy!)</description>
		<content:encoded><![CDATA[<p>Thanks for the kind words.  I am specifying this for SVG, but it could be used for CSS or HTML, too, if HTML ever pulls in declarative syntax.  As for your questions&#8230;</p>
<p>1) I made the choice to prefer html:param over URL querystrings, though that&#8217;s a bit arbitrary; I could see the other argument, that since param is unique to object, URLs should take precedence for greater consistency, but I think that params should have greater specificity, because they are easier to change dynamically&#8230; I wonder if there could be a hack there, such that a local page could &#8220;hijack&#8221; a URL&#8217;s parameters&#8230; maybe URLs should be preferred?</p>
<p>2) What Laurens said.</p>
<p>3) Ditto.</p>
<p>4) We&#8217;d have to allow <a href="http://www.w3.org/TR/SVGTiny12/linking.html#IRIforms" rel="nofollow">FuncIRIs</a> as attribute values for xlink:href, like so:</p>
<p>  &#60;param name=&#8221;url&#8221; value=&#8221;http://example.com/sprockets&#8221;/&#62;</p>
<p>&#8230;</p>
<p>&#60;svg &#8230;&#62;</p>
<p>  &#60;a xlink:href=&#8221;url(#url)&#8221;&#62;Buy Now! This offer is unrepeatable!&#60;/a&#62;</p>
<p>&#60;/svg&#62;</p>
<p>I don&#8217;t have a problem with that on the surface, and it does sound like a solid use case&#8230; thanks!</p>
<p>(BTW, despite the name, FuncIRIs have nothing to do with 70&#8242;s groove, disappointingly.  Sorry, Bootsy!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laurens Holst</title>
		<link>http://www.codedread.com/blog/archives/2009/04/14/pluggable-svg/comment-page-1/#comment-1249</link>
		<dc:creator>Laurens Holst</dc:creator>
		<pubDate>Tue, 14 Apr 2009 17:54:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codedread.com/archives/2009/04/14/pluggable-svg/#comment-1249</guid>
		<description>Re. question 3, entities are transparent to the underlying string, they are just an encoding format that is part of the serialisation. So yes a parameter “pb&amp;j” results in the string “pb&amp;j”, as demonstrated when you e.g. would do param.getAttribute(&#039;value&#039;). Entities are only relevant when constructing documents by string concatenation or text editing.



Re. question 2, I’d it is using an established system and encoding is handled through the normal existing mechanisms. I believe the URI specification dictates escaped characters within URLs be encoded as UTF-8.</description>
		<content:encoded><![CDATA[<p>Re. question 3, entities are transparent to the underlying string, they are just an encoding format that is part of the serialisation. So yes a parameter “pb&#38;amp;j” results in the string “pb&#38;j”, as demonstrated when you e.g. would do param.getAttribute(&#8216;value&#8217;). Entities are only relevant when constructing documents by string concatenation or text editing.</p>
<p>Re. question 2, I’d it is using an established system and encoding is handled through the normal existing mechanisms. I believe the URI specification dictates escaped characters within URLs be encoded as UTF-8.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

