[svg-developers] Re: DTD declaration, was:Re: google and SVG
"Robin Berjon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > There are some simple Apache tricks you can use to send your XHTML > documents as application/xhtml+xml to up-to-date browsers and as > text/html to obsolete tag-soupers like IE. That is however a very bad idea, because you're still sending XHTML pretending to be HTML to the very browsers that don't support it! You've gained absolutely nothing to help you produce workable content. Jim. - 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/ <*> 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: DTD declaration, was:Re: google and SVG
Hi Marjorie, Marjorie Roswell wrote: > I wish I knew what you guys are talking about. I wouldn't worry about it, just learn as you go :) > obsolete tag-soupers? Browsers that are obsolete and only understand a very limited and buggy subset of Web technology. The most typical one is Internet Explorer. > namespace-unaware things? XML has this simple piece of technology called namespaces. They allow you to mix multiple languages in the same document and still know the difference between for instance XHTML's and SVG's . Unfortunately some tools and some small parts of the XML architecture do not know about them, which causes problems. > avoiding the doctype? The line that contains at the start of the document, it's quite useless. > What should a relative newbie take away from this dialog? What should > I do differently when working with SVG? I think this has been well summarized in the other answer to this mail. > Can somebody build a little clip file in textpad (a great text editor, > at textpad.com), to reflect best SVG practices? Textpad is great indeed but I don't have time to write a clip file. -- Robin Berjon Research Scientist Expway, http://expway.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/ <*> 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: DTD declaration, was:Re: google and SVG
Holger Will wrote: > How i understand it , following Robin Berjon, a basic SVG file should > look like this: > > http://www.w3.org/2000/svg";> > > > no ! no ! > only the namespace (xmlns="...") > > note: and if you use xlink dont forget > xmlns:xlink="http://www.w3.org/1999/xlink"; > > my empty svg template looks like this: > > http://www.w3.org/2000/svg"; > xmlns:xlink="http://www.w3.org/1999/xlink";> > > > That is correct. Note that you will want the XML Prolog () if you are using an encoding other than UTF-8 or UTF-16. -- Robin Berjon Research Scientist Expway, http://expway.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/ <*> 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: DTD declaration, was:Re: google and SVG
Marjorie Roswell wrote: > > (A two-part question, really: > 1. What should I learn from this dialog? > > How i understand it , following Robin Berjon, a basic SVG file should look like this: http://www.w3.org/2000/svg";> no ! no ! only the namespace (xmlns="...") note: and if you use xlink dont forget xmlns:xlink="http://www.w3.org/1999/xlink"; my empty svg template looks like this: http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink";> regards Holger - 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/ <*> 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: DTD declaration, was:Re: google and SVG
Jim Ley wrote: >Not serving XHTML to HTML user agents is far and away your best option. What about XHTML 1.1 with the iframe module for serving/presenting the .svg, close to now or in the near future? thanks michael - 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/ <*> 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: DTD declaration, was:Re: google and SVG
I wish I knew what you guys are talking about. obsolete tag-soupers? namespace-unaware things? avoiding the doctype? What should a relative newbie take away from this dialog? What should I do differently when working with SVG? Can somebody build a little clip file in textpad (a great text editor, at textpad.com), to reflect best SVG practices? Thanks in advance for tackling this question, (A two-part question, really: 1. What should I learn from this dialog? 2. Can anyone build concrete examples into textpad clip libraries http://www.textpad.com/add-ons/cliplibs.html I suspect (perhaps?) that the two SVG Clip libraries there may be a bit out of date in terms of some of these issues being discussed... Margie On Fri, 01 Apr 2005 14:25:59 +0200, Robin Berjon <[EMAIL PROTECTED]> wrote: > > Philippe Lhoste wrote: > > Robin Berjon wrote: > >>So when they say OK they really haven't checked anything, when they say > >>NOT OK they might be on crack, and like all namespace-unaware things > >>they're a dead branch of the XML tree. But feel free to use them anyway > :) > > > > So, I suppose I should remove them from my XHTML pages as well :-) > > Unfortunately XHTML requires that you include the DOCTYPE. It's a > mistake but one we have to live with. Don't try to validate XHTML with > the DOCTYPE, it won't produce useful results. > > > Hmm, perhaps no, I believe we should avoid the > > I avoid it for all XML documents. So long as you stick to UTF-8 or > UTF-16 (which makes one's life a lot simpler) and stick to version 1.0 > (one rarely needs 1.1) it contains no useful information. > > > line because some browsers choke on it, and some (other?) browsers need > > this DOCTYPE line to choose a behavior on HTML/CSS rendering... > > There are some simple Apache tricks you can use to send your XHTML > documents as application/xhtml+xml to up-to-date browsers and as > text/html to obsolete tag-soupers like IE. > > -- > Robin Berjon >Research Scientist >Expway, http://expway.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 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/ <*> 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: DTD declaration, was:Re: google and SVG
"Philippe Lhoste" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hmm, perhaps no, I believe we should avoid the > line because some browsers choke on it, No, not browsers choke on that in an XML page. Of course some people misguidedly serve XML documents pretending it's not an XML document, and those html browsers may have problems, but those people are just being silly. Not serving XHTML to HTML user agents is far and away your best option. Stick with HTML 4.01 Strict. Cheers, Jim. - 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/ <*> 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/