<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>W3C HTML Working Group</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/html/" />
    <link rel="self" type="application/atom+xml" href="http://www.w3.org/QA/atom.xml" />
   <id>tag:www.w3.org,2009:/QA//1</id>
    <updated>2009-11-05T21:49:57Z</updated>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.261</generator>
 

<entry>
    <title>W3C Cheatsheet for developers</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2009/11/w3c_cheatsheet_for_developers.html" />
    <id>tag:www.w3.org,2009:/QA//1.8652</id>
    
    <published>2009-11-05T21:47:15Z</published>
    <updated>2009-11-05T21:49:57Z</updated>
    
    <summary type="html">Yesterday, as part of the W3C Technical Plenary day, I got the opportunity to introduce a new tool that I had been working on over the past few weeks, the W3C Cheatsheet for Web developers. This cheatsheet aims at providing...</summary>
    <author>
        <name>Dominique Hazaël-Massieux</name>
        <uri>http://www.w3.org/People/Dom/</uri>
    </author>
    
        <category term="Accessibility" />
    
        <category term="CSS" />
    
        <category term="HTML" />
    
        <category term="Internationalization" />
    
        <category term="Mobile" />
    
        <category term="SVG" />
    
        <category term="Tools" />
    
        <category term="Tutorials" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>Yesterday, as part of the <a href="http://www.w3.org/2009/11/TPAC/PlenaryAgenda">W3C Technical Plenary day</a>, I got the opportunity to introduce a new tool that I had been working on over the past few weeks, the <a href="http://www.w3.org/2009/cheatsheet/">W3C Cheatsheet for Web developers</a>.</p>
<p style='float:left;padding:0.5em;'><img src='/2009/11/cheatsheet-screenshot' width='318' height='228' alt='Screenshot of the W3C Cheatsheet on a phone' /></p>
<p>This cheatsheet aims at providing in a very compact and mobile-friendly format a compilation of useful knowledge extracted from W3C specifications — at this time, CSS, HTML, SVG and XPath —, completed by summaries of guidelines developed at W3C, in particular the WCAG2 accessibility guidelines, the Mobile Web Best Practices, and a number of internationalization tips.</p>
<p>Its main feature is a lookup search box, where one can start typing a keyword and get a list of matching properties/elements/attributes/functions in the above-mentioned specifications, and further details on those when selecting the one of interest.</p>
<p>The early feedback received both from TPAC participants after the demo and from the microblogging community has been really positive and makes me optimistic that this tool is filling a useful role.</p>

<p>This is very much a first release, and there are many aspects that will likely need improvements over time, in particular:</p>
<ul>
<li>I would like the cheatsheet to cover more content — from specifications not yet released as standards as well as from topics not yet covered (e.g. JavaScript interfaces),</li>
<li>some people have reported that there might be accessibility problems with the current interface, that I’m eager to fix once I get specific bug reports,</li>
<li>the cheatsheet doesn’t work in IE6 (and probably even in later versions), and it would be nice to make it work at least somewhat there.</li>
</ul>
<p>The <a href="http://dev.w3.org/cvsweb/2009/cheatsheet/index.html">code behind the cheatsheet</a> is already publicly available, and I’m hoping others will be interested to join me in developing this tool — I’m fully aware that the first thing that will need to get others involved will be some documentation on the architecture and data formats used in the cheatsheet, and I’m thus hoping to work on that in the upcoming few weeks.</p>
<p>In the meantime, I very much welcome bug reports and suggestions for improvements, either by private email to me (<a href="mailto:dom@w3.org">dom@w3.org</a>) or preferably to the <a href"http://lists.w3.org/Archives/Public/public-qa-dev/">publicly archived</a> mailing list <a href="mailto:public-qa-dev@w3.org">public-qa-dev@w3.org</a>.</p>]]>
        
    </content>
</entry>

<entry>
    <title>How do we test a Web browser?</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2009/09/how_do_we_test_a_web_browser.html" />
    <id>tag:www.w3.org,2009:/QA//1.6478</id>
    
    <published>2009-09-17T21:51:53Z</published>
    <updated>2009-09-20T11:17:05Z</updated>
    
    <summary type="html">Testing all possible Web browsers out there is hard and requires more effort than one organization can afford by itself. The idea of increasing the level of Web browser testing done in W3C is to involve the community at large as much as possible. If we really want an interoperable Web, that&apos;s what W3C should move to.</summary>
    <author>
        <name>Philippe Le Hégaret</name>
        <uri>http://www.w3.org/People/LeHegaret/</uri>
    </author>
    
        <category term="CSS" />
    
        <category term="HTML" />
    
        <category term="SVG" />
    
        <category term="Tools" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[
  <p>The idea started with the fact that we have a number of Working Groups who
 are trying to review the way they do testing, but also
 increase the number of tests they are doing as well.</p>

 <p> The CSS Working Group was foremost in mind when it comes to testing. The
 Group has several documents in Candidate Recommendation stage that are waiting tests and
 testing. The HTML Working Group is starting to look into testing as well
 and a key component of ensure the proper success of HTML 5 is through
 testing. The specification is quite big to say the least and,
 when it comes to testing, it's going to require a lot of work.
 We also have more and more APIs within the Web Apps group, Device API,
 Geolocation, etc. The SVG Working Group has a test suite for
 1.2, but they're looking at different ways of testing as well.
 The framework produced by the MWI Test Suites framework allow two methods. One
 requires a human to look at it and select pass/fail. The other
 one is more suitable for script tests, ie APIs testing.</p>

 <p> A bunch of us, namely Mike Smith, Fantasai, Jonathan Watt, Doug
 Schepers, and myself, decided to get together to discuss this
 and figure out how to improve the situation. We focused on three
 axes: test submissions, test reviews and how to run a test.</p>

 <p> First, we'd like ideally every single Web author to be able to
 submit tests, so when they run into a browser bug based on a
 specification, it should be easy for them to submit a test to
 W3C. It should also allow browser vendors to submit thousands of
 tests at once. There is the question of how much metadata do you
 require when submitting a test. For example, we do need to know
 at some point which feature/part of a spec is being tested. We
 should also as many format as possible for tests. Reftests,
 mochitests, DOM-only tests, human tests, etc. The importance
 aspect here is to be able to run those tests on many
 platforms/browsers as possible. A test format that can only be
 ran on one browser is of no use for us.</p>

 <p> Once a test has been submitted, it needs to be reviewed. The
 basic idea behind improving test reviews is to allow more
 individuals to contribute. The resources inside W3C aren't
 enough to review ten of thousands of tests. We need to involve
 the community at large by doing crowd reviews. It will allow the
 working groups to only focus on the controversial tests.</p>

 <p> Once the test got reviewed, we need to run them on the browsers, as many
 as possible. Human tests for example are easy to run on all of
 them, but it does require a lot of humans. Automatic layout
 tests are a lot trickier, especially on mobiles. We focused on
 one method during our gathering: screenshot based approach. The basic
 idea here is that a screenshot of the page is compared to a
 reference. Mozilla developed a technology called ref-tests that
 compares Web pages themselves. You write two pages differently that are
 supposed the exact same rendering and compare their
 screenshots. It avoids a lot of cross-platforms issues one can.
 The way Mozilla is doing that is via the mozPaint API in debug
 mode. That works well, but only works in Mozilla. You can guess
 that other browser vendors have a similar to automatically take
 screenshots as well. We wanted to find a way to do this with all
 browsers without forcing them or us to write significant amounts
 of code. We found a Web site called browsertests.org and we got
 in touch with that Sylvain Pasche and, with his help, we started
 to make some improvements on his application. It works well on
 desktops at least. Once again, we don't think W3C is big enough
 to replicate all types of browser environments, so we should
 make it easy for people to run the tests in their browser and
 report the results back to us. Plenty of testing frameworks have
 been done already and we should try to leverage them as much as
 possible.</p>

 <p> We started to set up a database for receiving the tests and
 their results. We'd like to continue the efforts on the
 server/database side, as well as continuing to improve Sylvain's
 application, allowing more tests methods and formats. Testing
 the CSS or HTML5 parser should be allowed for example.</p>

 <p> You'll find more information at our <a href="http://omocha.w3.org/">unstable server</a> but keep in mind that:</p>
<ol><li>we're in the very early stages</li>
<li>this server is a temporary one that I managed to steal for a
    few days from our system folks. They'll want it back one of
    those days and I need to find a more stable home prior to
    that event. I'll update the link once this happens but expect it to break if you bookmark it.</li>
<li>Unless I can secure more resources for the project, we won't
    go far by ourselves.</li>
</ol>

 <p>The server also contains links to more resources on the Web related to
 various testing efforts, as well as a more complete of what we
 wish the testing framework to accomplish.</p>

<p> For the conclusion, I'd like to thank Mike Smith and Doug
 Schepers, and especially Jonathan Watt and Fantasai from the
 Mozilla Foundation. They all accepted to argue and code for 8
 days around the simple idea of improving the state of testing at
 W3C. I hope we're going to be able to take this project off the
 ground in the near future. If you're interested in contributing,
 got ideas and time, don't hesitate to contact me.</p>
]]>
        
    </content>
</entry>

<entry>
    <title> Orthogonality of Specifications</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2009/06/orthogonality_of_specification.html" />
    <id>tag:www.w3.org,2009:/QA//1.6371</id>
    
    <published>2009-06-24T13:03:36Z</published>
    <updated>2009-06-24T13:01:35Z</updated>
    
    <summary type="html">HTTP,HTML,URI The general principle of platform design is that platforms consist of a set of standard interfaces. Standard interfaces allow substitution of components across the interface boundary, while independence of interfaces allow evolution of the interfaces themselves. In a PC,...</summary>
    <author>
        <name>Larry Masinter</name>
        <uri>http://larry.masinter.net</uri>
    </author>
    
        <category term="HTML" />
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<!-- #BeginTags --><p class="tags"><a href="http://www.technorati.com/tag/HTTP" rel="tag">HTTP</a>,<a href="http://www.technorati.com/tag/HTML" rel="tag">HTML</a>,<a href="http://www.technorati.com/tag/URI" rel="tag">URI</a></p><!-- #EndTags -->
	<p>The general principle of platform design is that platforms consist of a set of standard interfaces. Standard interfaces allow substitution of components across the interface boundary, while independence of interfaces allow evolution of the interfaces themselves. In a PC, for example, the disk bus interface allows many different disk vendors to offer disk products independent of the model of display or keyboard, but the orthogonality of  interfaces allow evolution of the interfaces themselves. If the display interface were linked to the disk interface too tightly, it wouldn't be possible to evolve ISA to SATA without updating VGA.</p>
	<p>In the web platform, the three important interfaces are transport, format and reference, and the current definitions of those interfaces are HTTP, HTML and URI. The interfaces are standard, allowing many different implementations: HTTP standard lets you use HTTP servers from many vendors, the HTML standard lets you use many different HTML authoring tools or template systems, and the URI specification allows identification of many different components.</p>
	<p>While HTTP is the current "common denominator"  protocol that all web agents are expected to  speak, the web should continue to work if web content is delivered by other  protocols -- FTP, shared file systems, email, instant messaging, and so forth.  HTTP as it has evolved has severe  difficulties, and designing a Web that <strong>only works</strong> with HTTP as it is  currently implemented and deployed would unfortunate. We should work harder to  reduce the dependencies and isolate them.</p>
	<p>HTML is the 'lingua franca', the common language that all  agents are currently expected to be able to produce, process, read and interpret (or at  least a well-defined subset of it). Having a common language is important for  interoperability, but  the web should  also work for other formats -- extensions to HTML  including scripting, DOM APIs, but also other  formats and application environments such as XHTML, Java, PDF, Flash,  Silverlight, XForms, 3D objects, SVG, other XML languages and so forth. Certainly  HTML has it has evolved is overly complex for the purposes to which it is  designed.</p>
	<p>The URI is the fundamental element of reference, but the URI  itself is evolving to deal with internationalization, reference to session  state, IRIs, LEIRIs, HREFs and so forth. Many applications use URIs and IRIs,  not just the formats described above but other protocols and locations,  including databases, directories, messaging, archiving, peer-to-peer sharing  and so forth.</p>
	<p>The is just one of many communication applications  on the global Internet; for web browsing to integrate will with the rest of the  distributed networking, web components should be independent of the  application, and work well with messaging, instant messaging,  news feeds, etc etc.</p>
	<p>A sign of a breakdown of this architectural  principle would be for a specification of a format (say HTML) to attempt to  redefine, for its purposes, the protocol (say HTTP) or the method of reference  (URI).  The specifications should be independent, or at least, dependencies isolated, minimized, reduced. If those other elements of the  web architecture are incorrect, need to evolve to meet current practice or have  flaws in their definitions, they need to evolve independently, so that orthogonality of the specifications and reusability of the components are the  promoted.</p>
	<p>There may well be reasons to link some features of HTML to  the fact that it is delivered over an interactive protocol, but linking HTML  directly to HTTP in a way that features would work only for HTTP and not for  any other protocol with similar features – that would be unfortunate. It might  not matter in the short-term (that&rsquo;s all we have right now) but it is harmful  to the long-term evolution of the web.</p>
	<p>(Should go without saying, but just in case: this is a personal post, not reviewed by the TAG)</p>
	]]>
        
    </content>
