(Markup) changes I would make
Monday, October 31st, 2005This is a list of markup changes I would make to languages on the web, if I were all-powerful and able to push them through, and backwards compatibility weren’t an issue:
- Specs would be written so their content models ignored elements from other namespaces. For example, when html 4 says
<!ELEMENT UL - - (LI)+ -- unordered list -->, I can do<ul><foo:bar><li>blah</li></foo:bar></ul>and all is good and well and valid. - Forms would be a separate namespace from documents. See my previous post.
- Navigation/branding/other template-type things would be their own namespace. See again my previous post.
insanddelwould have their own namespace.- New namespaces would be easy to generate, and it would be easy to make machines (partially) understand them, without needing those machines to be updated at all. See my post on this topic.
More to come… this post was mostly inspired by the ins/del thing.
Reading back over the first item… is that really what I want? And just say if authors do something like <html:em><grammar:paragraph>text text</grammar:paragraph></html:em> it’s their problem? Or do I really just want some way to say “this element doesn’t affect content models”?