[svg-developers] Child friendly SVG authoring tool?
Child friendly SVG authoring tool? Would anyone have expertise to contribute to the conceptual definition of an accessible Child Friendly SVG authoring tool? possibly leading to the creation of an SVG accessible AT microformat: concept: simple GUI reduced set of graphical elements keyboard support sound support P2P collaboration games to share open source references: Inkscape child https://sourceforge.net/tracker/? func=detailatid=604309aid=1081266group_id=93438 One laptop per childhttp://wiki.laptop.org/ jsquiggle p2p http://sourceforge.net/projects/jsquiggle/ Isketch gamehttp://isketch.org/ Tuxpaint with sound http://www.tuxpaint.org/ Early 'flash' tools v4 and earlier cheers Jonathan Chetwynd - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [svg-developers] Re: populate a carto.net selectionList
Hi Andreas, In a way to have a better comprehension of JSON principles, could you send me the php file that write the json code (like sendNameData.php) ? Pascal BENOIST [EMAIL PROTECTED] Mob: +33 (0)6 12 61 68 02 Fixe: +33 (0)4 50 75 17 74 _ De : svg-developers@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Andreas Neumann Envoyé : jeudi 3 août 2006 23:37 À : svg-developers@yahoogroups.com Objet : [svg-developers] Re: populate a carto.net selectionList Hi Pascal, you can use the json format for that purpose, which is basically javascript code generated dynamically on the server and sent to the client as text. The client receives the text string and can use with eval(textstring) or a function to interpret the javascript code. I haven't documented it yet, but here is a wrapper function for getURL/XMLHttpRequest that allows to either retrieve an XML node or text to be used with eval(). http://www.carto. http://www.carto.net/williams/yosemite/helper_functions.js net/williams/yosemite/helper_functions.js have a look at the getData object. Note that his object is slightly different from the original getXMLData object. It allows for a third parameter that can have the values xml or json in http://www.carto. http://www.carto.net/williams/yosemite/search.js net/williams/yosemite/search.js have a look at the method searchObject.prototype.receiveData which receives the json text and returns the javascript array through a function. You can use the variable myResults as an array to populate the selectionList Here is an example server request that returns a json array: http://www.carto. http://www.carto.net/williams/yosemite/sendNameData.php? net/williams/yosemite/sendNameData.php? searchstring=Halfsearchtype=starts withoffset=0limit=10xmin=244000ymin=415xmax=308000ymax=423100 0filterByMapExtent=false I plan to document these XML/JSON network requests in a tutorial on carto.net but am currently busy. Will take a bit of time until it is available ... Hope this helps a bit, Andreas --- In svg-developers@ mailto:svg-developers%40yahoogroups.com yahoogroups.com, Pascal BENOIST [EMAIL PROTECTED] wrote: Hi Andreas, Thanks a lot for your answer, Its ok for the update of the list. My problem in fact is to obtain the node from the url or XMLHttpRequest when you say: �you can query a new array from the database on the server using a network request (XMLHttpRequest and getURL).� I would like to use the same fonctions that I use to retrieve geometry (I already use helpers_functions.js for that). I don�t know how to retrieve data that is not g or that is not XML like an array of elements� Am I obliged to integrate it in a g element in my svg before to use it through a js script? Pascal BENOIST Mob: +33 (0)6 12 61 68 02 Fixe: +33 (0)4 50 75 17 74 _ De : svg-developers@ mailto:svg-developers%40yahoogroups.com yahoogroups.com [mailto:svg-developers@ mailto:svg-developers%40yahoogroups.com yahoogroups.com] De la part de Andreas Neumann Envoy� : mercredi 2 ao�t 2006 15:53 � : svg-developers@ mailto:svg-developers%40yahoogroups.com yahoogroups.com Objet : [svg-developers] Re: populate a carto.net selectionList HI Pascal, its actually easier than that. You don't need to remove and add individual elements, you can simply replace the property .elementsArray of the second selectionList, e.g. --- selectionList2.elementsArray = newArray; selectionList2.selectElementByPosition(0,false); --- note that I propose to also call the method .selectElementByPosition() to make sure that the second selectionlist now displays a valid value of the new array. As an example see http://www.carto. http://www.carto. http://www.carto.net/papers/svg/gui/selectionlist/ net/papers/svg/gui/selectionlist/ net/papers/svg/gui/selectionlist/ index.svg see the two selectionlists at the upper right. See http://www.carto. http://www.carto. http://www.carto.net/papers/svg/gui/selectionlist/init.js net/papers/svg/gui/selectionlist/init.js net/papers/svg/gui/selectionlist/init.js and the function updateNumbers2 to see how I set the new values. you can query a new array from the database on the server using a network request (XMLHttpRequest and getURL). The same also works for comboboxes: see http://www.carto. http://www.carto. http://www.carto.net/williams/ net/williams/ net/williams/ yosemite/, go to the Search tab and enter something in the texbox. As you type the values in the combobox are populated with the results of a database query. Hope this helps, Andreas --- In svg-developers@ mailto:svg-developers%40yahoogroups.com yahoogroups.com, pascal.benoist pascal.benoist11@ wrote: Hello, I just developpe a little query builder for my svg application and i use SelectionLists from carto.net I would like to populate automatically a selectionList from the choice made
Re: [svg-developers] Re: populate a carto.net selectionList
Pascal, The great thing about JSON is that the principle is trivial. The concept is to send a text string which is evaluated (usually through an 'eval' statement) in the client side. The string is verbatim the source code that generates the structure on the client side. In other words, it is fundamentally a clientside scripting code injection. Take a look at: [1] the json website http://www.json.org [2] a talk at www2006 by the creator of json http://www2006.org/programme/item.php?id=d8 [3] a talk I gave at EU SVG Workshop and at www2006 about an SVG Ajax implementation based on JSON http://www.roitsystems.com/twiki/bin/view/SVGWorkshop/TalkSVGDataWidgets On Tuesday 12 September 2006 12:14, Pascal BENOIST wrote: Hi Andreas, In a way to have a better comprehension of JSON principles, could you send me the php file that write the json code (like sendNameData.php) ? Pascal BENOIST [EMAIL PROTECTED] Mob: +33 (0)6 12 61 68 02 Fixe: +33 (0)4 50 75 17 74 _ De : svg-developers@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Andreas Neumann Envoyé : jeudi 3 août 2006 23:37 À : svg-developers@yahoogroups.com Objet : [svg-developers] Re: populate a carto.net selectionList Hi Pascal, you can use the json format for that purpose, which is basically javascript code generated dynamically on the server and sent to the client as text. The client receives the text string and can use with eval(textstring) or a function to interpret the javascript code. I haven't documented it yet, but here is a wrapper function for getURL/XMLHttpRequest that allows to either retrieve an XML node or text to be used with eval(). http://www.carto. http://www.carto.net/williams/yosemite/helper_functions.js net/williams/yosemite/helper_functions.js have a look at the getData object. Note that his object is slightly different from the original getXMLData object. It allows for a third parameter that can have the values xml or json in http://www.carto. http://www.carto.net/williams/yosemite/search.js net/williams/yosemite/search.js have a look at the method searchObject.prototype.receiveData which receives the json text and returns the javascript array through a function. You can use the variable myResults as an array to populate the selectionList Here is an example server request that returns a json array: http://www.carto. http://www.carto.net/williams/yosemite/sendNameData.php? net/williams/yosemite/sendNameData.php? searchstring=Halfsearchtype=starts withoffset=0limit=10xmin=244000ymin=415xmax=308000ymax=423100 0filterByMapExtent=false I plan to document these XML/JSON network requests in a tutorial on carto.net but am currently busy. Will take a bit of time until it is available ... Hope this helps a bit, Andreas --- In svg-developers@ mailto:svg-developers%40yahoogroups.com yahoogroups.com, Pascal BENOIST [EMAIL PROTECTED] wrote: Hi Andreas, Thanks a lot for your answer, Its ok for the update of the list. My problem in fact is to obtain the node from the url or XMLHttpRequest when you say: �you can query a new array from the database on the server using a network request (XMLHttpRequest and getURL).� I would like to use the same fonctions that I use to retrieve geometry (I already use helpers_functions.js for that). I don�t know how to retrieve data that is not g or that is not XML like an array of elements� Am I obliged to integrate it in a g element in my svg before to use it through a js script? Pascal BENOIST Mob: +33 (0)6 12 61 68 02 Fixe: +33 (0)4 50 75 17 74 _ De : svg-developers@ mailto:svg-developers%40yahoogroups.com yahoogroups.com [mailto:svg-developers@ mailto:svg-developers%40yahoogroups.com yahoogroups.com] De la part de Andreas Neumann Envoy� : mercredi 2 ao�t 2006 15:53 � : svg-developers@ mailto:svg-developers%40yahoogroups.com yahoogroups.com Objet : [svg-developers] Re: populate a carto.net selectionList HI Pascal, its actually easier than that. You don't need to remove and add individual elements, you can simply replace the property .elementsArray of the second selectionList, e.g. --- selectionList2.elementsArray = newArray; selectionList2.selectElementByPosition(0,false); --- note that I propose to also call the method .selectElementByPosition() to make sure that the second selectionlist now displays a valid value of the new array. As an example see http://www.carto. http://www.carto. http://www.carto.net/papers/svg/gui/selectionlist/ net/papers/svg/gui/selectionlist/ net/papers/svg/gui/selectionlist/ index.svg see the two selectionlists at the upper right. See http://www.carto. http://www.carto. http://www.carto.net/papers/svg/gui/selectionlist/init.js net/papers/svg/gui/selectionlist/init.js net/papers/svg/gui/selectionlist/init.js and the
RE: [svg-developers] Re: Announcement: Adobe to Discontinue Adobe SVG Viewer
Tell me about it, a complete nightmare. Our apps solely work on SVG with some large companies and we are rewriting our apps to work on IE and all the Native SVG browsers coming out. The headache for me is these large companies are phasing out Flash availability in the company. Yep no flash player allowed to be installed, so I cannot (wouldnt anyway) move to flash. 3 companies IT depts have already confirmed this, SVG is ok luckily, but lo and behold, they use IE Im also standing at the crossroads, the only thing that keeps me going is the hope that Adobe dropping SVG is realised by some one at MS to see this as an opportunity to get back at Adobe and grasp back the browser market. I think im going to bury my head in the sand for 6 months, hope an alternative is on the way, if there isnt then probably s**t my pants and find another way. Sorry this has been useless info but had to get it off my chest. Richard From: Ben [EMAIL PROTECTED] Reply-To: svg-developers@yahoogroups.com To: svg-developers@yahoogroups.com Subject: [svg-developers] Re: Announcement: Adobe to Discontinue Adobe SVG Viewer Date: Mon, 11 Sep 2006 15:14:34 - Hi all, I'm just in the process of developing an SVG application using AJAX and PHP for a client. The idea of Adobe backing out of the Adobe SVG field is causing some concern and to be honest I'd like to know what real options are available out there otherwise I'll be tempted to move over to Flash MX. The real bonus for this product I'm developing is indeed cost, it's practically free BUT I need to know that the application based on SVG is going to be suitable for the client long into the future. If I can't gurantee that, then I need to look for a solution that is more long-term. What effect is the loss of Adobe SVG plugin going to have on coding? Will my javascript/php code need to change? Will I need to make changes to the servers to allow new SVG plugins/browsers to work? Will I have to install anything new, complicated onto users machines? Will SVG remain widely supported by the open source community? I feel very much as though I should stop current development before I've invested too much time in a solution that is not suitable or worse sustainable. SVG has been a life-saver and to think I might have to move over to another product kinda annoys the hell out of me. Ben _ Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: Browser-based SVG rendering proof-of-concept
Hey Randy, I don't yet see how the Ajax/javascript approach could fill the vacuum left by ASV's sudden demise. I fully agree with Jon's response and I have nothing to add there. However, I wanted to clarify that my proof of concept was purely intended as a means of rendering static vector data (specifically SVG path data) to various target renderers. It is by no means intended to be a replacement for an SVG full implementation. I haven't been following Dojo2D, but I'm certain their project will be much more feature rich, especially given that my code was more an exercise of curiousity. That being said, it sounds like there are already a number of viewers that could fill the vacuum. It's probably more of a case of arguing how a company/project could benefit from filling that void. This may not be an opinion shared by many people, but in the end I think this will be positive for the community as it will break our reliance on a viewer that has been stagnate for many years. Kevin KevLinDev - http://www.kevlindev.com - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: 'Native' SVG support in Opera and FF
Another huge issue for our firm is that FF (at least, haven't tested opera) doesn't support compressed .svgz which ASV did. Our clients won't be happy if we start sending 5+mb docs over the wire to them, when with ASV they would compress down to under a meg. --- In svg-developers@yahoogroups.com, zedkineece [EMAIL PROTECTED] wrote: With all the doom and gloom coming with Adobe's announcement (which TOTALLY screws up the project I am working on), I have tested Opera's and Firefox's 'native' support of SVG, and here are my problems: * Neither one of them display our SVGs the same. The text is too large in one, and too small in the other. We tried changing font size from px to em, but the problem still remains. * setAttribute is not working at all in FF, and we get varying results in Opera. * Is there a way to pan in Opera? * Is there even a way to pan or zoom in FF? * We made great use of the ASV content menu, and now that goes away. I have been reading on everyone's rants about Adobe pulling the ASV, and I agree with most assessments. Having owned and run a business of my own, I can understand thoughts, but their thoughts are wrong, and I personally feel that it could have serious backlash financially as well as ethically. Adobe is starting to mimic Microsoft's rule at all costs mentality. It is all about money. - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Re: 'Native' SVG support in Opera and FF
On 9/12/06 9:51 AM, Tim Hesse wrote: Another huge issue for our firm is that FF (at least, haven't tested opera) doesn't support compressed .svgz which ASV did. Our clients won't be happy if we start sending 5+mb docs over the wire to them, when with ASV they would compress down to under a meg. Mozilla/Firefox's SVG will happily deal with svgz files if the server is providing them up with the appropriate content-encoding header. See this link for server configuration tips: http://wiki.svg.org/index.php?title=Server_Configuration Note that local (file:) svgz files will not load, due to this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=52282 - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: 'Native' SVG support in Opera and FF
Tim, I'm not sure where this misconception arose, but Firefox does indeed support compressed svg (.svgz) files. You need to make sure your web server properly supports directives though. As per http://jwatt.org/ svg/authoring/#server-configuration, for Apache this means for the .svgz extension: Content-Type: image/svg+xml Content-Encoding: gzip Hope this helps, Jeff --- In svg-developers@yahoogroups.com, Tim Hesse [EMAIL PROTECTED] wrote: Another huge issue for our firm is that FF (at least, haven't tested opera) doesn't support compressed .svgz which ASV did. Our clients won't be happy if we start sending 5+mb docs over the wire to them, when with ASV they would compress down to under a meg. --- In svg-developers@yahoogroups.com, zedkineece kmartin7@ wrote: With all the doom and gloom coming with Adobe's announcement (which TOTALLY screws up the project I am working on), I have tested Opera's and Firefox's 'native' support of SVG, and here are my problems: * Neither one of them display our SVGs the same. The text is too large in one, and too small in the other. We tried changing font size from px to em, but the problem still remains. * setAttribute is not working at all in FF, and we get varying results in Opera. * Is there a way to pan in Opera? * Is there even a way to pan or zoom in FF? * We made great use of the ASV content menu, and now that goes away. I have been reading on everyone's rants about Adobe pulling the ASV, and I agree with most assessments. Having owned and run a business of my own, I can understand thoughts, but their thoughts are wrong, and I personally feel that it could have serious backlash financially as well as ethically. Adobe is starting to mimic Microsoft's rule at all costs mentality. It is all about money. - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: Announcement: Adobe to Discontinue Adobe SVG Viewer
Hi Richard, I'm sure there are many of in this situation! Our App is a combined HTML/SVG data UI solution for govt depts are who are all IE users They will not be going to any other browsers any time soon (including ie7) and Flash is not really a solution for us as one of the key issues for us, and a key reason for choosing ASV was (and remains) the need for users to have a rastered copy of the SVG for post-use, as when a user has found the data, made a chart and so on, 99 times out of 100 they want to paste it into a word document. Fortunately the guys at Renesis have included a 'copy image' function in their player so I'm hoping that Renesis activeX object gets a good wind behind it and comes by for when you and I both take our head's out of the sand! --- In svg-developers@yahoogroups.com, [EMAIL PROTECTED] wrote: Tell me about it, a complete nightmare. Our apps solely work on SVG with some large companies and we are rewriting our apps to work on IE and all the Native SVG browsers coming out. The headache for me is these large companies are phasing out Flash availability in the company. Yep no flash player allowed to be installed, so I cannot (wouldnt anyway) move to flash. 3 companies IT depts have already confirmed this, SVG is ok luckily, but lo and behold, they use IE Im also standing at the crossroads, the only thing that keeps me going is the hope that Adobe dropping SVG is realised by some one at MS to see this as an opportunity to get back at Adobe and grasp back the browser market. I think im going to bury my head in the sand for 6 months, hope an alternative is on the way, if there isnt then probably s**t my pants and find another way. Sorry this has been useless info but had to get it off my chest. Richard From: Ben [EMAIL PROTECTED] Reply-To: svg-developers@yahoogroups.com To: svg-developers@yahoogroups.com Subject: [svg-developers] Re: Announcement: Adobe to Discontinue Adobe SVG Viewer Date: Mon, 11 Sep 2006 15:14:34 - Hi all, I'm just in the process of developing an SVG application using AJAX and PHP for a client. The idea of Adobe backing out of the Adobe SVG field is causing some concern and to be honest I'd like to know what real options are available out there otherwise I'll be tempted to move over to Flash MX. The real bonus for this product I'm developing is indeed cost, it's practically free BUT I need to know that the application based on SVG is going to be suitable for the client long into the future. If I can't gurantee that, then I need to look for a solution that is more long-term. What effect is the loss of Adobe SVG plugin going to have on coding? Will my javascript/php code need to change? Will I need to make changes to the servers to allow new SVG plugins/browsers to work? Will I have to install anything new, complicated onto users machines? Will SVG remain widely supported by the open source community? I feel very much as though I should stop current development before I've invested too much time in a solution that is not suitable or worse sustainable. SVG has been a life-saver and to think I might have to move over to another product kinda annoys the hell out of me. Ben _ Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re use of a DOM
I'm using HTTPXML (for an IE/ASV solution) with the format var xmlDoc = new ActiveXObject(Msxml2.DOMDocument.3.0); xmlDoc.load(url) this all works nicely, XML data is returned, and the xmlDoc is rturned to the calling function. The XML is then parsed into an array. I put it into an array, because the user may/should go back and request more data several times. Each data-fetch can then be retrieved from the array and displayed intables/charts. It seems to me that I should not need to put the data into an array but that I should be able to refer to the xmlDoc as per each request as I use a 'new' DOMdocument each time. However I can't figure out how to do this. Any clues mostg rateful appreciated. Garry - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Re: Announcement: Adobe to Discontinue Adobe SVG Viewer
A nice discussion .. hard to refrain to add my point of view ... Obviously ASV is widely deployed on intranets (and to some extent on internet also) of companies to help building really useful graphic applications. I think the reason is SVG is way superior (and much simpler to implement) to Flash when it comes to real practical problems of interacting with data and no fancy gradient or animations stuff is needed. For these practical applications though we need a performant viewer (able to hand dynamic interaction for svg of size typically over 500 Ko note that on a standard workstation even ASV is too slow for this when the svg is over say 1.5 Mo) ASV has offered this for free and that was great. Unfortunately for adobe (as I see it) the combination of public format + great simplicity of SVG has made commercial authoring tool no really necessary to build such applications ... I am completely certain that companies for whom we deploy this kind of applications would pay (reasonably priced) licences for a performant viewer. So why does Adobe does not goes that way ? I do not think that would compete with Flash Best JD - Original Message - From: pschonefeld To: svg-developers@yahoogroups.com Sent: Monday, September 11, 2006 9:29 PM Subject: [svg-developers] Re: Announcement: Adobe to Discontinue Adobe SVG Viewer Hi Pat, The organisation that I am currently doing work for has asked me to bring to the attention of Adobe their interest in SVG with a view to seeking (perhaps off-line) information on Adobe's roadmap for SVG support. This large organisation is currently running five business systems that utilise ASV as the primary means for rendering spatial information visualisations. External customers use two of these systems. In addition to these five systems, there is a product under development that utilises the browser plug-in as part of its graphical user interface. As I am sure you appreciate, this organisation is very interested in maintaining an environment of support for the Adobe SVG Viewer or a reliable alternative. We look forward to your reply. Regards Peter Schonefeld SVG Developer [Non-text portions of this message have been removed] - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: 'Native' SVG support in Opera and FF
for Apache this means for the .svgz extension: Content-Type: image/svg+xml Content-Encoding: gzip Would anyone have the proper setting for Tomcat's web.xml ? TIA, Larry - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: 'Native' SVG support in Opera and FF
Hi Lance that extension was build only using a text editor. i have some build script which packes the extension. as you allready found out both the xpi and the jar file are only renamed zips. the code is very messy currently. but if you like to hack on it anyways, i'm willing to send you my build scripts and talk you throu the code. What enhancements did you have in mind for it? i allready have a simple version here which uses a context menue instead of the toolbar. as for improvements i plan: - it would be nice to be able to draw a rect to which to zoom to - i like it to be more compatible to the ASV way of doing zoom and pan. - the options to zoom an pan should be disabled, if zoomAndPan = disabled. - also i was playing with the idea of implementing an UI for the SVG view spec. - yet another useful thing would be to include stelts bookmarklets. - saving the current state of the SVG or rasterize it and put it into the clipboard is possible, too. - but the most important enhancement would be to clean up the code, and comment it. and maybe write a documention for people who want to customize it. you see, there is still a lot to do. thanks for your interrest cheers Holger p.s.: check this site. its a nice toolbar extension tutorial. there are also some tools mentioned. http://www.borngeek.com/firefox/toolbar-tutorial/ - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [svg-developers] Re: 'Native' SVG support in Opera and FF
Hi, I think these are the settings to look at: http://tomcat.apache.org/tomcat-5.0-doc/config/http.html Two attributes are needed assuming you wish to add additional mimetypes: compressableMimeType: The value is a comma separated list of MIME types for which HTTP compression may be used. The default value is text/html,text/xml,text/plain. compression: The Connector may use HTTP/1.1 GZIP compression in an attempt to save server bandwidth. The acceptable values for the parameter is off (disable compression), on (allow compression, which causes text data to be compressed), force (forces compression in all cases), or a numerical integer value (which is equivalent to on, but specifies the minimum amount of data before the output is compressed). If the content-length is not known and compression is set to on or more aggressive, the output will also be compressed. If not specified, this attribute is set to off. . . . Service name=Catalina Connector port=80 maxHttpHeaderSize=8192 URIEncoding=UTF-8 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=8443 acceptCount=100 connectionTimeout=2 disableUploadTimeout=true compression=on compressableMimeType=text/html,text/xml,text/plain,application/xml, image/svg+xml / . . . Randy -Original Message- From: svg-developers@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Larry Mason Sent: Tuesday, September 12, 2006 10:05 AM To: svg-developers@yahoogroups.com Subject: [svg-developers] Re: 'Native' SVG support in Opera and FF for Apache this means for the .svgz extension: Content-Type: image/svg+xml Content-Encoding: gzip Would anyone have the proper setting for Tomcat's web.xml ? TIA, Larry - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] microsoft jscript runtime error javascript object null
Why dont you get him to also load FF and turn on the ecmascript debugger?, so you can see if you can catch the cause of the problem. Could it be something silly like you have multiple js source files and for some reason he is not getting one of them (serverside security for example, or your version is cached)? On Tuesday 12 September 2006 18:53, Sean wrote: My buddy's IE/ASV browser has been given me headaches, especially since he is 2,000 miles away. Solving one problem leads to another. My app works fine on my home pc, laptop, and workstation at work, but his is nothing but headaches. He has the same version of IE, ASV, and XP service pack 2. I checked his security, but don't see anything different. Currently, the onload event gives him Microsoft JScript runtime error: 'svgMaster is null or not an object. The object in question is the SVG doc itself, which I define as a global variable, and use it in two functions, one of which is an onload event.. I tried defining it in the functions themselves, but that seemed not to help. I can't recreate the problem on my end, so to me it seems like an issue with his browser. Any ideas would be most appreciated. Thanks! Sean - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links -- Ronan Oger Director RO IT Systems GmbH ...Building Web2.0 with SVG since 2001 http://www.roitsystems.com - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] microsoft jscript runtime error javascript object null
hi, there may also be proxies involved. the hardcore-test is renaming (or copying) your main file. when clearing the IE-cache, you also need to call clear the viewed page before (e.g. call about:blank). another possibility is an old ASV-version. andre -- ___ andre m. winter, cartography for internet and multimedia applications schiessstand 4/1, a6091 goetzens, tyrol, austria tel.: ++43.5234.32732 email: [EMAIL PROTECTED] new svg book with actual scripting samples out now! checkhttp://svg.carto.net/ Sean wrote: I'll look into the caching, but I've had him delete all his temp files multiple times. My app won't run in FF, which I'd like to rewrite it to, but, as has been discussed a lot lately, FF is to slow. - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] microsoft jscript runtime error javascript object null
Unless IE is caching somewhere I'm unaware of, it's not the cache. I've tried jacking my security level to the highest setting, but instead of any JScript runtime errors, which seems odd to me, running a javascript function, I just get nothing. Very strange. Sean Sean wrote: I'll look into the caching, but I've had him delete all his temp files multiple times. My app won't run in FF, which I'd like to rewrite it to, but, as has been discussed a lot lately, FF is to slow. Ronan Oger wrote: Why dont you get him to also load FF and turn on the ecmascript debugger?, so you can see if you can catch the cause of the problem. Could it be something silly like you have multiple js source files and for some reason he is not getting one of them (serverside security for example, or your version is cached)? On Tuesday 12 September 2006 18:53, Sean wrote: My buddy's IE/ASV browser has been given me headaches, especially since he is 2,000 miles away. Solving one problem leads to another. My app works fine on my home pc, laptop, and workstation at work, but his is nothing but headaches. He has the same version of IE, ASV, and XP service pack 2. I checked his security, but don't see anything different. Currently, the onload event gives him Microsoft JScript runtime error: 'svgMaster is null or not an object. The object in question is the SVG doc itself, which I define as a global variable, and use it in two functions, one of which is an onload event.. I tried defining it in the functions themselves, but that seemed not to help. I can't recreate the problem on my end, so to me it seems like an issue with his browser. Any ideas would be most appreciated. Thanks! Sean - To unsubscribe send a message to: [EMAIL PROTECTED] mailto:svg-developers-unsubscribe%40yahoogroups.com mailto:svg-developers-unsubscribe%40yahoogroups.com -or- visit http://groups.yahoo.com/group/svg-developers http://groups.yahoo.com/group/svg-developers http://groups.yahoo.com/group/svg-developers http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links -- Ronan Oger Director RO IT Systems GmbH ...Building Web2.0 with SVG since 2001 http://www.roitsystems.com http://www.roitsystems.com http://www.roitsystems.com http://www.roitsystems.com - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: Announcement: Adobe to Discontinue Adobe SVG Viewer
--- In svg-developers@yahoogroups.com, [EMAIL PROTECTED] wrote: Tell me about it, a complete nightmare. Our apps solely work on SVG with some large companies and we are rewriting our apps to work on IE and all the Native SVG browsers coming out. The headache for me is these large companies are phasing out Flash availability in the company. Yep no flash player allowed to be installed, so I cannot (wouldnt anyway) move to flash. 3 companies IT depts have already confirmed this, SVG is ok luckily, but lo and behold, they use IE Im also standing at the crossroads, the only thing that keeps me going is the hope that Adobe dropping SVG is realised by some one at MS to see this as an opportunity to get back at Adobe and grasp back the browser market. I think im going to bury my head in the sand for 6 months, hope an alternative is on the way, if there isnt then probably s**t my pants and find another way. Sorry this has been useless info but had to get it off my chest. Richard Richard don't do the bury head thing. Come to the dark-side (or the light-side, whatever you like). Microsoft's Vista and WPF technology, which includes XAML (the SVG lookalike with so much more), will solve all your needs on IE. So please don't bury your head or poop yourself, have a look at this stuff - it is awesome if your customer base is all Windows and all IE. here's a link for info: http://msdn.microsoft.com/windowsvista/default.aspx?pull=/library/en- us/dnlong/html/wpf101.asp You can download the bits right now to XP and they work. Kevin - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Re: 'Native' SVG support in Opera and FF
On Tue, 12 Sep 2006 16:51:10 +0200, Tim Hesse [EMAIL PROTECTED] wrote: Another huge issue for our firm is that FF (at least, haven't tested opera) doesn't support compressed .svgz which ASV did. Please do test... but yes, we do. cheers -- Charles McCathieNevile, Opera Software: Standards Group hablo español - je parle français - jeg lærer norsk [EMAIL PROTECTED] Try Opera 9 now! http://opera.com - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] microsoft jscript runtime error javascript object null
Hi Andre, I had him try Start-Run-'cleanmgr' and I renamed the file, neither of which worked. I eliminated the global nature of the variables, and he now just gets Microsoft JScript runtime error: Object expected. Very non-descript. My errors, when they occur, name the variable and the line/column it occurs on, and the error popup looks different, mine has a large red X on it and his does not. He has the latest version of ASV, but that shouldn't matter, the app runs ok on the older version 3s. I'm leaning towards that problem is unique to his computer, but I'm not ready to make that assumption. Thanks! Sean Andre M. Winter - Carto.net wrote: hi, there may also be proxies involved. the hardcore-test is renaming (or copying) your main file. when clearing the IE-cache, you also need to call clear the viewed page before (e.g. call about:blank). another possibility is an old ASV-version. andre -- __ andre m. winter, cartography for internet and multimedia applications schiessstand 4/1, a6091 goetzens, tyrol, austria tel.: ++43.5234.32732 email: [EMAIL PROTECTED] mailto:ml.winter%40carto.net new svg book with actual scripting samples out now! check http://svg.carto.net/ http://svg.carto.net/ Sean wrote: I'll look into the caching, but I've had him delete all his temp files multiple times. My app won't run in FF, which I'd like to rewrite it to, but, as has been discussed a lot lately, FF is to slow. - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] microsoft jscript runtime error javascript object null
Sean, I have never seen machine-specific errors. As André suggested in his previous email, you may be suffering from some cache effects with a cacheing proxy between your friend and the other your server. Ronan On Tuesday 12 September 2006 20:37, Sean wrote: Hi Andre, I had him try Start-Run-'cleanmgr' and I renamed the file, neither of which worked. I eliminated the global nature of the variables, and he now just gets Microsoft JScript runtime error: Object expected. Very non-descript. My errors, when they occur, name the variable and the line/column it occurs on, and the error popup looks different, mine has a large red X on it and his does not. He has the latest version of ASV, but that shouldn't matter, the app runs ok on the older version 3s. I'm leaning towards that problem is unique to his computer, but I'm not ready to make that assumption. Thanks! Sean Andre M. Winter - Carto.net wrote: hi, there may also be proxies involved. the hardcore-test is renaming (or copying) your main file. when clearing the IE-cache, you also need to call clear the viewed page before (e.g. call about:blank). another possibility is an old ASV-version. andre -- __ andre m. winter, cartography for internet and multimedia applications schiessstand 4/1, a6091 goetzens, tyrol, austria tel.: ++43.5234.32732 email: [EMAIL PROTECTED] mailto:ml.winter%40carto.net new svg book with actual scripting samples out now! check http://svg.carto.net/ http://svg.carto.net/ Sean wrote: I'll look into the caching, but I've had him delete all his temp files multiple times. My app won't run in FF, which I'd like to rewrite it to, but, as has been discussed a lot lately, FF is to slow. - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links -- Ronan Oger Director RO IT Systems GmbH ...Building Web2.0 with SVG since 2001 http://www.roitsystems.com - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] microsoft jscript runtime error javascript object null
I checked his proxy settings in IE, nothing that might explain the issue. I also wrote benign text into the doc so he could view source and let me know if it were there, which it was, to me indicating he had an un-chached version. With regards to caching proxy between his computer and my server, not sure what I could do about that if it were the problem, since I'm unfamiliar with how that works, and couldn't dig up much searching around for it. There was one interesting thing he noticed, to what extent it may explain things I'm unsure, but his browser was saying Unrecognizable Doc Type Declaration, or something similar, so I commented out echo !DOCTYPE svg PUBLIC...;, which took care of it, but the JScript errors kept coming. There seems to be something wrong with his browser. It's like his browser is not reading all of the JS, some, but not all. I put alerts in the JS to make sure the browser reads some of it, which it does. I'm thinking it is related to getURL or parseXML, but won't know for sure until tomorrow. Sean Ronan Oger wrote: Sean, I have never seen machine-specific errors. As André suggested in his previous email, you may be suffering from some cache effects with a cacheing proxy between your friend and the other your server. Ronan On Tuesday 12 September 2006 20:37, Sean wrote: Hi Andre, I had him try Start-Run-'cleanmgr' and I renamed the file, neither of which worked. I eliminated the global nature of the variables, and he now just gets Microsoft JScript runtime error: Object expected. Very non-descript. My errors, when they occur, name the variable and the line/column it occurs on, and the error popup looks different, mine has a large red X on it and his does not. He has the latest version of ASV, but that shouldn't matter, the app runs ok on the older version 3s. I'm leaning towards that problem is unique to his computer, but I'm not ready to make that assumption. Thanks! Sean - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] SVG Event Handling ASV
It is amazing ! No answer nor any comment in almost 20 days! Well I've found the error by myself. ASV do not accept the use of the method name addEventListener as a test for checking its existence in the svg object interface. So the code if( obj.addEventListener) raises an exception which tells that too few parameters were used in the method call. It is obvious that ASV does not implement the W3C SVG DOM the same way that FireFox and Opera do. Jayme Jeffman Filho - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] RE: Opera svg and Tomcat
Hi Larry, I discovered something interesting about Tomcat while playing with Opera svg/svgz. This may be of interest to others as well. Tomcat sets mime types in its web.xml. 1. If you have an older Tomcat web.xml it may contain some bogus svg mime types: mime-mapping extensionsvg/extension mime-typeimage/svg /mime-type /mime-mapping mime-mapping extensionsvgz/extension mime-typeimage/svg /mime-type /mime-mapping These need to be deleted for FF and Opera. This did not cause a problem in ASV. Evidently Tomcat finds the last mime-type for a given extension key and uses that for the header, which causes further problems seen below. 2. The default Tomcat download for windows lists svg mime types in this order: mime-mapping extensionsvg/extension mime-typeimage/svg+xml/mime-type /mime-mapping mime-mapping extensionsvgz/extension mime-typeimage/svg+xml/mime-type /mime-mapping Tomcat assigns the last listed mime-type for a given ext, which would seem to be fine since ext 'svgz' is not the same as extension 'svg'. However, if the 'svg' mime extension is listed first it seems to be overridden by the 'svgz' extension. In other words no matter if you have 'svg' files or 'svgz' files Tomcat will treat it as 'svgz'. It sounds like an (ext.indexOf (svg)!=-1) type of problem with Tomcat. If the 'svgz' mime type is deleted then Opera gets the correct mimetype 'svg' from Tomcat and it will recognize svg files. Vice versa is also true. Leaving in 'svgz' and taking out 'svg' allows svgz files to be recognized properly. 3. The way I finally got both working was to reverse the mime type order thus: mime-mapping extensionsvgz/extension mime-typeimage/svg+xml/mime-type /mime-mapping mime-mapping extensionsvg/extension mime-typeimage/svg+xml/mime-type /mime-mapping This solved the problem for me and I can display both .svg and .svgz with no problem in Opera. 4. Another approach was the Tomcat compression setting I referenced in an earlier post. This has the nice feature of letting you forget about pre compression into svgz. All svg will be automatically compressed after whatever size threshold you set. However, there may be some minimal time savings by using pre-compressed svgz files and keeping separate svg and svgz mime-types. Maybe this is old hat for Opera svg people but I had not run into this until I started working with Opera. Also important to note while experimenting clear the cache! Randy [Non-text portions of this message have been removed] - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Re: Browser-based SVG rendering proof-of-concept
I Agree with Kevin. However I like to propose a 100% cross brower method to have SVG rendering. with the minimum effort in incorporate, In the past, I have had it work on Opera FF 1.0 IE 5.6. I am sure it also on IE7. METHOD -1. However it should not be a lone effort in defining API rather it should be a community's effort. In general this what I have done: (1) Instead of rely on SVG player to provide me with API to manipuate SVG content or save it content I rely on Browser's capability on XML. I acheieve this by using this (or something similar using documentwrite(url)) div svg /svg /div (2) Once in there I can use DOM API to manipulate All (attrubute style . . . .) thing that I like. However DOM/XML API is not uniformed. You/we need to have if statement to set those function once. (3) I also have a RefresgSvgAPI( string, div_destination) function in javascript inside this fuction we any methode that we want do display it can be kevin's method, or VML or ZIpProtocol, I ven use 100% JavaScript to provide base64 PNG file, or you can brower's native functions. (4) Whenever I want to repaint that SVG all I need to do is call RefresgSvgAPI with innerHTML string of that div above and the target div I what it to display on. (5) I have try it on FF 1.0 IE 5,6 and Opera And it work beautifully (of course on those of What i need). (6) While doing on this method I also found that IE and FF will become very very slow when it come to laeger SVG. It prompt me to work on method 2: METHOD -2: Very similar to Method one, However I use javascript Array to prepresent the SVG content. (1) - Instead of using browser XML capability I use brower its Javascript array functionality. However It need script on the Sever side to translate SVG content into Javascript (defining statements of an multi-dimensional array) ( This also can be done on client side) (2) once in ther I manilulate the SVG content the sane way I manipulate an array. Such as :MySVG[mypath3][style][opaicity]=0.5 (3) When I want to repaint the SVG content I call RefresgSvgAP (I acheive the string by a series of join statement, one for style and one for anything else). (4) This also have been tested on IE FF and Opera. (performing wise, it better then method one; in many case it's also much faster compare to API wich provide by Browser's native SVG. Hope this Helps. Phi. On 9/12/06, Kevin Lindsey [EMAIL PROTECTED] wrote: Hey Randy, I don't yet see how the Ajax/javascript approach could fill the vacuum left by ASV's sudden demise. I fully agree with Jon's response and I have nothing to add there. However, I wanted to clarify that my proof of concept was purely intended as a means of rendering static vector data (specifically SVG path data) to various target renderers. It is by no means intended to be a replacement for an SVG full implementation. I haven't been following Dojo2D, but I'm certain their project will be much more feature rich, especially given that my code was more an exercise of curiousity. That being said, it sounds like there are already a number of viewers that could fill the vacuum. It's probably more of a case of arguing how a company/project could benefit from filling that void. This may not be an opinion shared by many people, but in the end I think this will be positive for the community as it will break our reliance on a viewer that has been stagnate for many years. Kevin KevLinDev - http://www.kevlindev.com -- Phi - Tran Hugely increase your speed, saving your band-width with ZipProtocol plus crystal clear SVG Rendering image at HTTP://oneplusplus.com [Non-text portions of this message have been removed] - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/