</entry>

<entry>
    <title>HTML5 isn&apos;t a standard yet</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2009/05/_watching_the_google_io.html" />
    <id>tag:www.w3.org,2009:/QA//1.6367</id>
    
    <published>2009-05-28T21:04:05Z</published>
    <updated>2009-05-28T22:34:08Z</updated>
    
    <summary type="html"> Watching the Google I/O first day keynote, I&apos;m pleased to see the level of support and interest from Google about HTML5. Sure enough, I wished SVG would have been mentioned there, as they did for the Canvas API, since...</summary>
    <author>
        <name>Philippe Le Hégaret</name>
        <uri>http://www.w3.org/People/LeHegaret/</uri>
    </author>
    
        <category term="HTML" />
    
        <category term="Publications" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>
Watching the Google I/O first day keynote, I'm pleased to see the level of
support and interest from Google about HTML5. Sure enough, I wished SVG would
have been mentioned there, as they did for the Canvas API, since I believe both
technologies have relevant use cases. As an example, I made a demo of the <a
href='http://www.w3.org/2009/04/video-player.xhtml'>HTML5 video element using
SVG</a> for the player interface. But overall, we do indeed need to tell the
world that HTML is evolving to become the platform for a rich array of Web  
applications. New Web browser features aren't just limited to new user chrome or extensions.
</p>
<p>
I did notice however several mentions of the "HTML5 standard" that led me to write this post to remind the community of the current status of the specification, both in practice and on the standards track.. HTML5 isn't a W3C standard. We certainly
look forward to the day when it is, but it isn't yet. In fact, the
specification, co-authored by Ian Hickson from Google, is still very much a work in progress. We still don't have a required video codec to be supported by all browsers. Lively discussion is still happening in the HTML Working Group about the level of consensus around the spec. Sam Ruby of IBM and Chris Wilson of Microsoft are trying to move the Group forward. At the moment, HTML5 is only a working draft and Ian hopes to get it ready for Last Call review in October/November 2009 timeframe. Some of the work is also happening in the Geolocation, CSS and Web Applications Working Groups, so not all of it is under "HTML5".
</p>
<p>
So, while it is great to see support for and implementation of HTML  
5, the community has not yet reached agreement enough to call it a standard, and it  
has not been implemented consistently across multiple browsers. Building a test  
suite will help a lot and we don't have one yet. This is an area that we intend to explore  
and to seek community support.
</p>
]]>
        
    </content>
</entry>

<entry>
    <title>Search Engines take on Structured Data</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2009/05/structured_data_and_search_eng.html" />
    <id>tag:www.w3.org,2009:/QA//1.6362</id>
    
    <published>2009-05-13T16:18:42Z</published>
    <updated>2009-05-14T07:17:04Z</updated>
    
    <summary type="html">Structured data on the web got a boost this week, with Google&apos;s announcement of Rich Snippets and Rich Snippets in Custom Search. Structured data at such a large scale raises at least three issues:SyntaxVocabularyPolicyGoogle&apos;s documentation shows support for both microformats...</summary>
    <author>
        <name>Dan Connolly</name>
        <uri>http://www.w3.org/People/Connolly/</uri>
    </author>
    
        <category term="HTML" />
    
        <category term="Semantic Web" />
    
        <category term="Web Architecture" />
    
        <category term="eGov" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>Structured data on the web got a boost this week, with Google's announcement of  <a href="http://googlewebmastercentral.blogspot.com/2009/05/introducing-rich-snippets.html">Rich Snippets</a> and <a href="http://googlecustomsearch.blogspot.com/2009/05/enabling-rich-snippets-in-custom-search.html">Rich Snippets in Custom Search</a>. Structured data at such a large scale raises at least three issues:</p><ol><li>Syntax</li><li>Vocabulary</li><li>Policy<br /></li></ol><p>Google's <a href="http://www.google.com/support/webmasters/bin/answer.py?answer=99170">documentation</a> shows support for both microformats and RDFa. It follows the hReview microformat syntax with small vocabulary changes (name vs fn). Support for RDFa syntax, in theory, means support for vocabularies that anyone makes; but in practice, Google is starting with a clean slate: <b>data-vocabulary.org</b>. That's a place to start, though it doesn't provide synergy with anyone who has uses FOAF or Dublin Core or the like to share their data.<br /></p><p>The policy questions are perhaps the most difficult. Structured data is a pointy instrument; if anyone can say anything about anything, surely the system will be gamed and defrauded. Google's rollout is one step at a time, starting with some trusted sites and an application process to get your site added. The O'Reilly <a href="http://radar.oreilly.com/2009/05/google-adds-microformat-parsin.html">interview</a> with Guha and Hansson is an interesting look at where they hope to go after this first step; if you're curious about how this fits in to HTML standards, see Sam Ruby's <a href="http://intertwingly.net/blog/2009/05/12/Microdata">microdata</a>.<br /></p><p>While issues remain--there are syntactic i's to dot and t's to cross and even larger policy issues to work out--between Google's rollout and <a href="http://developer.yahoo.com/searchmonkey/siteowner.html">Yahoo's searchmonkey</a> and the <a href="http://webbackplane.com/mark-birbeck/blog/2009/04/23/more-rdfa-goodness-from-uk-government-web-sites">UK Central Office of Information rollout</a>, it seems that the industry is ready to take on the challenges of using structured data in search engines.<br /></p>



]]>
        
    </content>
</entry>

<entry>
    <title>Data interchange problems come in all sizes</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2009/05/data_interchange_problems_come.html" />
    <id>tag:www.w3.org,2009:/QA//1.6360</id>
    
    <published>2009-05-08T21:10:44Z</published>
    <updated>2009-05-08T23:20:52Z</updated>
    
    <summary type="html"> I had a pretty small data interchange problem the other day: I just wanted to archive some play lists that I had compiled using various music player daemon (mpd) clients. The mpd server stores playlists as simple m3u files,...</summary>
    <author>
        <name>Dan Connolly</name>
        <uri>http://www.w3.org/People/Connolly/</uri>
    </author>
    
        <category term="HTML" />
    
        <category term="Opinions &amp; Editorial" />
    
        <category term="Semantic Web" />
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[
<p>I had a pretty small data interchange problem the other day: I just
wanted to archive some play lists that I had compiled using various
music player daemon (<a href="http://en.wikipedia.org/wiki/Music_Player_Daemon">mpd</a>)
clients.
 The mpd server stores playlists as simple <a href="http://en.wikipedia.org/wiki/M3U">m3u</a> files,
i.e. line-oriented files with a path to the media file on each line. But
that's too fragile for archive and interchange purposes.

I had a similar problem a while back with iTunes playlists. In <a href="http://dig.csail.mit.edu/breadcrumbs/node/228">that episode</a>,
I chose <a href="http://microformats.org/wiki/haudio">hAudio</a>, an
HTML dialect in progress in the <a href="http://microformats.org/wiki/Main_Page">microformats
community</a>, as my target.</p>

<p>Unfortunately, hAudio changed out from under me between when I
started and when I finished.  So this time, a simple search found the
<a href="http://musicontology.com/">music ontology</a> and I tried it
with <a href="http://www.w3.org/TR/xhtml-rdfa-primer/">RDFa</a>, which
lets you use any RDF vocabulary in HTML<a href="#quibble">*</a>.
I'm mostly pleased with the results:
</p>


<blockquote>
<ol xmlns:mo="http://purl.org/ontology/mo/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<li about="#album1" typeof="mo:Record">
from <cite property="dc:title">A Song's Best Friend_ The Very Best Of John Denver [Disc 1]</cite>
<br /> by <span rel="foaf:maker"><b typeof="foaf:Agent" about="#agent1" property="foaf:name">John Denver</b></span>
<br /><a rel="mo:track" href="http://www.w3.org/QA/sununga/mt-static/html/artists-popular/John%20Denver/A%20Song%27s%20Best%20Friend_%20The%20Very%20Best%20Of%20John%20Denver%20%5BDisc%201%5D/1-04%20Poems%2C%20Prayers%20And%20Promises.mp3"><em property="dc:title">Poems, Prayers And Promises</em></a></li>

<li about="#album2" typeof="mo:Record">
from <cite property="dc:title">WOW Worship (orange)</cite>
<br /> by <span rel="foaf:maker"><b typeof="foaf:Agent" about="#agent2" property="foaf:name">Compilations</b></span>
<br /><a rel="mo:track" href="http://www.w3.org/QA/sununga/mt-static/html/artists-popular/Compilations/WOW%20Worship%20%28orange%29/1-01%20Did%20you%20Feel%20the%20Mountains%20Tremble.mp3"><em property="dc:title">Did you Feel the Mountains Tremble</em></a></li>

<li about="#album3" typeof="mo:Record">
from <cite property="dc:title">Family Music Party</cite>
<br /> by <span rel="foaf:maker"><b typeof="foaf:Agent" about="#agent3" property="foaf:name">Trout Fishing In America</b></span>
<br /><a rel="mo:track" href="http://www.w3.org/QA/sununga/mt-static/html/artists-popular/Trout%20Fishing%20In%20America/Family%20Music%20Party/14%20-%20Back%20When%20I%20Could%20Fly.flac"><em property="dc:title">Back When I Could Fly</em></a></li>
</ol>
</blockquote>

<p>The album names come before the track names because I didn't read
enough of the the <a href="http://www.w3.org/TR/xhtml-rdfa-primer/">RDFa primer</a> when I
was coding; RDFa includes <tt>@rev</tt> as well as <tt>@rel</tt>
for reversing subject/object order.
See
<a href="http://www.advogato.org/person/connolly/diary/67.html">an
advogato episode on m3uin.py</a> for details about the code.
</p>

<p>The Music Ontology was developed by a handful of people who
staked out a claim in URI space
(<tt>http://musicontology.org/...</tt>) and happily took comments from
as big a review community as they could manage, but they had no
obligation to get a really global consensus. The microformats process
is intended to reach a global consensus so that staking out a claim in
URI space is superfluous; it works well given certain initial
conditions about how common the problem is and availability of pre-web
designs to draw from. Perhaps playlists (and media syndication, as
hAudio seems to be expanding in scope to hMedia) will eventually reach
these conditions, but the music ontology already meets my needs, since
I'm the sort who doesn't mind declaring my data vocabulary with URIs.
</p>

<p>My view of Web architecture is shaped by episodes such as this
one. While giga-scale deployment is always impressive and definitely
something we should design for, small scale deployment is just as
important. The Web spread, initially, not because of global phenomena
such as Wikipedia and Facebook but because you <em>didn't</em> need
your manager's permission to try it out; you <em>didn't</em> even
<em>need</em> a domain name; you could just run it on your LAN
or even on just one machine with no server at all.</p>

<p>In an
<a href="http://www.w3.org/2008/10/22-tp-minutes.html#item02">Oct 2008
tech plenary session on web architecture</a>,
Henri Sivonen said:
</p>

<blockquote>
<p>I see the Web
as the public Web that people can access. The resources you can
navigate publicly. I define Web as the information space accessible to
the public via a browser.<br /> If a mobile operator operates behind
walls, this is not part of the Web.</p>
</blockquote>

<p>I can't say that I agree with that perspective. I'm no great fan of
walled gardens either, but freedom means freedom to do things we don't
like as well as freedom to do things we do like. And architecture and
policy should have a sort of church-and-state separation between
them.</p>

<p>Plus, data interchange happens not just at planetary scale, but
also within mobile devices, across devices, and across communities
and enterprises of all shapes and sizes.</p>

<p id="quibble"><small>I've gone a little outside the scope of current
standards; RDFa has only been specified for use in modular XHTML, with
the <tt>application/xhtml+xml</tt> media type, so far.</small>
</p>

<hr>
<p>See also:</p>

<ul>
<li>Feb 2009: <cite><a href="http://www.w3.org/QA/2009/02/palm_webos_approach_to_html_ex.html" rel="bookmark">Palm webOS approach to HTML extensibility:
x-mojo-*</a></cite></li>

<li>Aug 2008: <cite><a href="http://www.w3.org/QA/2008/08/the_details_of_data_in_documen.html">The details of data in documents: GRDDL, profiles, and HTML5</a></cite>
</li>
</ul>
]]>
        
    </content>
