(Problem was: A malicious script running in a web page on your browser
could access pages from inside your firewall and leak the data back to the
bad guys, so access to other domains than the source of the script was
blocked, but that was a pain)
Make the HTML namespace implicit, set by the Content-Type
SVG and MathML should be lighter
Make shortcuts also bootstrapped from HTML
Other communities are also really important
Keep the ability for a random person to extend HTML for local use
Story: ARIA
Accessibility for Rich Web Applications
Design need: add ~30 new attributes to xHTML & similar
In XML: add namespace aria:foo
In HTML: add attributes aria-foo
Issues:
Users confused
Have to get HTML WG (etc?) to accept the attributes
Scripts see this differently in XHTML and HTML
General divergence of code
We have two (+?) working groups chartered in the HTML namespace
Story: RDFa
Design need: Add semantics to *HTML
Previous design: Overload class attribute with complex syntax
In HTML: Add new attributes
Issues:
How to follow your nose? GRDDL? Change HTML spec?
How to describe ARIA?
Does HTML group need to be in the loop?
Story: Microformats
Design Need: Add application-specific semantics to *HTML
Design: Overload class attribute
Issues:
How to follow your nose?
Every client has to learn each new microformat
(GRDDL would work but GRDDL not microformats deployment path)
Motivator? Getting past the the W3C validator
Postel's maxim
Be conservative in what you produce, liberal in what you
accept
A very important maxim in Internet protocol design
How has this left the web?
The conservative validator
The liberal browser
The motivating slope
The motivating slope
Extensabiliy and the Online page checkers
We need online tools which will:
Point out simple syntax errors but continue
Point out serious errors and continue
Encourage (good) XML but not require it
Accept and warn unrecognized elements and attributes, and continue
Encourage the use of namespaces, looking up new namespaces found
Rate a page with points according to severity
Is it possible to make a unversal parser for HTML5 and XML?
Q: More resources for online tools?
Fixing web pages: Browser to-do
View Source: show cleaned up source
Save As: save cleaned up source
This is my website -> show errors
HTML Mime type issues
An excercise in deployment strategy
You can't serve nice XHTML up as text/html :-(
Character encoding issues: Different defaults
etc
IE does not recognize application/xhtml+xml
Content-Type
Threats to XML
People start embedding HTML within XML (e.g. in RDF), forcing the HTML
parser to be deployed much more widely
HTML adds all kinds of things
HTML WG defines different extensability mechanism from NS
Systes whcih are all-xml now, including SOAP and B2B, end up having to
include HTML syntax browsers.
Should XML meet HTML halfway? XML2.0
Allow attribute quotes to be omitted for simple values.
Allow namespace to be default, given Content Type
Short-hand for switching from one namespace to another? (grounded in
Namespace document)
Short form of close tag </> ?
Remove DTDs.
Only buit-in entities. - or declared using elements?
No fixed or default atributes
URIs for grammar, cross-schema links for mixed NS
Remove PIs (Have a xml:pi element if you like?)
";" as alternative to "><" to simplify
whitespace??
Multiple root elements or mixed content as document?
etc ... ?
(See Tim Bray 2002,
Norm Walsh on XML2.0 in 2004, 2008),...
Threats to modularization
Include all ARIA in HTML
Include all RDFa in HTML
Include all of SVG in HTML (in HTML syntax)
Include all MathML in HTML
What it will become is what all 350 page specs become -- a 650 page
spec! - J. Klensin, 19?? about something else.
Costs of lack of modularization
Testing all combinations
Product development time
Spec development time
Short supply of people who understand the spec
Users learning time?
Social modularization
The first 13+ years of W3C involved a constant theme of designing a
modular organization, which would design a modular system in a decentralized
way. Working groups coordinate with others inside AND outside W3C,
technologies fit together like a quilt and build on each other like Lego. The
lack of modularization in HTML5 follows from the lack of modularization in
the HTML5 group. *
Each group, whether or not in W3C, has a duty to act as a responsible peer
to other groups, recognize it is part of a larger communities, and to spawn
independent subgroups to do cleanly defined parts of the work when the task
is big.
It takes time. There is no free consensus.
* (Fred Brooks, Mythical Man Month, structure of system
follows structure of organization)
Browser profile?
Modularization though leads to fragmentation in the selection
implemented.
HTML
CSS
HTTP
DOM
Ecmascript
Graphics - JEPG, PNG, SVG
Video codecs
...
Should we work more on user environment profiles?
The W3C Web Applications platform
HTML+SVG+DOM+WebAPIs+SPARQL is actually a very powerful platform
SVG is a great technology, implemented by every browser but one.
The basis of the 'web 2.0' wave
Competition from proprietary stacks:
Flash always been a non-standard part
Now silverlight and AIR compete
Questions for Advisory Committee
Priorities?
Press HTML WG to be modular?
Make new simpler, extensible, XML?
Design for the future vs. accomodate the past?
Resources for new page-checker tools?
Push Web Applications hard as the future platform?