Click to See Complete Forum and Search --> : XHTML + SVG without MathML?


Mr Initial Man
07-03-2007, 04:04 AM
I know that there is XHTML 1.1 + MathML 2.0 as a doctype. I've used it myself. There is also XHTML 1.1 + MathML 2.0 + SVG 1.1. But is there XHTML 1.1 + SVG 1.1, without the MathML?

Stephen Philbin
07-03-2007, 04:59 AM
I don't know. I figured that I'd just make my own DOCTYPEs for mixing those vocab's. I saw that the W3C's pre-made DOCTYPEs you were using a while back forced you to pointlessly and explicitly declare the the svg namespace on every single svg element because they were all defined that way in the DTD.

Just make yer own I guess.

Mr Initial Man
07-03-2007, 07:53 AM
Actually, if you declare it way up in the root element, you don't have to re-declare it later.

Mr Initial Man
07-03-2007, 09:24 AM
I don't know. I figured that I'd just make my own DOCTYPEs for mixing those vocab's. I saw that the W3C's pre-made DOCTYPEs you were using a while back forced you to pointlessly and explicitly declare the the svg namespace on every single svg element because they were all defined that way in the DTD.

Just make yer own I guess.

Which reminds me, how would you pull that off?

Stephen Philbin
07-04-2007, 03:15 AM
Oh. I just remembered. Making your own DTD probably wouldn't be practical anyway. FF would just screw things up by ignoring external entities. The way I would have done it would have had a DOCTYPE that pointed to a small DTD file which just said to include the XHTML and SVG DTDs as external entities, but I don't think you can do that with Firefox, so I guess we're screwed.

Mr Initial Man
07-04-2007, 11:43 AM
One day someone will make a browser that works properly *Wistful sigh*