</entry>

<entry>
    <title>Once more into Versioning -- this time with HTML</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2009/05/once_more_into_versioning_--_t.html" />
    <id>tag:www.w3.org,2009:/QA//1.6359</id>
    
    <published>2009-05-04T17:39:46Z</published>
    <updated>2009-05-04T18:57:24Z</updated>
    
    <summary type="html">The W3C TAG has worked on the general issue of &quot;versioning&quot; for many years, and many TAG members may be worn out on the issue. However, undeterred by past history, I&apos;m taking another run at it, this time trying to...</summary>
    <author>
        <name>Larry Masinter</name>
        <uri>http://larry.masinter.net</uri>
    </author>
    
        <category term="HTML" />
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        The W3C TAG has worked on the general issue of &quot;versioning&quot; for many years, and many TAG members may be worn out on the issue. 

However, undeterred by past history, I&apos;m taking another run at it, this time trying to look specifically at the issues around versioning of HTML, CSS, JavaScript and other parts of the standard web browser landscape. 

Part of what&apos;s new (I think) is looking at the cost/benefits around deployment. See the www-tag mailing list archive for the HTML and versioning threads.
        
    </content>
</entry>

<entry>
    <title>A rough view of the future</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2009/03/a_rough_view_of_the_future.html" />
    <id>tag:www.w3.org,2009:/QA//1.6341</id>
    
    <published>2009-03-24T18:52:28Z</published>
    <updated>2009-03-24T20:06:04Z</updated>
    
    <summary type="html">A (rough) vision of future Web technologies working together.</summary>
    <author>
        <name>Philippe Le Hégaret</name>
        <uri>http://www.w3.org/People/LeHegaret/</uri>
    </author>
    
        <category term="HTML" />
    
        <category term="SVG" />
    
        <category term="Technology" />
    
        <category term="Video" />
    
        <category term="XML" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>As part of my introduction domain presentation to the Advisory Committee, I wanted to show what it means to work on several user interface technologies. So, I stuffed one <a href='http://www.w3.org/2009/03/web-demo.xhtml'>slide with many technologies</a>: HTML, CSS, SVG, MathML, Scripting, DFXP, Ruby, and RDFa. It's using well established technologies (like HTML buttons) and some very advanced ones (like CSS transforms or DFXP). I did go crazy on the CSS transforms and might win the award of the ugliest demo of the year as a result though.</p>
<p><a href='http://intertwingly.net/blog/2009/03/22/Several-Web-technologies'>Sam asked me</a> to look at the results of running the demonstration through the HTML5 validator. It doesn't pass it and that's intentional. I'm not sure why HTML5 excludes the complex constructions of Ruby or why I can't use unit lengths in width or height. Boolean attributes in HTML5 can't use the values "true" or "false" and I can't get myself to accept that fact. There are probably ugly stories around those. I needed a way to link to external captions. And there is RDFa.</p>
<p>The main point of the demonstration is to see those technologies working and interacting together. It has been a hard road to get where we are today and there is still so much work to do, but let's not forget that it's fun to see those things working.</p>
]]>
        
    </content>
</entry>

<entry>
    <title>Palm webOS approach to HTML extensibility: x-mojo-*</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2009/02/palm_webos_approach_to_html_ex.html" />
    <id>tag:www.w3.org,2009:/QA//1.6307</id>
    
    <published>2009-02-16T17:04:52Z</published>
    <updated>2009-02-26T17:34:22Z</updated>
    
    <summary type="html"> I got pretty excited about the iPhone, and even more about the openness of Android and the G1, and then I learn that the Palm Pre developer platform is basically just the open web platform: HTML, CSS, and JavaScript....</summary>
    <author>
        <name>Dan Connolly</name>
        <uri>http://www.w3.org/People/Connolly/</uri>
    </author>
    
        <category term="HTML" />
    
        <category term="Mobile" />
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>
I got pretty <a href="http://www.w3.org/QA/2007/08/iphone_developer_guidelines_pr.html">excited about the iPhone</a>,
and even more about the openness of Android and the G1, and then I
learn that the Palm Pre developer platform is basically just the open
web platform: HTML, CSS, and JavaScript.</p>
<p>Just after the <a href="http://www.w3.org/2009/Talks/02wdn/slides#%2844%29">mobile buzz at Web Directions North</a> and the TAG declared victory on how to build <a href="http://www.w3.org/2001/tag/doc/selfDescribingDocuments.html">The Self-Describing Web</a> with URI-based Extensibility , I get some <a href="http://developer.palm.com/webos_book/book7.html">details</a> on how Palm is building on the open web platform:</p>
<blockquote><p>A widget is declared within your HTML as an empty <b>div</b> with an <b>x-mojo-element</b> attribute.</p>
<pre>&lt;div <i>x-mojo-element=</i>"ToggleButton" <i>id=</i>"my-toggle"&gt;&lt;/div&gt;</pre>
</blockquote>

<p>Oh great; x- tokens... aren't those passe by now?</p>
<p>The suggestion in the HTML 5 draft is <a href="http://lists.w3.org/Archives/Public/public-html/2008Apr/0205.html">data-* attributes</a>. The <a href="http://www.w3.org/TR/wai-aria/">ARIA draft</a> suggests @role. The Palm design looks like new information for <a href="http://www.w3.org/html/wg/tracker/issues/41">issue-41, Decentralized-extensibility</a>, in the HTML WG.</p>
<p>Anybody know how frozen the Palm design is? Or if they looked at ARIA, data-* or URI-based namespaces?</p>]]>
        
    </content>
</entry>

<entry>
    <title>Valid sites work better(?)</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2009/01/valid_sites_work_better.html" />
    <id>tag:www.w3.org,2009:/QA//1.6298</id>
    
    <published>2009-01-29T21:26:11Z</published>
    <updated>2009-01-29T22:08:45Z</updated>
    
    <summary type="html">I learned to write standard-compliant Web pages when the likely alternative was “the browser will likely crash on your tag soup”. In an age of graceful error recovery, does it still matter to produce valid code? Share your stories here.</summary>
    <author>
        <name>olivier Théreaux</name>
        <uri>http://www.w3.org/People/olivier/</uri>
    </author>
    
        <category term="CSS" />
    
        <category term="HTML" />
    
        <category term="Opinions &amp; Editorial" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>I learned HTML at a time when some people were still building several versions of their site. I'm not talking about the web, mobile and iphone versions – more like the netscape and IE3 versions. That was a time when writing “standard” HTML was still a fairly novel idea, but a powerful one. It made sense: the alternative was “write standard code or risk having browsers crash miserably on your web page”.</p>

<p>That was more than a decade ago. Browsers, meanwhile, have made incredible progress at gracefully rendering even the most broken web page. And that is a good thing.</p>

<p>Does this make validation and quality checking of Web pages moot? Of course not. There are many more incentives to build great standard-compliant websites: ease of maintenance, show of professionalism, or, in the words of <a href="http://twitter.com/zeldman/status/1137456194">Zeldman</a>, <q cite="http://twitter.com/zeldman/status/1137456194">Client who saves $5,000 buying cut-rate non-semantic HTML will later spend $25,000 on SEO consultant to compensate</q>.</p>

<p>It makes me curious, however, to know what are the real-life arguments in favor of valid, standard code today. Do you have an untold story of validation getting you rid of an awful rendering glitch? Real-life accounts of a search engine bump achieved by fixing the syntax of you HTML <code>&lt;head&gt;</code>? A typo in a CSS stylesheet that hours of glancing at code didn't show, but the validator did? A forgotten <code>alt</code> that would have lowered your search rank for an important keyword, or cost a big fee for non-accessibility?</p>

<p>Use the comments below to share and discuss your experience - we'll update our outdated “<a href="http://validator.w3.org/docs/why.html" title="Why Validate?">Why Validate?</a>” doc with the best examples.</p>]]>
        
    </content>
</entry>

<entry>
    <title>JavaScript required for basic textual info? TRY AGAIN</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2009/01/javascript_required_for_basic.html" />
    <id>tag:www.w3.org,2009:/QA//1.6297</id>
    
    <published>2009-01-27T22:01:19Z</published>
    <updated>2009-01-27T22:18:27Z</updated>
    
    <summary type="html">Sam says he&apos;s Online and Airborne. &quot;Needless to say, this is seriously cool.&quot; I&apos;ll say! But when I follow the link to details from the service provider, I get:Sorry. You must have JavaScript enabled to view this page. Click the...</summary>
    <author>
        <name>Dan Connolly</name>
        <uri>http://www.w3.org/People/Connolly/</uri>
    </author>
    
        <category term="Accessibility" />
    
        <category term="HTML" />
    
        <category term="Security" />
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[Sam says he's <a href="http://intertwingly.net/blog/2009/01/27/Online-and-Airborne">Online and Airborne</a>. "Needless to say, this is seriously cool." I'll say! But when I follow the link to details from the service provider, I get:<br /><blockquote>Sorry. You must have JavaScript enabled to view this page. Click the
BACK button below or enable JavaScript in your browser preferences and
click TRY AGAIN.<br /></blockquote>Let's turn that around, shall we? Sorry, if you're a network provider and you want my business, read up on <a href="http://en.wikipedia.org/wiki/Unobtrusive_JavaScript">unobtrusive javascript</a> (aka the <a href="http://www.w3.org/2001/tag/doc/leastPower.html">rule of least power</a>), go BACK to work on your web site design and TRY AGAIN.<br />]]>
        
    </content>
</entry>

<entry>
    <title>Validator Donation Program: day 2</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2008/12/validator_donation_program.html" />
    <id>tag:www.w3.org,2008:/QA//1.6277</id>
    
    <published>2008-12-12T19:42:42Z</published>
    <updated>2008-12-12T21:47:17Z</updated>
    
    <summary type="html"> What&apos;s this new Validator Donation Program? Why a donation campaign? What would W3C do with that money? And isn&apos;t w3c really, really rich already anyway?</summary>
    <author>
        <name>olivier Théreaux</name>
        <uri>http://www.w3.org/People/olivier/</uri>
    </author>
    
        <category term="CSS" />
    
        <category term="HTML" />
    
        <category term="Opinions &amp; Editorial" />
    
        <category term="Tools" />
    
        <category term="W3C Life" />
    
        <category term="W3C・QA News" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[
<p>Yesterday, W3C launched a new donation and sponsorship program offering Web-people and Organizations a chance to show their support for Web Standards and Open source: the <a href="http://www.w3.org/QA/Tools/Donate" title="W3C Validator Donation Program"><strong>Validator Donation Program</strong></a>.</p>

<p>The  Validators have been around for almost 15 years. From day one, they have been free, open source and… operating on a shoestring. This has been a beautiful adventure: these tools are used by millions every day, a lot of people feel very strongly about validation, and we are lucky to have a great community of developers, translators and “power users” surrounding and helping the project.</p>

<h3>Why a donation program for the Validators?</h3>

<p>Because it makes a lot of sense. We are a large community using and loving these tools, and this program gives everyone a chance to give a little bit of thanks to a project we care about. Of course, all the validator projects are open source and there are <a href="http://www.w3.org/Status#contribute" title="W3C Open Source Software - Contribute!">many other ways one can contribute</a>: help others, translate, find bugs, help document, and of course, code. But not everyone has the right time or skills to do all that, and if someone wants to contribute a bit of money for a project they love, why not?</p>

<p>Another reason is that we really can use that money. Projects like the validators cost a lot to run, and develop. The validators are all available for download for those who want to use them on their own network, but the free services at w3.org are obviously the place where most people go, resulting on millions of validations a day, leading to fairly massive operating costs such as servers and bandwidth.</p>

<h3>The Validators need love, money and your help to live and grow</h3>


<p>The main cost, however, is elsewhere: staffing. We often subscribe to the myth that open source software are developed for free by armies of benevolent coders. That's quite false, especially for the validators: </p>

<ul>
  <li>Even for open source projects with a lot of benevolent developers, the cost to manage the project, lead design, coordinate translations, take care of the community (etc.) is very high.</li>
  <li>Building and maintaining validators is not always easy, and there is some tedious work few people want to do. That makes the dedication of the developers who lend a hand on these projects even more admirable! But it also means that a lot of the development and maintenance effort falls on the shoulders of W3C</li>
</ul>

<p>Here is a short story. In the few years I worked on validators, there was a much dreaded regular episode. Every few months, Tim Berners-Lee (W3C's creator and visionary-in-chief) would go on, either at conferences or in staff meetings, about what, in his mind, our validators should be. They should be really smart. They should be really flexible. They should be incredibly useful to use. They should look great and make it really easy to fix the web. All these years, every few months, I would cringe and reply “that's a grand plan, Tim, but how do we do it without a real budget?”.</p>
  
<p>For these past years the budget given to validators would be, roughly, the equivalent of a full time staff, maybe one and a half. That certainly is enough to keep a service running, but it will take much more effort to take the family of tools and bring them to maturation, push them to a new step in functionalities and usability.</p>

<h3>Validators are so important, why doesn't W3C dedicate a big budget to them?</h3>
<p>The validators certainly are one of the public faces of the W3C, but they are only part of all the work done to fulfill the mission of the Consortium: build specifications (standards) to provide the web with a robust, effective, flexible and powerful architecture. Creating those specifications involve an incredible amount of work put into the extremely important task of <em>building consensus</em> among all the actors with a stake in those new or updated Web Standards.</p>

<p>That consensus building and specification writing is, I think, the core work of W3C. Test suites, tools and tutorials are another important part of the W3C work, obviously. But with the W3C's limited budget, allocating more money for validators is not that easy: by funding the validator work through donations and sponsorships, and by using that money exclusively for the validators and related open source tools, we help the Web community “put the money where its mouth is”.</p>

<h3>But isn't W3C insanely rich?</h3>

<p><a href="http://www.la-grange.net/2008/12/12/w3c-budget">Not really</a>.</p>

<h3>With your donations and sponsorships, we can finally do great things</h3>

<p>All the above is why this new donation program is exciting. It's not just about paying for bandwith, or keeping the services running… </p>

<p>The real question is: Do we want a more flexible, usable, friendly HTML Validator, or do we want to keep the one that we have as is? Do we want to support more types of document? Do we want to provide a better support for XML? Do we want to build a real validator for SVG? Do we want to support the developmet of new technologies such as html5, or merely follow once said technologies have reached standard status? Do we want to keep a CSS validator that mostly does CSS 2.1, or do we want anyone following the advances of CSS3 to check their code? Do we want the CSS validator to check only for syntax errors, or also give information as to which style constructs are widely – or not – supported in browsers?</p>

<p>With your donations and sponsorships, we can finally do all that. We can do great things. We can:</p>
<ul>  
  <li>Integrate the web quality checking with the central <a href="/QA/Tools/Unicorn">Unicorn</a> framework</li>  
  <li>build <a href="/QA/2008/11/dreamimg_a_new_css_validator.html">new generation of tools for CSS checking</a></li>  
  <li>improve the markup validator into a <a href="http://validator.w3.org/todo.html">multilingual, flexible and friendly service</a></li>  
  <li>create new tools for SVG, accessibility, and more</li>  
</ul>
<p>… and many more things we haven't thought about yet, and which <strong>we</strong> as a community will dream and decide.</p>

<h3>Validator Donation Campaign, day 2</h3>

<p>We launched the donation program 24 hours ago. What a ride! The buzz has been very exciting so far, with blogs such as <a href="http://www.glazman.org/weblog/dotclear/index.php?post/2008/12/11/W3C-Validators" title="W3C Validators - &lt;Glazblog/&gt;">Daniel</a>'s, 
  <a href="http://www.molly.com/2008/12/11/w3c-validators-in-jeopardy/" title="molly.com &raquo; W3C Validators in Jeopardy">Molly</a>'s,
  <a href="http://www.webdirections.org/blog/donate-to-the-w3cs-validator-project/" title="Donate to the W3C&#8217;s Validator project | Web Directions">John</a>'s and many more carrying the news to the Web community, and showing that the community cares.</p>
  
<p>I can't resist sharing with you a few comments attached to a few of the first donations we've received:</p>

<ul>
  <li><q>I use it every day and I love it! thx for the work</q></li>
  <li><q>Keep up the great work!</q></li>
  <li><q>You've supported us, now we support you. Thanks for all your great work, we need you!</q></li>
</ul>

<p><a href="/QA/Tools/Donate"><img style="border:none; vertical-align: middle;"  alt="I Love Validator" src="http://www.w3.org/QA/Tools/I_heart_validator.png" /></a> Many thanks to those who have donated so far, and thanks for the kind words! For the future of the Validators and the future of the Web,
  we really need to make this campaign a great success, together. So <a href="http://www.w3.org/QA/Tools/Donate" title="W3C Validator Donation Program">Donate, tell the world, tell your blog, ask your company to become a sponsor</a>!
</p>]]>
        
    </content>
</entry>

<entry>
    <title>How to evaluate Web Applications security designs?</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2008/12/web_applications_security_requ.html" />
    <id>tag:www.w3.org,2008:/QA//1.595</id>
    
    <published>2008-12-03T17:00:00Z</published>
    <updated>2008-12-04T08:43:15Z</updated>
    
    <summary type="html"> I could use some help getting my head around security for Web Applications and mashups. The first time someone told me W3C should be working on specs help the browser prevent sensitive data from leaking out of enterprises, I...</summary>
    <author>
        <name>Dan Connolly</name>
        <uri>http://www.w3.org/People/Connolly/</uri>
    </author>
    
        <category term="HTML" />
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[
<p>I could use some help getting my head around security for Web
Applications and mashups.</p>

<p>The first time someone told me W3C should be working on specs help
the browser prevent sensitive data from leaking out of enterprises, I
didn't get it. "Use the browser as part of the trusted computing base?
Are you kidding?" was my response. I didn't see the bigger picture.
Crockford explains in an <a
href="http://blog.360.yahoo.com/blog-TBPekxc1dLNy5DOloPfzVvFIVOWMB0li?p=819"
>April 2008 item</a>:</p>

<blockquote>
<p>
... there are multiple interests involved in a web
application. We have here the interests of the user, of the site, and
of the advertiser. If we have a mashup, there can be many more
interests.</p>
</blockquote>

<p>Most of my study of security protocols concentrated on whether a
request from party A should be granted by party B. You know, Alice and
Bob. Using <a href="http://en.wikipedia.org/wiki/BAN_logic">BAN
logic</a> to analyze the Kerberos protocols was very interesting.</p>

<p>I also enjoyed studying <a
href="http://erights.org/elib/capability/ode/overview.html">capability
security and the E system</a>, which is a fascinating model of secure
multi-party communication (not to mention lockless concurrency),
though it seems an impossibly high bar to reach, given the
worse-is-better tendency in software deployment, and it seemed to me
that capabilities are a poor match for the way <a
href="http://www.w3.org/TR/webarch/#id-access">linking and access
control</a> work in the Web:</p>

<blockquote>
<p>
The Web provides several mechanisms
to control access to resources; these mechanisms do not rely on
hiding or suppressing URIs for those resources.
</p>
</blockquote>

<p>On the other hand, after wrestling with the patchwork of javascript
security policies in browsers in the past few weeks, the capability
approach in <a
href="http://blog.360.yahoo.com/blog-TBPekxc1dLNy5DOloPfzVvFIVOWMB0li?p=706"
>adsafe</a> looks simple and elegant by comparison. Is there any
chance we can move the state-of-the-art that far? And what do we do in
the mean time? <a
href="http://blog.360.yahoo.com/blog-TBPekxc1dLNy5DOloPfzVvFIVOWMB0li?p=736"
>Crockford's Jan 2008 post</a> is quite critical of W3C's current
work:</p>

<blockquote>
<p>This same sort of wrong-end-of-the-network thinking can be seen today
in the HTML 5 working group's <a href="http://lists.w3.org/Archives/Public/public-appformats/2008Jan/0008.html">crazy    XHR access control language</a>.
</p>
</blockquote>

<p><a href="http://www.w3.org/TR/access-control/">Access Control for Cross-Site Requests</a>
is a mouthful, and "Access Control" is too generic, which leads to "W3C
Access Control". Didn't we already go through this with "W3C XML
Schema"? Generic names are awkward. I think I'll call it WACL...
yeah... rhymes with spackle... let's see if it sticks. Anyway...</p>

<p><a href="http://blog.360.yahoo.com/blog-TBPekxc1dLNy5DOloPfzVvFIVOWMB0li?p=736"><span id="date">Crockford's comment</span></a> cites his proposal and argues...</p>

<blockquote>
<p>JSONRequest
does not allow the server to abdicate its responsibility of deciding if
the data should be delivered to the browser. Therefore, no policy
language is needed. JSONRequest requires explicit authorization.
Cookies and other tokens of ambient authority are neither sent nor
delivered.</p>
</blockquote>

<p> I'm not sure I understand that. I'm glad to learn there's more to
the difference between XMLHttpRequest and JSONRequest than just
&lt;pointy-brackets&gt; vs {curly-braces}, but I'd like to understand
better how "ambient authority" relates to the interests of users,
sites, advertisers, and the like.</p>

<p>In response, the <a href="http://www.w3.org/TR/access-control/#design-decision-faq">FAQ in the WACL spec</a> says:</p>

<blockquote>
<p>JSONRequest has been considered by the Web Applications Working
Group and the group has concluded that it does not meet the documented
requirements. E.g., requests originating from the JSONRequest API
cannot include credentials and JSONRequest is format specific.
</p>
</blockquote>

<p>Including credentials seems more like a solution than a
requirement; can someone help me understand how it relates to the
multiple interests involved in a web application?</p>

]]>
        
    </content>
</entry>

<entry>
    <title>W3C Validator, now with HTML5 flavour</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2008/11/w3c_validator_now_with_html5.html" />
    <id>tag:www.w3.org,2008:/QA//1.597</id>
    
    <published>2008-11-21T17:53:42Z</published>
    <updated>2008-11-21T17:59:08Z</updated>
    
    <summary type="html">For too long we struggled with the tension between “perfect support for standards” and “be cutting edge to help develop better new technologies”. With the latest version of our Markup Validator, integrating with the validator.nu engine, comes part of the solution.</summary>
    <author>
        <name>olivier Théreaux</name>
        <uri>http://www.w3.org/People/olivier/</uri>
    </author>
    
        <category term="HTML" />
    
        <category term="Tools" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>A lot of recurring discussions among the W3C staff and contributors, whenever the question of “what should be the focus of our validation tools” arises, seem to split the world in two camps.</p>

<p>On one side, the proponents of the “reference tool” would argue that our tools are being perceived and used as a reference by millions of Web authors daily, and as such, the main focus should be to reliably validate established standards. Most of the effort should go towards fixing any bug in supporting the validation of documents that use document types amongst W3C recommendations.</p>

<p>On the other side, the advocates of the “feedback loop” approach would find it very exciting that W3C has tools used by so many Web Designers: shouldn't we use this as an incredibly effective feedback mechanism for the technologies still in development? Indeed, fairly few people have the time to review in depth some <a href="http://www.w3.org/TR/SVG11/expanded-toc.html" title="Expanded Table of Contents - SVG 1.1 - 20030114">very</a> <a href="http://www.w3.org/TR/html5/" title="HTML 5">large</a> specifications, but many would be happy to try new features on their Web Sites and could test them, if our validators supported the cutting edge.</p>

<p>The choice, so far, was seldom dictated by any strategy, but rather by a simple equation: our open source software activity was (and still is) working on a shoestring, and our staffing was just enough to maintain the necessary support for established standards, and any advanced or experimental development would be done by W3C open source contributors, or indeed, outside of W3C. To mention but a few: Henri Sivonen doing great work in the past few years with <a href="http://about.validator.nu/">validator.nu</a>, while Petr Nálevka and Jirka Kosek's experimentations with compound XML documents resulted in <a href="http://relaxed.sourceforge.net/">relaxed</a>.</p>

<p>The dichotomy, however, is a false one. Of course, until the validators project can have a more sizeable budget, their capacity for advanced development will reside in the hands of volunteer coders, and indeed, there is nothing forcing anyone to do this experimentation at the W3C: some will prefer the joy of having one's own project and the freedom it brings, others will see value in a large user community and an existing project infrastructure. But nothing stops these projects from working together.</p>

<p>The solution, indeed, is in resisting the “not invented here” syndrome, and embracing great projects, whether they are developed within W3C or by someone in the Web Community. We already provided <a href="http://validator.w3.org/feed/">a home for the feed validator</a>. And yesterday, we launched a new version of the <a href="http://validator.w3.org/" title="W3C Markup Validation Service, a.k.a HTML Validator">markup validator</a> which integrates with the validator.nu engine for HTML5 support. As we wrote in the <a href="http://validator.w3.org/whatsnew.html#t2008-11-20" title="What's New at The W3C Markup Validation Service - version 0.8.4">changelog</a>:</p>

<blockquote cite="http://validator.w3.org/whatsnew.html#t2008-11-20"><p>HTML5 is still work in progress and support for this next generation of the publishing language of the World Wide Web will remain experimental, but this integration should provide experimentation grounds for those interested in trying on authoring in this new version of html, as well as a feedback channel for the group working on building a stable, open standard.</p></blockquote>

<p>Here is hoping that this integration will be the proof that our tools can be reliable <em>and</em> cutting edge, hoping that these tools will quicken and improve the process of development and standardization of HTML5. 
</p>

<p>So… does your site <a href="http://validator.w3.org/" title="The W3C Markup Validation Service">pass the HTML5 test</a>? And as a bonus gift, if you want to check your whole site's HTML and CSS in a <a href="http://www.w3.org/QA/2003/03/web-kit" title="Web Standards Switch - QA @ W3C">progressive and painless process</a>, there is a <a href="http://search.cpan.org/dist/W3C-LogValidator/" title="Olivier Thereaux / W3C-LogValidator - search.cpan.org">new release of our LogValidator</a>, too.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Learn How To Write HTML 5</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2008/11/html5-howto.html" />
    <id>tag:www.w3.org,2008:/QA//1.591</id>
    
    <published>2008-11-18T08:12:46Z</published>
    <updated>2008-11-18T08:21:29Z</updated>
    
    <summary type="html">HTML 5 is too complex? Wait, wait, there is something coming.</summary>
    <author>
        <name>Karl Dubost</name>
        <uri>http://www.w3.org/People/karl/</uri>
    </author>
    
        <category term="HTML" />
    
        <category term="Technology 101" />
    
        <category term="Web Spotting" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>Discovered through twitter, there is an <a href="http://camendesign.com/code/how_to_learn_html5">interesting blog post</a> from Kroc Camen on how to learn HTML 5. The author is giving good essential guidelines on semantics and elements. The conclusion of his blog post is spot on and shows one of  the painful points of HTML 5 specification:</p>

<blockquote>
  <p>Once you have made a decent HTML4 site, then you will look at the HTML5 specification, and it will make sense—you will know what to do with it.</p>
</blockquote>

<p>A document is being written for filling this hole: <a href="http://dev.w3.org/html5/html-author/">The Web Developer’s Guide to HTML 5</a></p>
]]>
        

    </content>
</entry>

<entry>
    <title>HTML 5, the markup</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2008/11/html_5_the_markup.html" />
    <id>tag:www.w3.org,2008:/QA//1.590</id>
    
    <published>2008-11-14T03:01:22Z</published>
    <updated>2008-11-14T03:12:25Z</updated>
    
    <summary type="html">People interested only the html 5 content model were not satisfied with the huge html 5 specification. Discover html 5, the markup language.</summary>
    <author>
        <name>Karl Dubost</name>
        <uri>http://www.w3.org/People/karl/</uri>
    </author>
    
        <category term="HTML" />
    
        <category term="Reference" />
    
        <category term="Technology 101" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>HTML 5 is a giant specification. It contains things related to the content model, the APIs, the DOM, the parsing algorithm, etc. We received many comments that it was very hard to read for simple implementers and documentation writers who would like to better understand how html 5 documents are written.</p>

<p>Discover the editor's draft of <a href="http://www.w3.org/html/wg/markup-spec/">HTML 5: The Markup Language</a>! <a href="http://people.w3.org/mike/">Mike Smith</a> has extracted the parts of HTML 5 related to the <strong>content model</strong>. This document is aimed at people who would like to focus on the content model, be reviewers, authoring tools implementers, documentation writers.</p>

<p>We hope that it will help everyone to have a better understanding of html 5 content model. An additional document should be provided in the future for learning about html 5 with the name Web Authoring Guidelines.</p>
]]>
        

    </content>
</entry>

<entry>
    <title>HTML 5 And The Hear-Write Web</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2008/09/fixing-html-with-html5.html" />
    <id>tag:www.w3.org,2008:/QA//1.233</id>
    
    <published>2008-09-26T06:44:29Z</published>
    <updated>2008-09-26T11:17:32Z</updated>
    
    <summary type="html">Is there a way to improve the HTML ecosystem in a way that creates more adoption of HTML 5? From parsing to serialization to fixing, how do we recover broken Web documents?</summary>
    <author>
        <name>Karl Dubost</name>
        <uri>http://www.w3.org/People/karl/</uri>
    </author>
    
        <category term="HTML" />
    
        <category term="Opinions &amp; Editorial" />
    
        <category term="Technology 101" />
    
        <category term="Tools" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>HTML 5 working draft defines a parsing algorithm which is robust enough that it will not break for the most common types of errors. Many computing engineers and Web designers think that this feature encourages bad quality for documents. Point taken. But let's look a bit further at what proposes HTML 5 in terms of input and output.</p>

<p><a href="http://flickr.com/photos/victoriapeckham/266268495/"><img style="margin:1em;float:left;" src="http://farm1.static.flickr.com/83/266268495_209a6bfbbb_m.jpg" alt="How do we understand typos. "/></a> I do mistakes very often. English is not my mother tongue. I try to fix spelling mistakes as much as possible. Still, my English grammar is still behind. Oh, not looking for any excuses, I do mistakes in French too. But I'm glad that our brains have a very robust parsing mechanism which helps us to recover from broken sentences (bad spelling and clumsy grammar). Just imagine for the experiment, that your brain was not able to parse any sentences that would not be grammatically correct. How many sentences in our daily conversation are 100% correct? Not that much. </p>

<p>At W3C, we take meetings minutes (a lot) of discussions happening over a phone. During these teleconferences, there are people from different nationalities, different accents, different levels of English and on top of that in different time zones (fatigue). Still the scribe (minute taker) writes down, most of the time, correct English sentences after parsing them. The scribe creates a serialization of what he heard, but modifies it to be correct.</p>

<p>An HTML 5 Tidy library could do the same thing. It could parse a broken document and create a DOM following the <a href="http://www.w3.org/TR/html5/parsing.html#parsing" title="HTML 5">HTML 5 parsing algorithm</a>. Then it could serialize it (writes it down) following the <strong>HTML 5 content model</strong>. That would create a conformant HTML 5 document.</p>

