The experimental html bundle is great, and I'm all for the sctrictness, except that I'm using kid templates which have an expanded namespace (additional attributes like py:layout="blah").
Does xhtml strict allow an expanded namespace (properly declared with xmlns:py="http://purl.org/kid/ns#%22)?
Either way is it possible/reasonably easy to set up the new grammar to accept them? (Possibly by me hacking my local version of it?)
Incidentally, this is all because I set up a command that uses csstidy to reformat my css code and it doesn't like receiving the <script> tag. I could just always select the css I want formatted but I'm proactively lazy.
Thanks
Ed
On 8/11/06, Michael Sheets mummer@whitefalls.org wrote:
In a html document the <style> tag seems to be included in the scope of source.css.embedded.html whereas surely it isn't css at all, only the contents between the tag are css.
It's a known issue with the HTML grammar; I've been trying to work out in my head how to rearrange the HTML grammars to be less numerous etc. Once the best approach is figured out they just need to be re- written. In other words it could be fixed, but probably best to put the effort toward a new grammar.
There is a grammar that I made as a proof of concept in the repository Experimental HTML; but it's highly strict, and only supports XHTML 1.0 Strict. On the flipside if your using that it works pretty well. :)
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate