[whatwg] several messages about XML syntax and HTML5

Thomas Broyer t.broyer at gmail.com
Sun Dec 10 05:06:11 PST 2006

2006/12/10, Sam Ruby:
> On 12/9/06, Thomas Broyer wrote:
> >
> > I'm not found of using <script> for inlining SVG or MathML, but it is
> > proven to work on current browsers. We just have to make sure HTML5
> > won't declare those documents invalid, and for this we need to say
> > that </ is not a parse error inside <script> and shouldn't be treated
> > as an EndTag token except if it actually is the </script> end tag.
> FWIW:<script> is a valid tag inside of SVG.  Demo:
> http://www.croczilla.com/svg/samples/svgtetris/svgtetris.svg

Use a prefix <svg:script> ;-)

Thomas Broyer

More information about the whatwg mailing list