<p>This is an important part of the process. <strong>What you hear is not what you write</strong>. You are stricter, once you have recovered the meaning. The same way what the HTML 5 Tidy library has parsed is not what it will serialize. Let's take a practical example with the infamous <code>center</code> element.</p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
  &lt;title&gt;a broken document&lt;/title&gt;
  &lt;center&gt;&lt;p&gt;I want to be in the center of the page.&lt;/p&gt;&lt;/center&gt;
&lt;/html&gt;
</code></pre>

<p>The innerHTML view (using <a href="http://livedom.validator.nu/" title="HTML5 Live DOM Viewer">HTML 5 Live DOM viewer</a>) is:</p>

<pre><code>&lt;!DOCTYPE HTML&gt;
&lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;a broken document&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;center&gt;&lt;p&gt;I want to be in the center of the page.&lt;/p&gt;&lt;/center&gt;
  &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>But the document will be invalid and the message given by the <a href="http://qa-dev.w3.org/wmvs/HEAD/" title="The W3C Markup Validation Service">experimental HTML 5 validator instance</a> will be</p>

<pre><code>Validation Output:  1 Error
#  Error  Line 4, Column 7: The center element is obsolete..
</code></pre>

<p>Why? Because nowhere in the content model of HTML 5, the center element is defined. You can't write an HTML 5 conformant document containing the <code>center</code> element. An HTML 5 Tidy library would emit only elements which are compatible with the HTML 5 content model. In this case that could be</p>

<pre><code>&lt;!DOCTYPE HTML&gt;
&lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;a broken document&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;p&gt;I want to be in the center of the page.&lt;/p&gt;
  &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Some people will argue that everyone will want different rules. Indeed that is possible. Some will want to have double quotes around attributes, some single quotes. And if we take into account the set of documents which have complex mixed markup, it will indeed create a lot of headaches. But it's why I think it would be interesting to define a set of basic rules for emitting HTML 5 after it has been parsed.</p>

<p>Some might propose solutions of the following type for the <code>center</code> element. </p>

<pre><code>&lt;!DOCTYPE HTML&gt;
&lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;a broken document&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;p style="text-align:center;"&gt;
      I want to be in the center of the page.
    &lt;/p&gt;
  &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Daniel Glazman <a href="http://www.glazman.org/weblog/dotclear/index.php?post/2008/09/25/HTML-attributes-inline-styles-or-style-rules" title="HTML attributes, inline styles or style rules - &lt;Glazblog/&gt;">proposed recently</a> something quite similar for HTML attributes, inline style or style rules.</p>

<p>Are there any engineers which would be ready to take the challenges of designing an HTML 5 Tidy Library (and the canonic rules to fix the output) using the content model of HTML 5? I <a href="http://www.w3.org/QA/2008/09/top-500-html5-validity.html" title="Alexa Global Top 500 against HTML 5 validation - W3C Q&amp;A Weblog">showed</a> recently that there will be <strong>less</strong> document validating with the HTML 5 doctype than with their current doctype.  Henri Sivonen <a href="http://www.w3.org/QA/2008/09/top-500-html5-validity.html#c166027" title="Henri's comment on QA blog">rightly commented</a> that HTML 5 content model was stricter than previous versions of HTML. This will not leverage the adoption of conformant HTML 5. </p>

<p>An HTML 5 Tidy Library (even not perfect) would help people to move forward. If there are no benefits, people will continue to use HTML 4.01 and/or XHTML 1.0 because, in the end it doesn't matter, </p>

<ul>
<li>it will still be parsed correctly by browsers. </li>
<li>Authors can use the existing XHTML books out there, rely on their years of experience of the language and business practices, </li>
<li>and, last but not least, they will benefit of the tools which fix their invalid content.</li>
</ul>
]]>
        

    </content>
</entry>

<entry>
    <title>Alexa Global Top 500 against HTML 5 validation</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2008/09/top-500-html5-validity.html" />
    <id>tag:www.w3.org,2008:/QA//1.231</id>
    
    <published>2008-09-19T06:57:34Z</published>
    <updated>2008-09-19T09:13:19Z</updated>
    
    <summary type="html">Following Brian Wilson lead and his validity survey, I tested against html 5. Less than 1% of top 500 Alexa Web sites seems to pass html 5 conformance checking. </summary>
    <author>
        <name>Karl Dubost</name>
        <uri>http://www.w3.org/People/karl/</uri>
    </author>
    
        <category term="HTML" />
    
        <category term="Opinions &amp; Editorial" />
    
        <category term="Tools" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>Last month, <a href="http://my.opera.com/blooberry/info/">Brian Wilson</a> published a <a href="http://my.opera.com/operaqa/blog/2008/08/04/alexa-global-top-500-validation-research">survey</a> on validation. He took the top <a href="http://www.alexa.com/site/ds/top_sites?ts_mode=global&amp;lang=none">500 sites URI given by Alexa</a> and sent them to the W3C Markup validator. Recently, W3C created a <a href="http://www.w3.org/QA/2008/08/html5-validator-beta">beta instance of html 5 conformance checker</a>.   Brian concluded that <q>32 of the 487 URLs passed validation (6.57%)</q>.</p>

<p>So today I decided to take the <a href="http://files.myopera.com/blooberry/alexa/alexaglobaltop500list.htm">January 2008 list of web site</a> and to send them to the <strong>beta</strong> instance of html 5 conformance checker. I created a very simple python script (As usual if you are in horror with my code, any kind suggestions to improve it is welcome). Be careful you will need to install <a href="http://code.google.com/p/httplib2/" title="httplib2 - Google Code">httplib2</a>. The file alexa.txt contains the list of uris, one by line. To be sure to check against html 5, I forced the html 5 doctype.</p>

<pre><code>import httplib2
import time

h = httplib2.Http(".cache")

f = open("alexa.txt", "r")
urllist = f.readlines()
f.close()

for url in urllist:
   # wait 10 seconds before the next request - be nice with the validator
   time.sleep(10)
   resp= {}
   url = url.strip()
   urlrequest = "http://qa-dev.w3.org/wmvs/HEAD/check?doctype=HTML5&amp;uri="+url
   try:
      resp, content = h.request(urlrequest, "HEAD")
      if resp['x-w3c-validator-status'] == "Abort":
         print url, "FAIL"
      else:
         print url, resp['x-w3c-validator-status'], resp['x-w3c-validator-errors'], resp['x-w3c-validator-warnings']
   except:
      pass
</code></pre>

<p>Before I give the results, repeat after me 10 times : html 5 Conformance checker is in beta, which means <strong>not stable</strong> and in testing. html 5 specification is a Working Draft, which means <strong>highly to change</strong>. The test is only on the home page of the site.</p>

<p>The January 2008 file contains 485 web sites. 23 (4.7%) could not be validated. Most of the time, the site was too slow. Only 4 (&lt; 1%) sites were declared valid html 5 by the conformance checker. If Henri Sivonen could do the same thing with his instance of html 5 conformance checker that would help to know if my results are silly or in the right envelop.</p>
]]>
        

    </content>
</entry>

<entry>
    <title>How To Insert A Video From Youtube</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2008/09/howto-insert-youtube-video.html" />
    <id>tag:www.w3.org,2008:/QA//1.227</id>
    
    <published>2008-09-08T01:50:22Z</published>
    <updated>2009-02-11T14:41:10Z</updated>
    
    <summary type="html">I was struggling for inserting a video in a Web page, I had to change a bit the markup which was proposed to me to make it work in a way that satisfies me.</summary>
    <author>
        <name>Karl Dubost</name>
        <uri>http://www.w3.org/People/karl/</uri>
    </author>
    
        <category term="HTML" />
    
        <category term="Technology 101" />
    
        <category term="Video" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[Youtube gives a way to insert a video in your pages. You can select a few options and the system gives you a piece of html code to insert in your Web page.

    <object width="425" height="349">
        <param name="movie" value="http://www.youtube.com/v/ZuNNhOEzJGA&hl=fr&fs=1&rel=0&color1=0x006699&color2=0x54abd6&border=1"></param>
        <param name="allowFullScreen" value="true"></param>
        <embed src="http://www.youtube.com/v/ZuNNhOEzJGA&hl=fr&fs=1&rel=0&color1=0x006699&color2=0x54abd6&border=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="349"></embed>
    </object>

<code>[embed](http://www.w3.org/TR/2008/WD-html5-20080610/embedded0.html#the-embed "HTML 5")</code> is an element which is part of HTML 5 Working Draft but not part of XHTML 1.0 or XHTML 1.1. The <code>embed</code> element in this example is a fallback of the object element. It says if the object element is not working, use the embed element. So I decided to just cut the embed element in the XHTML 1.1 page.

    <object width="425" height="349">
        <param name="movie" value="http://www.youtube.com/v/ZuNNhOEzJGA&amp;hl=fr&amp;fs=1&amp;rel=0&amp;color1=0x006699&amp;color2=0x54abd6&amp;border=1"></param>
        <param name="allowFullScreen" value="true"></param>
    </object>

The code stopped working. The video was not displayed at all in the page. It probably means that the <code>object</code> element has no effect at all and <code>embed</code> is always triggered. So I started to explore what was missing. First, the <code>param</code> element is an empty element, so there is no need for a closing element.

    <object width="425" height="349">
        <param name="movie" value="http://www.youtube.com/v/ZuNNhOEzJGA&amp;hl=fr&amp;fs=1&amp;rel=0&amp;color1=0x006699&amp;color2=0x54abd6&amp;border=1"/>
        <param name="allowFullScreen" value="true">
    </object>

Then I moved the information in the <code>param</code> element to the <code>object</code> element. And finally I added a textual information about the content of the video in case the video would not work properly.

    <object width="425" height="349" 
        type="application/x-shockwave-flash"
        data="http://www.youtube.com/v/ZuNNhOEzJGA&amp;hl=fr&amp;fs=1&amp;rel=0&amp;color1=0x006699&amp;color2=0x54abd6&amp;border=1&quot;>
         <param name="movie" value="http://www.youtube.com/v/ZuNNhOEzJGA&amp;hl=fr&amp;fs=1&amp;rel=0&amp;color1=0x006699&amp;color2=0x54abd6&amp;border=1"/>
        <p>Interview of Philippe Le Hégaret about Video codec</p>
    </object>

I finally tested it in **Camino** (Version 1.6.1Int-v2 (1.8.1.14 2008051211)), **Opera** (9.52, Révision 4916), **Firefox** (Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; fr; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1), and **Safari** (Version 3.1.2 (5525.20.1)) and it worked well.

<object width="425" height="349" type="application/x-shockwave-flash" data="http://www.youtube.com/v/ZuNNhOEzJGA&amp;hl=fr&amp;fs=1&amp;rel=0&amp;color1=0x006699&amp;color2=0x54abd6&amp;border=1">
<p>Interview of Philippe Le Hégaret about Video codec</p>
<param name="movie" value="http://www.youtube.com/v/ZuNNhOEzJGA&amp;hl=fr&amp;fs=1&amp;rel=0&amp;color1=0x006699&amp;color2=0x54abd6&amp;border=1" />
</object>
]]>
        
    </content>
</entry>

