On 2/16/06, <b class="gmail_sendername"><a href="mailto:christian.ridderstrom@gmail.com">christian.ridderstrom@gmail.com</a></b> &lt;<a href="mailto:christian.ridderstrom@gmail.com">christian.ridderstrom@gmail.com</a>&gt; wrote:
<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm probably coming out of the blue here, but if you use SVG you'd use
<br>vector based graphics and the quality should be comparable to Visio. Of<br>course, I'm guessing IE doesn't support SVG without a plugin?<br></blockquote></div><br><br>I grabbed the SVG recipe (<a href="http://www.pmwiki.org/wiki/Cookbook/Svg">
http://www.pmwiki.org/wiki/Cookbook/Svg</a>) and saved the Visio diagram as a SVG.<br><br>The testfile from the recipe page (<a href="http://www.croczilla.com/svg/samples/circles1/circles1.svg">http://www.croczilla.com/svg/samples/circles1/circles1.svg
</a>) displays fine in FireFox, but the SVG saved from Visio gives the following error:<br>&nbsp;&nbsp;&nbsp; XML Parsing Error: prefix not bound to a namespace<br>&nbsp;&nbsp;&nbsp; Location: <a href="http://mywiki.mycompany.com/uploads/myproject/myvisio.svg">
http://mywiki.mycompany.com/uploads/myproject/myvisio.svg</a><br>&nbsp;&nbsp;&nbsp; Line Number 36, Column 4:<br><br>So either Visio is not saving this properly or FireFox doesn't handle the SVG properly. My vote is for a broken Visio.<br>
<br><br>I also uncovered two major cut &amp; paste errors in the SVG and Visio recipes. Both authors borrowed the recipe from embedding SWF into a page. All three recipes use the following:<br><br><div style="margin-left: 40px;">
SDV($<span style="font-weight: bold; font-style: italic;">SwfTagFmt</span>,&quot;blah blah mime type specific stuff blah blah &quot;);<br><br>Markup('<span style="font-weight: bold; font-style: italic;">ext</span>', '&lt;urllink', 
<br>&nbsp; &quot;/\\b(?&gt;(\\L))([^\\s$UrlExcludeChars]+\\.vsd)/e&quot;,<br>&nbsp; &quot;Keep(\$GLOBALS['LinkFunctions']['$1'](\$pagename,'$1','$2',NULL,'$1$2',<br>&nbsp;&nbsp;&nbsp; \$GLOBALS['<span style="font-weight: bold; font-style: italic;">
SwfTagFmt</span>']), 'L')&quot;);<br></div><br>The Visio an SVG recipes change <span style="font-weight: bold; font-style: italic;">ext</span> to be either vsd or svg respectively, but they failed to change the <span style="font-weight: bold; font-style: italic;">
SwfTagFmt</span><span style="font-style: italic;"></span> to a different variable. Therfore, all the recipes that use this get the mime specific replacement for whichever one was last. When I get a free minute, I'll update the recipes or anyone else that has the bandwidth to fix them can go ahead.
<br><br><br>