<entry>
    <title>Build Your Own Browser</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2008/09/build-your-own-browser.html" />
    <id>tag:www.w3.org,2008:/QA//1.224</id>
    
    <published>2008-09-02T06:23:22Z</published>
    <updated>2008-09-17T06:38:10Z</updated>
    
    <summary type="html">Little Web bricks help to create new browsers.</summary>
    <author>
        <name>Karl Dubost</name>
        <uri>http://www.w3.org/People/karl/</uri>
    </author>
    
        <category term="HTML" />
    
        <category term="HTTP" />
    
        <category term="Opinions &amp; Editorial" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>A couple of years ago, Joe Gregorio explained <a href="http://bitworking.org/news/Why_so_many_Python_web_frameworks">Why so many Python web frameworks?</a> and showed how to create your own Web framework with a few lines of code. The most fundamental bricks are packaged in the standard python library.</p>

<p>There are always been many hypothesis about why the Web was successful, all of them can't be verified, because we can't restart the experiment. But retrospectively, it is interesting to look at what has been reused widely.  <a href="http://www.w3.org/Library/">libwww</a> is a library including all modules to create a Web application, such as http, html, etc. It has been initially written by Tim Berners-Lee, and was freely available. People could just take the library and put an interface on top of it to make a browser, a Web server, an indexing bot. </p>

<p>One of the very difficult and technical parts of a browser is the <a href="http://en.wikipedia.org/wiki/List_of_layout_engines">layout (or rendering) engine</a>. It takes the Web content and displays it after having processed the style and scripting information. <a href="http://en.wikipedia.org/wiki/Comparison_of_layout_engines">Some of these layout engines</a> are open source such as WebKit, Gecko and KHTML.  Others are sometimes sold to third parties for developing specific products. Web developers take them and create <a href="http://en.wikipedia.org/wiki/List_of_web_browsers">new browsers</a> or use them in their applications. For sure it is a tad more complicated than just taking the libraries but it became "easier" to create a browser. It is known as <a href="http://www.macdevcenter.com/lpt/a/4570">BYOB</a>.</p>

<h3>Layout engines used in different contexts</h3>

<ul>
<li><a href="http://trac.webkit.org/wiki/Applications%20using%20WebKit">Applications using Webkit</a></li>
</ul>
]]>
        

    </content>
</entry>

<entry>
    <title>HTML 5, a new step</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2008/08/html5-validator-beta.html" />
    <id>tag:www.w3.org,2008:/QA//1.221</id>
    
    <published>2008-08-26T11:41:38Z</published>
    <updated>2008-08-28T07:14:46Z</updated>
    
    <summary type="html">HTML 5 conformance checking has been integrated into the beta W3C Markup Validator.</summary>
    <author>
        <name>Karl Dubost</name>
        <uri>http://www.w3.org/People/karl/</uri>
    </author>
    
        <category term="Bugs Life" />
    
        <category term="HTML" />
    
        <category term="Tools" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>Years ago, <a href="http://www.w3.org/People/Connolly/">Dan Connolly</a> created one of the first HTML validators. Since then, validation is one of the practical techniques to maintain quality of your documents. It is not the only one but one which has a lot of influences on developing a language.</p>

<p><a href="http://www.w3.org/TR/html5/">HTML 5</a> is a specification in development. Many implementers have started to integrate the technology into their own softwares: browsers, parsers, etc. <a href="http://hsivonen.iki.fi/">Henri Sivonen</a> has developed a parser in Java for his <a href="http://validator.nu/">conformance checking service</a>. </p>

<p>We are happy to <a href="http://lists.w3.org/Archives/Public/www-validator/2008Aug/0057.html">announce</a> that W3C has integrated a version of HTML 5 conformance checker into a <a href="http://qa-dev.w3.org/wmvs/HEAD/">beta instance of the W3C Markup validator</a>. That will help us to detect bugs, improve the user interface, and benefit from the large W3C communities.</p>

<p>Kudos to <a href="http://hsivonen.iki.fi/">Henri Sivonen</a>, <a href="http://www.w3.org/People/olivier/">Olivier Théreaux</a>, and <a href="http://www.w3.org/People/Lafon/">Yves Lafon</a>.</p>
]]>
        

    </content>
</entry>

<entry>
    <title>The details of data in documents: GRDDL, profiles, and HTML5</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2008/08/the_details_of_data_in_documen.html" />
    <id>tag:www.w3.org,2008:/QA//1.220</id>
    
    <published>2008-08-22T19:45:48Z</published>
    <updated>2008-08-22T19:58:16Z</updated>
    
    <summary type="html">GRDDL, a mechanism for putting RDF data in XML/XHTML documents, is specified mostly at the XPath data model level. Some GRDDL software goes beyond XML and supports HTML as she are spoke, aka tag soup. HTML 5 is intended to...</summary>
    <author>
        <name>Dan Connolly</name>
        <uri>http://www.w3.org/People/Connolly/</uri>
    </author>
    
        <category term="HTML" />
    
        <category term="Semantic Web" />
    
        <category term="Web Architecture" />
    
        <category term="XML" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[GRDDL, a mechanism for putting RDF data in XML/XHTML documents, is
specified mostly at the XPath data model level. Some GRDDL software
goes beyond XML and supports <a href="http://esw.w3.org/topic/HTMLAsSheAreSpoke">HTML as she are spoke</a>, aka tag soup. HTML 5 is intended to standardize the connection between tag soup and XPath. The <a href="../../../../TR/grddl-scenarios/#html_tidy_use_case">tidy use case for GRDDL</a> anticipates that using HTML 5 concrete syntax rather than
XHTML 1.x concrete syntax involves no changes at the XPath level.<br /><br />But in <a href="http://lists.w3.org/Archives/Public/public-grddl-comments/2008JulSep/0003.html">GRDDL and HTML5</a>,
Ian Hickson, editor of HTML 5, advocates dropping the profile attribute
of the HTML head element in favor of rel="profile" or some such. I
dropped by the <a href="http://microformats.org/wiki/irc">#microformats channel</a> to think out loud about this stuff, and Tantek said similarly, "we may solve this with <strong>rel="profile"</strong> anyway." The <a href="http://microformats.org/wiki/rel-profile">rel-profile</a> topic in the microformats wiki shows the idea goes pretty far back.<br /><br />Possibilities I see include:<br /><ul><li><a href="http://esw.w3.org/topic/GrddlImplementations">GRDDL implementations</a> add support for rel="profile" along with HTML 5 concrete syntax.</li><li>GRDDL
implementors don't change their code, so people who want to use GRDDL
with HTML 5 features such as &lt;video&gt; stick to XML-wf-happy HTML 5
syntax and they use the head/@profile attribute anyway, despite what
the HTML 5 spec says.</li><li>People who want to use GRDDL stick to XHTML 1.x.</li><li>People who want to put data in their HTML documents use <a href="http://esw.w3.org/topic/RDFa">RDFa</a>. </li></ul><p>I
don't particularly care for the rel="profile" design, but one should
choose ones battles and I'm not inclined to choose this one. I'm
content for the market to choose.</p>]]>
        
    </content>
</entry>

<entry>
    <title>The Digital Stakhanovite</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2008/08/the-digital-stakhanovite.html" />
    <id>tag:www.w3.org,2008:/QA//1.216</id>
    
    <published>2008-08-18T02:18:43Z</published>
    <updated>2008-08-18T03:14:09Z</updated>
    
    <summary type="html">Designing a technology that will accomodate our social contexts of the digital Stakhanovite is a big challenge, far to be simple to solve.</summary>
    <author>
        <name>Karl Dubost</name>
        <uri>http://www.w3.org/People/karl/</uri>
    </author>
    
        <category term="Accessibility" />
    
        <category term="HTML" />
    
        <category term="Opinions &amp; Editorial" />
    
        <category term="Semantic Web" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>There is an increasing number of people living in a digital era. Not only the environment becomes digital, but their own life products are digital. I'm not the earliest adopter, but I have used computers since 1983, Internet since 1991 and digital photography since 1993. I have accumulated around 418.000 emails and around 45.000 photos.</p>

<p>Emails have basic metadata (author, subject, date), which helps to create proper indexing and search. It could be certainly refined with sophisticated search algorithms. Digital photos have now <a href="http://en.wikipedia.org/wiki/Exchangeable_image_file_format">EXIF</a> (including date, and technical parameters of the camera) but nothing much else. My brain associates these photos ordered in a dated space with a list that I maintain of my very rough location. It helps me remember in which city it was taken, but nothing more.  </p>

<p>Here lies the challenge. Giving more precise metadata to these photographs would be certainly useful for my own consumption but … a fulltime job. That would make me a <strong>digital <a href="http://en.wikipedia.org/wiki/Stakhanovite">Stakhanovite</a></strong>.</p>

<p>In <cite><a href="http://www.itworld.com/opinion/54005/musings-photographic-metadata">Musings on photographic metadata</a>, Sean McGrath</cite> says: </p>

<blockquote>
  <p>A great tragedy lies herein. A sad law of this universe seeps forth
  like an Einstinien nightmare. A law that goes something like this :
  "the chances of any normal human being taking the time to add
  incredibly valuable meta-data to the great wads of digital data they
  create daily, approximates zero." An alternative formulation - using
  the classic dentistry analogy goes like this: "Most people would
  prefer root canal work than the utter tedium and ambient feeling of
  futility that accompanies meta-data creation. Besides everyone is too
  busy. Oh, and besides that again, it always seems to be more fun to
  create new stuff than to create stuff about old stuff."</p>
</blockquote>

<p>Sean is trying to see what could be done automatically through the devices, location is certainly one that should happen more and more often, see the new <a href="http://www.dpreview.com/news/0808/08080702nikonp6000.asp">Nikon Coolpix P6000</a>  with <a href="http://en.wikipedia.org/wiki/GPS">GPS</a> and the <a href="http://www.w3.org/2008/06/geolocation/charter/">geolocation activity creation</a> being discussed at W3C right now.</p>

<p>The challenges become bigger when you want to share these photos with a larger public. At regular cycle, there is a rage debate over <code>alt</code> attribute on <a href="http://lists.w3.org/Archives/Public/public-html/">html working group</a> mailing list. I'm not sure there is a perfect solution and we have to find a way to accomodate the circumstances of this sharing. The difficulty is that the right solution is more social than technical. Giving meaningful alternative information for the images you put online, really depends on the context.  These are real scenarios.</p>

<ol>
<li>You want to share photos with your family. You sent them by emails (HTML emails most of the time), or you create an html gallery which is made by a software and put them online. You usually don't put more information than giving the <strong>context</strong> of the event and maybe sometimes description of some particular outstanding image, such as "Hey see the image below, it is the beach just in front of our room." The <strong>value</strong> of the image is limited to a few persons you know, still it might be here for public consumption.</li>
<li>You are writing an article on the Web about graphics arts. The article has a lot of   illustrations which are part of the argumentation, demonstrations. There are not only visual references, there are elements of the discourse.</li>
<li>You are writing an online diary mixing images, quotes, and different impressions. Your site is more like a scrapbooking exercise. Images are often here to give a mood of your writings. There are like simple touches of colors, or even sometimes an element of phrase. They have more emotional values for the readers who can see than anything else.</li>
</ol>

<p>There are many more possible cases. The big issue is how do we <strong>design the technology</strong> so that it will accomodate a maximum of use cases (<strong>social contexts</strong>) without making impossible for others to exist. There is not yet a definitive answer.</p>
]]>
        

    </content>
</entry>

<entry>
    <title>Markup Validator Updated</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2008/08/markup_validator_updated.html" />
    <id>tag:www.w3.org,2008:/QA//1.215</id>
    
    <published>2008-08-08T13:11:52Z</published>
    <updated>2008-08-08T18:18:32Z</updated>
    
    <summary type="html">New release for W3C&apos;s most popular open source service: fewer bugs, more document types supported, more fun to hack with, and a few other goodies in the mix.</summary>
    <author>
        <name>olivier Théreaux</name>
        <uri>http://www.w3.org/People/olivier/</uri>
    </author>
    
        <category term="Bugs Life" />
    
        <category term="HTML" />
    
        <category term="HTTP" />
    
        <category term="Tools" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>I tend to keep an eye on things done at CERN. Not just because this is the <a href="http://public.web.cern.ch/public/en/About/Web-en.html" title="the Web was developed by Tim Berners-Lee while he was working at CERN">Web's mothership</a>, but also because there is always a very slim chance that one of their experiments happen to recreate the big bang, kill us all, re-shape the laws of the universe or something else equally exciting and dreadful. After all, it would really be a waste to plan a release of one of our tools after the end of time. So when I started reading about the countdown to the launch of the Large Hadron Collider for <span title="it happens to be a very ominous date in Chinese culture. And my birthday, incidentally.">August 8th, 2008</span> I knew it was time to push that maintenance release of the <a href="http://validator.w3.org/" title="The W3C Markup Validation Service">Markup Validator</a> I had been promising “real soon now” for… the past months.
</p>

<p>As it turns out, our friends in Switzerland will only start <a href="http://public.web.cern.ch/public/en/LHC/LHC-en.html" title="CERN - The Large Hadron Collider">recreating the time just after the big bang</a> in a month. Ah well. Until then, we will have time to enjoy sports on TV, and <a href="http://validator.w3.org/whatsnew.html#t2008-08-08" title="What's New at The W3C Markup Validation Service - 0.8.3 release">the Markup Validator, release 0.8.3</a>.
</p>
<p>This  is mostly a maintenance release, fixing a few 
<a href="http://www.w3.org/Bugs/Public/buglist.cgi?query_format=advanced&amp;short_desc_type=allwordssubstr&amp;short_desc=&amp;product=Validator&amp;long_desc_type=allwordssubstr&amp;long_desc=&amp;bug_file_loc_type=allwordssubstr&amp;bug_file_loc=&amp;status_whiteboard_type=allwordssubstr&amp;status_whiteboard=&amp;keywords_type=allwords&amp;keywords=&amp;bug_status=RESOLVED&amp;resolution=FIXED&amp;emailtype1=substring&amp;email1=&amp;emailtype2=substring&amp;email2=&amp;bugidtype=include&amp;bug_id=&amp;votes=&amp;chfieldfrom=2007-10-11&amp;chfieldto=2008-08-08&amp;chfield=bug_status&amp;chfieldvalue=&amp;cmdtype=doit&amp;order=Reuse+same+sort+as+last+time&amp;field0-0-0=noop&amp;type0-0-0=noop&amp;value0-0-0=">bugs</a>, adding support for recently added or updated document types such as <a href="http://www.w3.org/TR/xhtml-basic/" title="XHTML&#8482; Basic 1.1">XHTML Basic 1.1</a>, but it does have a number of valuable tricks up its sleeves.
</p>
<p>For those of us using the validator not just as a web service but as a web platform, a couple of new features will make our life even easier. First, a json output has been added to the validator's results <a href="http://validator.w3.org/docs/users.html#Output" title="User Documentation for The W3C Markup Validation Service">possible outputs</a>. The format is modeled after <a href="http://wiki.whatwg.org/wiki/Validator.nu_JSON_Output">the JSON output built by our friends at validator.nu</a>. Try this:
</p>
<p><kbd>GET "http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/2342-opensp_type_X.html&amp;output=json"</kbd></p>
<p>…you get:</p>
<pre>{
    "url": "http://qa-dev.w3.org/wmvs/HEAD/dev/tests/2342-opensp_type_X.html",
    "messages": [
        
          {
              
              "type": "info",
              "subtype": "warning"
              "lastLine": "11",
              "lastColumn": 20,
              "message": "reference to non-existent ID \"MMIARCH\"",
              "messageid": 183,
              "explanation&quot;: &quot;    
        [...]
    &lt;div class=\&quot;ve mid-183\&quot;&gt;        
    &lt;p&gt;This error can be triggered by:&lt;/p&gt;        
    &lt;ul&gt;        
      &lt;li&gt;A non-existent input, select or textarea element&lt;/li&gt;        
      &lt;li&gt;A missing id attribute&lt;/li&gt;        
      &lt;li&gt;A typographical error in the id attribute&lt;/li&gt;        
    &lt;/ul&gt;        
    &lt;p&gt;Try to check the spelling and case of the id you are referring to.&lt;/p&gt;        
  &lt;/div&gt;        
&quot;,
          }
        
        ],
    "source": {
        "encoding": "utf-8"
    }
}
</pre>
<p>While we are looking at calling the validator and getting quick, easy to process results, did you know that the fastest way to get basic info on validation were the validator's custom HTTP headers? They have been around for a while, now are <a href="http://validator.w3.org/docs/api.html#http_headers">properly documented</a> and we have added information about the number of warnings, too. Try this:</p>

<p><kbd>HEAD http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/2342-opensp_type_X.html</kbd></p>
<pre>
    200 OK
    Date: Fri, 08 Aug 2008 15:00:49 GMT
    Content-Language: en
    Content-Type: text/html; charset=utf-8
    Client-Date: Fri, 08 Aug 2008 15:00:52 GMT
    Client-Peer: 128.30.52.49:80
    Client-Response-Num: 1
    X-W3C-Validator-Errors: 0
    X-W3C-Validator-Recursion: 1
    X-W3C-Validator-Status: Valid
    X-W3C-Validator-Warnings: 1
</pre>

<p>Another good piece of news. If you have a vested interest in XHTML, you will know this dilemma fairly well:
</p>
<ul>
    <li>XHTML is supposed to be served with the media type <code>application/xhtml+xml</code> media type. That XHTML media type has a few issues, however, in particular the fact that the most distributed browser, up to now, still hasn't added support for it. </li>
    <li>XHTML 1.0 defined an informative way to be “served as (legacy) HTML”, which kind of worked. But for the rest of the XHTML family…? Some people came up with clever hacks, using HTTP format negotiation to serve XHTML as <code>application/xhtml+xml</code> only to the agents that clearly specify they support this media type, and as <code>text/html</code>, by default, to the others</li>
    <li>What does that have to do with the Markup Validator? It does not declare an authoritative list of the media types it accepts. Actually, it can't, since there is no way in HTTP to say "Accept HTML, SVG, MathML… and any kind of XML". It does not have to, either, since the HTTP technology makes the <code>Accept</code> header optional, and its absence just means “send me what you've got”</li>
    <li>When checking one resource set up with the <code>Accept</code> hack for XHTML, the validator would be served content as <code>text/html</code>, and, since that is <a href="http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801/">not supposed to happen</a>, the validator would yield a warning stating, in essence <q>are you certain you really want to serve XHTML 1.1 content as <code>text/html</code>?</q>.</li>
</ul>

<p>It may have been a mere <em>warning</em>, but it made a lot, lot, lot of people anxious and upset. So, by popular demand – and also because the XHTML working group are preparing a <a href="http://www.w3.org/MarkUp/2008/ED-xhtmlmime-20080618/" title="XHTML Media Types - Second Edition">revised note on XHTML and media types</a> −　the warning is gone. </p>

<p>Those interested in HTTP content negotiation beyond the issue with XHTML media type will be interested with some new features in the validator. In version <a href="http://validator.w3.org/whatsnew.html#t2007-10-11" title="What's New at The W3C Markup Validation Service">0.8.2</a> we had added a way to specify the <code>Accept:</code> and <code>Accept-Language</code> headers sent by the validator to the server holding documents it checks, and in 0.8.3 we also added <code>Accept-Charset</code> and <code>User-Agent</code>. These <a href="http://validator.w3.org/docs/users.html#Options" title="User Documentation for The W3C Markup Validation Service">options</a> are still experimental, but should be useful for content-negotiated resources that do not have a specific URI for each representation.</p>

<p>There is more in this version, and more to come. Read the <a href="http://validator.w3.org/whatsnew.html#t2008-08-08" title="What's New at The W3C Markup Validation Service - 0.8.3 release">0.8.3 release notes</a>, learn how to <a href="http://validator.w3.org/feedback.html" title="Feedback - W3C Markup Validator">send feedback or participate in the project</a>, and join me in thanking everyone involved in this release.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Pleasure of Reading Tech Blog Posts</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2008/07/reading-tech-blogs.html" />
    <id>tag:www.w3.org,2008:/QA//1.213</id>
    
    <published>2008-07-24T07:55:18Z</published>
    <updated>2008-07-24T08:09:56Z</updated>
    
    <summary type="html">Tech blog posts offer sometimes gems for reading. Here a selection of articles, I have been reading, by Robert O&apos;Callahan, John Resig, and Michael Sperberg-McQueen.</summary>
    <author>
        <name>Karl Dubost</name>
        <uri>http://www.w3.org/People/karl/</uri>
    </author>
    
        <category term="CSS" />
    
        <category term="HTML" />
    
        <category term="Opinions &amp; Editorial" />
    
        <category term="SVG" />
    
        <category term="Semantic Web" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>Some technical blogs are usually interesting, but there are some which really push the limit and helps you to analyze and understand. Reading these blogs, it just feels good. A sample of interesting blog posts I have read lately:</p>

<h3>Robert O'Callahan on SVG</h3>

<ul>
<li><a href="http://weblogs.mozillazine.org/roc/archives/2008/06/applying_svg_ef.html">Applying SVG Effects To HTML Content</a></li>
<li><a href="http://weblogs.mozillazine.org/roc/archives/2008/07/svg_paint_serve.html">SVG Paint Servers For HTML</a></li>
<li><a href="http://weblogs.mozillazine.org/roc/archives/2008/07/the_latest_feat.html">Using Arbitrary Elements As Paint Servers</a></li>
<li><a href="http://weblogs.mozillazine.org/roc/archives/2008/07/svg_filter_perf.html">SVG Filter Performance Improvements In Gecko 1.9.1</a></li>
</ul>

<h3>John Resig on HTML, CSS and Javascript</h3>

<ul>
<li><a href="http://ejohn.org/blog/javascript-micro-templating/">JavaScript Micro-Templating</a></li>
<li><a href="http://ejohn.org/blog/implementing-a-selectors-api-test-suite/">Implementing a Selectors API Test Suite</a></li>
</ul>

<h3>Michael Sperberg-McQueen on XML and RDF analysis</h3>

<ul>
<li><a href="http://people.w3.org/~cmsmcq/blog/?p=59">Eleemosynary RDF</a></li>
<li><a href="http://people.w3.org/~cmsmcq/blog/?p=60">Enrique on what RDF gets us</a></li>
<li><a href="http://people.w3.org/~cmsmcq/blog/?p=64">RDF, Topic Maps, predicate calculus, and the Queen of Romania</a></li>
<li><a href="http://people.w3.org/~cmsmcq/blog/?p=65">Descriptive markup and data integration</a></li>
</ul>
]]>
        

    </content>
</entry>

</feed> 

