<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>W3C TAG Lines</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/blog/tag/" />
    <link rel="self" type="application/atom+xml" href="http://www.w3.org/QA/tag_feed.xml" />
   <id>tag:www.w3.org,2012:/QA//1</id>
    <updated>2012-02-06T23:09:31Z</updated>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.34-en</generator>
 

<entry>
    <title>W3C TAG Publishes Finding on Identifying Application State</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2011/12/w3c_tag_publishes_finding_on_i.html" />
    <id>tag:www.w3.org,2011:/QA//1.9306</id>
    
    <published>2011-12-24T16:53:15Z</published>
    <updated>2011-12-24T18:49:00Z</updated>
    
    <summary type="html">The W3C TAG has published a finding on Identifying Application State.  See http://www.w3.org/2001/tag/doc/IdentifyingApplicationState</summary>
    <author>
        <name>Ashok Malhotra</name>
        
    </author>
    
        <category term="HTML" />
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>The W3C TAG is pleased to announce the publication of a new TAG Finding "<a href="http://www.w3.org/2001/tag/doc/IdentifyingApplicationState">Identifying Application State</a>."</p>
<p>
URIs were originally used primarily to identify documents on the Web, or with the use of fragment identifiers, portions of those documents. As Web content has evolved to include Javascript and similar applications that have extensive client-side logic, a need has arisen to use URIs to identify states of such applications, to provide for bookmarking and linking those states, etc. This finding sets out some of the challenges of using URIs to identify application states, and recommends some best practices. A more formal introduction to the Finding and its scope can be found in its <a href="http://www.w3.org/2001/tag/doc/IdentifyingApplicationState#abstract">abstract</a>.</p>
<p>The W3C TAG would like to thank Ashok Malhotra, who did much of the analysis and editing for this work, and also former TAG member T.V. Raman, who first brought this issue to the TAG's attention, and who wrote earlier drafts on which this finding is based.</p> 

]]>
        
    </content>
</entry>

<entry>
    <title>Hash URIs</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2011/05/hash_uris.html" />
    <id>tag:www.w3.org,2011:/QA//1.9092</id>
    
    <published>2011-05-12T18:17:18Z</published>
    <updated>2011-05-13T09:53:00Z</updated>
    
    <summary type="html">There&apos;s been quite a bit of discussion recently about the use of hash-bang URIs following their adoption by Gawker, and the ensuing downtime of that site. The TAG at the W3C have also been drafting a document on Repurposing the Hash Sign for the New Web which takes a rather wider view than just the hash-bang issue, and on which they are seeking comments.

All matters of design involve weighing different choices against some criteria that you decide on implicitly or explicitly: there is no single right way of doing things on the web. Here, I explore the choices that are available to web developers around hash URIs and discuss how to mitigate the negative aspects of adopting the hash-bang pattern.
</summary>
    <author>
        <name>Jeni Tennison</name>
        
    </author>
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p><em>Note: This was initially posted at <a href="http://www.jenitennison.com/blog/node/154">http://www.jenitennison.com/blog/node/154</a>.</em></p>

<p>There&#8217;s been quite a bit of discussion recently about the use of <a href="http://code.google.com/web/ajaxcrawling/docs/getting-started.html">hash-bang URIs</a> following their <a href="http://blogs.wsj.com/digits/2011/02/07/gawker-outage-causing-twitter-stir/">adoption by Gawker, and the ensuing downtime of that site</a>.</p>

<p>Gawker have redesigned their sites, including <a href="http://lifehacker.com/">lifehacker</a> and various others, such that all URIs look like <code>http://{domain}#!{path-to-content}</code> &#8212; the <code>#!</code> is the hash-bang. The home page on the domain serves up a static HTML page that pulls in Javascript that interprets the <code>path-to-content</code> and requests that content through AJAX, which it then slots into the page. The sites all suffered an outage when, for whatever reason, the Javascript couldn&#8217;t load: without working Javascript you couldn&#8217;t actually view any of the content on the site.</p>

<p>This provoked a massive cry of #FAIL (or perhaps that should be #!FAIL) and a lot of puns along the lines of making a hash of a website and it going bang. For analysis and opinions on both sides, see:</p>

<ul>
<li><a href="http://isolani.co.uk/blog/javascript/BreakingTheWebWithHashBangs">Breaking the Web with hash-bangs by Mike Davies</a></li>
<li><a href="http://www.tbray.org/ongoing/When/201x/2011/02/09/Hash-Blecch">Broken Links by Tim Bray</a></li>
<li><a href="http://blog.benward.me/post/3231388630">Hash, Bang, Wallop by Ben Ward</a></li>
<li><a href="http://blog.tomgibara.com/post/3214368343/hash-bang-boom">Hash-bang boom by Tom Gibara</a></li>
<li><a href="http://www.adequatelygood.com/2011/2/Thoughts-on-the-Hashbang">Thoughts on the Hashbang by Ben Cherry</a></li>
<li><a href="http://lists.w3.org/Archives/Public/www-tag/2011Feb/0095.html">Nathan&#8217;s comments on www-tag</a></li>
</ul>

<p>While all this has been going on, the <a href="http://www.w3.org/2001/tag/">TAG at the W3C</a> have been drafting a document on <a href="http://www.w3.org/2001/tag/2011/02/HashInURI-20110228.html">Repurposing the Hash Sign for the New Web</a> (originally named <a href="http://www.w3.org/TR/2009/WD-hash-in-uri-20090415/">Usage Patterns For Client-Side URI parameters</a> in April 2009) which takes a rather wider view than just the hash-bang issue, and on which they are seeking comments.</p>

<p>All matters of design involve weighing different choices against some criteria that you decide on implicitly or explicitly: there is no single right way of doing things on the web. Here, I explore the choices that are available to web developers around hash URIs and discuss how to mitigate the negative aspects of adopting the hash-bang pattern.</p>

<h2>Background</h2>

<p>The semantics of hash URIs have changed over time. Look back at <a href="http://tools.ietf.org/html/rfc1738">RFC 1738: Uniform Resource Locators (URL)</a> from December 1994 and fragments are hardly mentioned; when they are, they are termed &#8220;fragment/anchor identifiers&#8221;, reflecting their original use which was to jump to an anchor within an HTML page (indicated by an <code>&lt;a&gt;</code> element with a <code>name</code> attribute; those were the days).</p>

<p>Skip to <a href="http://tools.ietf.org/html/rfc2396">RFC 2396: Uniform Resource Identifiers (URI): Generic Syntax</a> from August 1998 and <a href="http://tools.ietf.org/html/rfc2396#section-4.1">fragment identifiers</a> have their own section, where it says:</p>

<blockquote>
  <p>When a URI reference is used to perform a retrieval action on the identified resource, the optional fragment identifier, separated from the URI by a crosshatch (&#8220;#&#8221;) character, consists of additional reference information to be interpreted by the user agent after the retrieval action has been successfully completed.  As such, it is not part of a URI, but is often used in conjunction with a URI.</p>
</blockquote>

<p>At this point, the fragment identifier:</p>

<ul>
<li>is not part of the URI</li>
<li>should be interpreted in different ways based on the mime type of the representation you get when you retrieve the URI</li>
<li>is only meaningful when the URI is actually retrieved and you know the mime type of the representation</li>
</ul>

<p>Forward to <a href="http://tools.ietf.org/html/rfc3986">RFC 3986: Uniform Resource Identifier (URI): Generic Syntax</a> from January 2005 and fragment identifiers are defined as part of the URI itself:</p>

<blockquote>
  <p>The fragment identifier component of a URI allows indirect identification of a secondary resource by reference to a primary resource and additional identifying information. The identified secondary resource may be some portion or subset of the primary resource, some view on representations of the primary resource, or some other resource defined or described by those representations.</p>
</blockquote>

<p>This breaks away from the tight coupling between a fragment identifier and a representation retrieved from the web and purposefully allows the use of hash URIs to define abstract or real-world things, addressing <a href="http://www.w3.org/2001/tag/issues.html#abstractComponentRefs-37">TAG Issue 37: Definition of abstract components with namespace names and frag ids</a> and supporting the use of <a href="http://www.w3.org/TR/cooluris/#hashuri">hash URIs in the semantic web</a>.</p>

<p>Around the same time, we have the growth of AJAX, where a <a href="http://itsnat.sourceforge.net/php/spim/spi_manifesto_en.php">single page interface</a> is used to access a wide set of content which is dynamically retrieved using Javascript. The AJAX experience could be frustrating for end users, because the back button no longer worked (to let them go back to previous states of their interface) and they couldn&#8217;t bookmark or share state. And so applications started to <a href="http://www.contentwithstyle.co.uk/content/fixing-the-back-button-and-enabling-bookmarking-for-ajax-apps">use hash URIs to track AJAX state</a> (that article is from June 2005, if you&#8217;re following the timeline).</p>

<p>And so we get to hash-bangs. These were <a href="http://googlewebmastercentral.blogspot.com/2009/10/proposal-for-making-ajax-crawlable.html">proposed by Google</a> in October 2009 as a mechanism to distinguish between cases where hash URIs are being used as anchor identifiers, to describe views, or to identify real-world things, and those cases where they are being used to capture important AJAX state. What Google proposed is for <strong>pages where the content of the page is determined by a fragment identifier and some Javascript</strong> to <em>also</em> be accessible by combining the base URI with a query parameter (<code>_escaped_fragment_={fragment}</code>). To distinguish this use of hash URIs from the more mundane kinds, Google proposed starting the fragment identifier <code>#!</code> (hash-bang). Hash-bang URIs are therefore associated with the practice of <a href="http://en.wikipedia.org/wiki/Transclusion">transcluding</a> content into a wrapper page.</p>

<p>To summarise, hash URIs are now being used in three distinct ways:</p>

<ol>
<li>to identify parts of a retrieved document</li>
<li>to identify an abstract or real-world thing (that the document says something about)</li>
<li>to capture the state of client-side web applications</li>
</ol>

<p>Hash-bang URIs are a particular form of the third of these. By using them, the website indicates that the page uses client-side transclusion to give the true content of the page. If it follows Google&#8217;s proposal, the website also commits to making that content available through an equivalent base URI with a <code>_escaped_fragment_</code> parameter.</p>

<h2>Hash-bang URIs in practice</h2>

<p>Let&#8217;s have a look at how hash-bang URIs are used in a couple of sites.</p>

<h3>Lifehacker</h3>

<p>First, we&#8217;ll look at lifehacker, which is one of Gawker&#8217;s sites whose switch to hash-bangs triggered the recent spate of comments. What happens if I link to the article <a href="http://lifehacker.com/#!5770791/top-10-tips-and-tricks-for-making-your-work-life-better"><code>http://lifehacker.com/#!5770791/top-10-tips-and-tricks-for-making-your-work-life-better</code></a>?</p>

<p>The exact response to this request seems to depend on some cookies (it didn&#8217;t work the first time I accessed it in Firefox, having pasted the link from another browser). If it works as expected, in a browser that supports Javascript, the browser gets the page at the base URI <a href="http://lifehacker.com/"><code>http://lifehacker.com/</code></a>, which includes (amongst a <em>lot</em> of other things) a script that <code>POST</code>s to <a href="http://lifehacker.com/index.php?_actn_=ajax_post"><code>http://lifehacker.com/index.php?_actn_=ajax_post</code></a> a request with the data:</p>

<pre><code>op=ajax_post
refId=5770791
formToken=d26bd943151005152e6e0991764e6c09
</code></pre>

<p>The response to this <code>POST</code> is a 53kB JSON document that contains a bit of metadata about the post and then its escaped HTML content. This gets inserted into the page by the script, to display the post. As this isn&#8217;t a <code>GET</code>table resource, I&#8217;ve <a href="/blog/files/lifehacker.json">attached this file</a> to this post so you can see what it looks like.</p>

<p>(Honestly, I could hardly bring myself to describe this: a <code>POST</code> to get some data? a <code>.php</code> URL? query parameter set to <code>ajax_post</code>? massive amounts of escaped HTML in a JSON response? Geesh. Anyway, focus&#8230; hash-bang URIs&#8230;)</p>

<p>A browser that doesn&#8217;t support Javascript simply gets the base URI and is none the wiser about the actual content that was linked to.</p>

<p>What about the <code>_escaped_fragment_</code> equivalent URI, <a href="http://lifehacker.com/?_escaped_fragment_=5770791/top-10-tips-and-tricks-for-making-your-work-life-better"><code>http://lifehacker.com/?_escaped_fragment_=5770791/top-10-tips-and-tricks-for-making-your-work-life-better</code></a>? If you request this, you get back an <code>200 OK</code> response which is an HTML page with the content embedded in it. It looks just the same as the original page with the embedded content.</p>

<p>What if you make up some rubbish URI, which in normal circumstances you would expect to give a <code>404 Not Found</code> response? Naturally, a request to the base URI of <code>http://lifehacker.com/</code> is always going to give a <code>200 OK</code> response, although if you try <a href="http://lifehacker.com/#!1234/made-up-page"><code>http://lifehacker.com/#!1234/made-up-page</code></a> you get page furniture with no content in the page. A request to <a href="http://lifehacker.com/?_escaped_fragment_=1234/made-up-page"><code>http://lifehacker.com/?_escaped_fragment_=1234/made-up-page</code></a> results in a <code>301 Moved Peramently</code> to the hash-bang URI <a href="http://lifehacker.com/#!1234"><code>http://lifehacker.com/#!1234</code></a> rather than the <code>404 Not Found</code> that we&#8217;d want.</p>

<h3>Twitter</h3>

<p>Now let&#8217;s look at Twitter. What happens if I link to the tweet <a href="http://twitter.com/#!/JeniT/status/35634274132561921"><code>http://twitter.com/#!/JeniT/status/35634274132561921</code></a>? Although it&#8217;s not indicated in the <code>Vary</code> header, Twitter determines what to do about any requests to this hashless URI based on whether I&#8217;m logged in or not (based on a cookie).</p>

<p>If I am logged on, I get the new home page. This home page <code>GET</code>s (through various iframes and Javascript obfuscation) several small JSON files through Twitter&#8217;s API: </p>

<ul>
<li><a href="http://api.twitter.com/1/statuses/show.json?include_entities=true&amp;contributor_details=true&amp;id=35634274132561921"><code>http://api.twitter.com/1/statuses/show.json?include_entities=true&amp;contributor_details=true&amp;id=35634274132561921</code></a>: the details of the tweet</li>
<li><a href="http://api.twitter.com/1/statuses/35634274132561921/retweeted_by.json?count=15"><code>http://api.twitter.com/1/statuses/35634274132561921/retweeted_by.json?count=15</code></a>: details about retweets</li>
<li><a href="http://api.twitter.com/1/users/lookup.json?user_id=&amp;screen_name=unhosted"><code>http://api.twitter.com/1/users/lookup.json?user_id=&amp;screen_name=unhosted</code></a>: details about the twitter user <a href="http://twitter.com/unhosted">@unhosted</a>, who was mentioned in the tweet</li>
</ul>

<p>This JSON gets converted into HTML and embedded within the page using Javascript. All the links within the page are to hash-bang URIs and there is no way of identifying the hashless URI (unless you know the very simple pattern that you can simply remove it to get a static page).</p>

<p>If I&#8217;m not logged on but am using a browser that understands Javascript, the browser GETs <code>http://twitter.com/</code>; the script in the returned page picks out the fragment identifier and redirects (using Javascript) to <a href="http://twitter.com/JeniT/status/35634274132561921"><code>http://twitter.com/JeniT/status/35634274132561921</code></a>.</p>

<p>If, on the other hand, I&#8217;m using curl or a browser without Javascript activated, I just get the home page and have no idea that the original hash-bang URI was supposed to give me anything different.</p>

<p>The response to the hashless URI <a href="http://twitter.com/JeniT/status/35634274132561921"><code>http://twitter.com/JeniT/status/35634274132561921</code></a> also varies based on whether I&#8217;m logged in or not. If I am, the response is a <code>302 Found</code> to the hash-bang URI <a href="http://twitter.com/#!/JeniT/status/35634274132561921"><code>http://twitter.com/#!/JeniT/status/35634274132561921</code></a>. If I&#8217;m not, for example using curl, Twitter just returns a normal HTML page that contains information about the tweet that I&#8217;ve just requested.</p>

<p>Finally, if I request the <code>_escaped_fragment_</code> version of the hash-bang URI <a href="http://twitter.com/?_escaped_fragment_=/JeniT/status/35634274132561921"><code>http://twitter.com/?_escaped_fragment_=/JeniT/status/35634274132561921</code></a> the result is a <code>301 Moved Permanently</code> redirection to the hashless URI <a href="http://twitter.com/JeniT/status/35634274132561921"><code>http://twitter.com/JeniT/status/35634274132561921</code></a> which can be retrieved as above.</p>

<p>Requesting a status that doesn&#8217;t exist such as <a href="http://twitter.com/#!/JeniT/status/1"><code>http://twitter.com/#!/JeniT/status/1</code></a> in the browser results in a page that at least tells you the content doesn&#8217;t exist. Requesting the equivalent <code>_escaped_fragment_</code> URI redirects to the hashless URI <a href="http://twitter.com/JeniT/status/1"><code>http://twitter.com/JeniT/status/1</code></a>. Requesting this results in a <code>404 Not Found</code> result as you would expect.</p>

<h2>Advantages of Hash URIs</h2>

<p>Why are these sites using hash-bang URIs? Well, hash URIs in general have four features which make them useful to client-side applications: they provide addresses for application states; they give caching (and therefore performance) boosts; they enable web applications to draw data from separate servers; and they may have SEO benefits.</p>

<h3>Addressing</h3>

<p>Interacting with the web is all about moving from one state to another, through clicking on links, submitting forms, and otherwise taking action on a page.</p>

<p>Backend databases on web servers, cookies, and other forms of <a href="http://www.w3.org/TR/webstorage/">local storage</a> provide methods of capturing application state, but on the web we&#8217;ve found that having <strong>addresses</strong> for states is essential for a whole bunch of things that we find useful:</p>

<ul>
<li>being able to use the <strong>back button</strong> to return to previous states</li>
<li>being able to <strong>bookmark</strong> states that we want to return to in the future</li>
<li>being able to <strong>share</strong> states with other people by linking to them</li>
</ul>

<p>On the web, the only addressing method that meets these goals is the URI. Addresses that involve more than a URI, such as &#8220;search <code>http://example.com/</code> with the keyword X and click on the third link&#8221; or &#8220;access <code>http://example.org/</code> with cookie X set to Y&#8221; or &#8220;access <code>http://example.net</code> with the HTTP header X set to Y&#8221; simply don&#8217;t work. You can&#8217;t bookmark them or link to them or put them on the side of a bus.</p>

<p>Application state is complex and multi-faceted. As a web developer, you have to work out which parts of the application state need to be addressable through URIs, which can be stored on the client and which on a server. They can be classified into four rough categories; states that are associated with:</p>

<ol>
<li>having particular <strong>content</strong> in the page, such as having a particular thread open in a webmail application</li>
<li>viewing a particular <strong>part</strong> of the content, such as a particular message within a thread that is being shown in the page</li>
<li>having a particular <strong>view</strong> of the content, such as which folders in a navigational folder list are collapsed or expanded</li>
<li>a <strong>user-interface feature</strong>, such as whether a drop-down menu is open or closed</li>
</ol>

<p>States that have different content almost certainly need to have different URIs so that it&#8217;s possible to link to that content (the web being nothing without links). At the other extreme, it&#8217;s very unlikely that the state of a drop-down menu would need to be captured at all. In between is a large grey area, where a web developer might decide not to capture state at all, to capture it in the client, in the server, or to make it addressable by giving it a URI.</p>

<p>If a web developer chooses to make a state addressable through a URI, they again have choices to make about which part of the URI to use: should different states have different domains? different paths? different query parameters? different fragment identifiers? Hash URIs make states addressable that developers might otherwise leave unaddressable.</p>

<p>To give some examples, on <a href="http://www.legislation.gov.uk/">legislation.gov.uk</a> we have decided to:</p>

<ul>
<li>use the path to indicate a particular piece of content (eg which section of an item of legislation you want to look at), for example <a href="http://www.legislation.gov.uk/ukpga/1985/67/section/6"><code>/ukpga/1985/67/section/6</code></a></li>
<li>use query parameters for particular views on that content (eg whether you want to see the timeline associated with the section or not), for example <a href="http://www.legislation.gov.uk/ukpga/1985/67/section/6?view=timeline&amp;timeline=true"><code>/ukpga/1985/67/section/6?view=timeline&amp;timeline=true</code></a></li>
<li>use fragment identifiers to jump to subsections, for example <a href="http://www.legislation.gov.uk/ukpga/1985/67/section/6#section-6-2"><code>/ukpga/1985/67/section/6#section-6-2</code></a></li>
<li>also use fragment identifiers for enhanced views (eg when viewing a section after a text search) <a href="http://www.legislation.gov.uk/ukpga/1985/67/section/6#text%3Dschool%20bus"><code>/ukpga/1985/67/section/6#text%3Dschool%20bus</code></a></li>
</ul>

<p>The last of these states would probably have gone un-addressed if we couldn&#8217;t use a hash URI for it. The only changes that it makes to the normal page are currently to the links to other legislation content, so that you can go (back) to a highlighted table of contents (though we hope to expand it to provide in-section highlighting). Given that we rely heavily on caching to provide the performance that we want and that there&#8217;s an infinite variety of free-text search terms, it&#8217;s simply not worth the performance cost of having a separate base URI for those views.</p>

<h3>Caching and Parallelisation</h3>

<p>Fragment identifiers are currently the only part of a URI that can be changed without causing a browser to refresh the page (though see the note below). Moving to a different base URI &#8212; changing its domain, path or query &#8212; means making a new request on the server. Having a new request for a small change in state makes for greater load on the server and a worse user experience due both to the latency inherent in making new requests and the large amount of repeated material that has to be sent across the wire.</p>

<blockquote>
  <p><em>Note: HTML5 introduces <a href="http://www.w3.org/TR/html5/history.html#the-history-interface"><code>pushState()</code> and <code>changeState()</code> methods</a> in its history API that enable a script to add new URIs to the browser&#8217;s history without the browser actually navigating to that page. This is new functionality, at time of writing only supported in Chrome, Safari and Firefox (and not completely in any of them) and unlikely to be included in IE9. When this functionality is more widely adopted, it will be possible to change state to a new base URI without causing a page load.</em></p>
</blockquote>

<p>When a change of state involves simply viewing a different part of existing content, or viewing it in a different way, a hash URI is often a reasonable solution. It supports addressability without requiring an extra request.</p>

<p>Things become fuzzier when the same base URI is used to support different content, where transclusion is used. In these cases, the page that you get when you request the base URI itself gets content from the server as one or more separate AJAX requests based on the fragment identifier. Whether this ends up giving better performance depends on a variety of factors, such as:</p>

<ul>
<li><strong>How large are the static portions of the page (served directly) compared to the dynamic parts (served using AJAX)?</strong> If the majority of the content is static as a user moves through the site, you&#8217;re going to benefit from only loading the dynamic parts as state changes.</li>
<li><strong>Can different portions of the page be requested in parallel?</strong> These days, <a href="http://calendar.perfplanet.com/2010/thoughts-on-performance/">making many small requests may lead to better performance than one large one</a>.</li>
<li><strong>Can the different portions of the page be cached locally or in a <acronym title="content-delivery network">CDN</acronym>?</strong> You can make best use of caches if the rapidly changing parts of a page are requested separately from the slowly changing parts.</li>
</ul>

<h3>Distributed Applications</h3>

<p>Hash URIs can also be very useful in distributed web applications, where the code that is used to provide an interface pulls in data from a separate, unconnected source. Simple examples are mashups that use data provided by different sources, requested using AJAX, and combine that data to create a new visualisation.</p>

<p>But more advanced applications are beginning to emerge, particularly as a reaction to silo sites such as Google and Facebook, which lock us in to their applications by controlling our data. From the <a href="http://www.unhosted.org/manifesto.html">unhosted manifesto</a>:</p>

<blockquote>
  <p>To be unhosted, a website&#8217;s code will need to be very ajaxy first, so that all the servers do is store and serve json data. No server-side processing. This is because we need to switch from transport-layer encryption to client-side payload encryption (we no longer necessarily trust the server we&#8217;re talking to). From within the app&#8217;s source code, that should run entirely in JavaScript and HTML5, json-objects can be stored, retrieved, sent, and received. The user will have the same experience (we even managed to avoid needing a plugin), but the website is unhosted in the sense that the servers you talk to only see encrypted data and don&#8217;t even know which application you are running.</p>
</blockquote>

<p>The aim of unhosted is to separate application code from user data. This divides servers (at least functionally) into those that store and make available user data, and those that host applications and any supporting code, images and so on. The important feature of these sites is that user data never passes through the web application&#8217;s server. This frees users to move to different applications without losing their data.</p>

<p>This doesn&#8217;t necessarily stop the application server from doing <em>any</em> processing, including URI-based processing; it is only that the processing cannot be based on user data &#8212; the content of the site. Since this content is going to be accessed through AJAX anyway, there&#8217;s little motivation for unhosted applications to use anything other than local storage and hash URIs to encode state.</p>

<h3>SEO</h3>

<p>A final reason for using hash URIs that I&#8217;ve seen cited is that it increases the page rank for the base URI, because as far as a search engine is concerned, more links will point to the same base URI (even if in fact they are pointing to a different hash URI). Of course this doesn&#8217;t apply to hash-bang URIs, since the point of them is precisely to enable search engines to distinguish between (and access content from) URIs whose base URI is the same.</p>

<h2>Disadvantages of Hash URIs</h2>

<p>So hash-bangs can give a performance improvement (and hence a usability improvement), and enable us to build new kinds of web applications. So what are the arguments against using them?</p>

<h3>Restricted Access</h3>

<p>The main disadvantages of using hash URIs generally to support AJAX state arise due to them having to be interpreted by Javascript. This immediately causes problems for:</p>

<ul>
<li>users who have chosen to turn off Javascript because:
<ul>
<li>they have bandwidth limitations</li>
<li>they have security concerns</li>
<li>they want a calmer browser experience</li>
</ul></li>
<li>clients that don&#8217;t support Javascript at all such as:
<ul>
<li>search engines</li>
<li>screen scrapers</li>
</ul></li>
<li>clients that have buggy Javascript implementations that you might not have accounted for such as:
<ul>
<li>older browsers</li>
<li>some mobile clients</li>
</ul></li>
</ul>

<p>The most recent statistic I could find, about access to the <a href="http://developer.yahoo.com/blogs/ydn/posts/2010/10/how-many-users-have-javascript-disabled/">Yahoo home page</a> indicates that up to 2% of access is from users without Javascript (they excluded search engines). According to a <a href="http://webaim.org/projects/screenreadersurvey3/#javascript">recent survey</a>, about the same percentage of screen reader users have Javascript turned off.</p>

<p>This is a low percentage, but if you have large numbers of visitors it adds up. The site that I care most about, <a href="http://legislation.gov.uk">legislation.gov.uk</a>, has over 60,000 human visitors a day, which means that about 1,200 of them will be visiting without Javascript. If our content were completely inaccessible to them we&#8217;d be inconveniencing a large number of users.</p>

<h3>Brittleness</h3>

<p>Depending on hash-bang URIs to serve content is also brittle, as Gawker found. If the Javascript that interprets the fragment identifier is temporarily inaccessible or unable to run in a particular browser, any portions of a page that rely on Javascript also become inaccessible.</p>

<h3>Replacing HTTP</h3>

<p>There are other, less obvious, impacts which occur when you use a hash-bang URI.</p>

<p>The URI held in the <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.36">HTTP Referer header</a> &#8220;MUST NOT include a fragment&#8221;. As <a href="http://isolani.co.uk/blog/javascript/BreakingTheWebWithHashBangs">Mike Davies noted</a>, this prevents such URIs from showing up in server logs, and stops people from working out which of your pages are linking to theirs. (Of course, this might be a good thing in some circumstances; there might be aspects of the state of a page that you&#8217;d rather a referenced server not know about.)</p>

<p>You should also consider the impact on the future proofing of your site. When a server knows the entirety of a URI, it can use HTTP mechanisms to indicate when pages have moved, gone, or never existed. With hash URIs, if you change the URIs you use on your site, the Javascript that interprets the fragment identifier needs to be able to recognise and support any redirections, missing, or never existing pages. The HTTP status code for the wrapper page will always be <code>200 OK</code>, but be meaningless.</p>

<p>Even if your site structure doesn&#8217;t change, if you use hash-bang URIs as your primary set of URIs, you&#8217;re likely to find it harder to make a change back to using hashless URIs in the future. Again, you will be reliant in perpetuity on Javascript routing to decipher the hash-bang URI and redirect it to a hashless URI.</p>

<h3>Lack of Differentiation</h3>

<p>A final factor is that fragment identifiers can become overcrowded with state information. In a purely hash-URI-based site, what if you wanted to jump to a particular place within particular content, shown with a particular view? The hash URI has to encode all three of these pieces of information. Once you start using hash-bang URIs, there is no way to indicate within the URI (for search engines, for example) that a particular piece of the URI can be ignored when checking for equivalence. With normal hash URIs, there is an assumption that the fragment identifier can basically be ignored; with hash-bang URIs that is no longer true.</p>

<h2>Good Practice</h2>

<p>Having looked at the advantages and disadvantages, I would echo what seems to be the general sentiment around traditional server-based websites that use hash-bang URIs: <strong>pages that give different content should have different base URIs, not just different fragment identifiers</strong>. In particular, if you&#8217;re serving large amounts of document-oriented content through hash-bang URIs, consider swapping things around and having hashless URIs for the content that then transclude in the large headers, footers and side bars that form the static part of your site.</p>

<p>However, if you are running a server-based, data-driven web application and your primary goal is a smooth user experience, it&#8217;s understandable why you might want to offer hash URIs for your pages to the 98% of people who can benefit from it, even for transcluded content. In these cases I&#8217;d argue that you should practice progressive enhancement:</p>

<ol>
<li>support hashless URIs which <em>do not</em> simply redirect to a hash URI, and design your site around those</li>
<li>use hash-bang URIs as suggested by Google rather than simple hash URIs</li>
<li>provide an easy way to get the sharable, hashless URI for a particular page when it is accessed with a hash-bang URI</li>
<li>use hashless URIs within links; these can be overridden with onclick listeners for those people with Javascript; using the hashless URI ensures that &#8216;Copy Link Location&#8217; will give a sharable URI</li>
<li>use the HTML5 history API where you can to add or replace the relevant hashless URI in the browser history as state changes</li>
<li>ensure that only those visitors that both have Javascript enabled and do not have support for HTML5&#8217;s history API have access to the hash-bang URIs by using Javascript to, for example:
<ul>
<li>redirect to a hash-bang URI</li>
<li>rewrite URIs within pages to hash-bang URIs</li>
<li>attach onclick URIs to links</li>
</ul></li>
<li>support the <code>_escaped_fragment_</code> query parameter, the result of which should be a redirection to the appropriate hashless URI</li>
</ol>

<p>This is roughly what Twitter has done, except that it doesn&#8217;t make it easy to get the hashless URI from a page or from links within the page. Of course the mapping in Twitter&#8217;s case is the straight-forward removal of the <code>#!</code> from the URI, but as a human it&#8217;s frustrating to have to do this by hand.</p>

<p>The above measures ensure that your site will remain as accessible as possible to all users and provides a clear migration path as the HTML5 history API gains acceptance. The slight disadvantage is that encouraging people to use hashless URIs for links means that you you can no longer depend quite so much on caching as the first page that people access in a session might be any page (whereas with a pure hash-bang scheme everyone goes to the same initial page).</p>

<p>Distributed, client-based websites can take the same measures &#8212; the application&#8217;s server can send back the same HTML page regardless of the URI used to access it; Javascript can pull information from a URI&#8217;s path as easily as it can from a fragment identifier. The biggest difficulty is supporting the static page through the <code>_escaped_fragment_</code> convention without passing user data through the application server. I suspect we might find a third class of service arise: trusted third-party proxies using headless browsers to construct static versions of pages without storing either data or application logic. Time will tell.</p>

<h2>The Deeper Questions</h2>

<p>There are some deeper issues here regarding web architecture. In the traditional web, there is a one-to-one correspondence between the representation of a resource that you get in response to a request from a server, and the content that you see on the page (or a search engine retrieves). With a traditional hash URI for a fragment, the HTTP headers you retrieve for the page are applicable to the hash URI as well. In a web application that uses transclusion, this is not the case.</p>

<blockquote>
  <p><em>Note: It&#8217;s also impossible to get metadata about hash URIs used for real-world or abstract things using HTTP; in these cases, the metadata about the thing can only be retrieved through interpreting the data within the page (eg an RDF document). Whereas with the <code>303 See Other</code> pattern for publishing linked data, it&#8217;s possible to use a <code>404 Not Found</code> response to indicate a thing that does not exist, there is no equivalent with hash URIs. Perhaps this is what lies at the root of my feeling of unease about them.</em></p>
</blockquote>

<p>With hash-bang URIs, there are in fact three (or more) URIs in play: the hash-bang URI (which identifies a wrapper page with particular content transcluded within it), a base URI (which identifies the wrapper HTML page) and one or more content URIs (against which AJAX requests are made to retrieve the relevant content). Requests to the base URI and the content URIs provide us with HTTP status codes and headers that describe those particular representations. The only way of discovering similar metadata about the hash-bang URI itself is through the <code>_escaped_fragment_</code> query parameter convention which maps the hash-bang URI into a hashless URI that can be requested.</p>

<p>Does this matter? Do hash-bang URIs &#8220;break the web&#8221;? Well, to me, &#8220;breaking the web&#8221; is about breaking the implicit socio-technical contract that we enter into when we publish websites. At the social level, sites break the web when they <a href="http://blog.tommorris.org/post/3512773108/channel-4-showing-the-fruits-of-content-lifecycle">withdraw support for URIs that are widely referenced elsewhere</a>, hide content behind register- or pay-walls, or discriminate against those who suffer from disabilities or low bandwidth. At the technical level, it&#8217;s when sites lie in HTTP. It&#8217;s when they serve up pages with the title &#8220;Not Found&#8221; with the HTTP status code <code>200 OK</code>. It&#8217;s when they serve non-well-formed HTML as <code>application/xhtml+xml</code>.</p>

<p>These things matter because we base our own behaviour on the contract being kept. If we cannot trust major websites to continue to support the URIs that they have coined, how can we link to them? If we cannot trust websites to provide accurate metadata about the content that they serve, how can we write applications that cache or display or otherwise use that information? On their own, pages that use Javascript-based transclusion break both the social side (in that they limit access to those with Javascript) and the technical side (in that they cannot properly use HTTP) of the contract.</p>

<p>But contracts do get rewritten over time. The web is constantly evolving and we have to revise the contract as new behaviours and new technologies gain adoption. The <code>_escaped_fragment_</code> convention gives a life line: a method of programmatically discovering how to access the version of a page without Javascript, and to discover metadata about it through HTTP. It is not a pretty pattern (I would much prefer that the server returned a header containing a <a href="http://tools.ietf.org/html/draft-gregorio-uritemplate-04">URI template</a> that described how to create the hashless equivalent of a hash-bang URI, and to have some rules about the parsing of a hash-bang fragment identifier so that it could include other fragments identifiers) but it has the benefit of adoption.</p>

<p>In short, hash-bang URIs are an important pattern that will be around for several years because they offer many benefits compared to their alternatives, and because HTML5&#8217;s history API is still a little way off general support. Rather than banging the drum against hash-bang URIs, we need to try to make them work as well as they can by:</p>

<ul>
<li>berating sites that use plain hash URIs for transcluded content</li>
<li>encouraging sites that use hash-bang URIs to follow some good practices such as those I outlined above</li>
<li>encouraging applications, such as browsers and search engines, to automatically map hash-bang URIs into the <code>_escaped_fragment_</code> pattern when they do not have Javascript available</li>
</ul>

<p>We also need to keep a close eye on emerging patterns in distributed web applications to ensure that these efforts are supported in the standards on which the web is built.</p>
]]>
        

    </content>
</entry>

<entry>
    <title>New opportunities for linked data nose-following</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2010/07/new_opportunities_for_linked_d.html" />
    <id>tag:www.w3.org,2010:/QA//1.8849</id>
    
    <published>2010-07-06T18:12:30Z</published>
    <updated>2010-08-19T19:06:11Z</updated>
    
    <summary type="html"> For those of you interested in deploying RDF on the Web, I&apos;d like to draw your attention to three new proposed standards from IETF, &quot;Web Linking&quot;, &quot;Defining Well-Known URIs&quot;, and &quot;Web Host Metadata&quot;, that create new follow-your-nose tricks that...</summary>
    <author>
        <name>Jonathan Rees</name>
        <uri>http://mumble.net/~jar/</uri>
    </author>
    
        <category term="Semantic Web" />
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>
For those of you interested in deploying RDF on the Web, 
I'd like to draw your attention to three new proposed standards from IETF, 
"<a href="http://www.ietf.org/id/draft-nottingham-http-link-header-10.txt">Web Linking</a>",
"<a href="http://tools.ietf.org/id/draft-nottingham-site-meta-05.txt">Defining Well-Known URIs</a>",
and "<a href="http://www.ietf.org/id/draft-hammer-hostmeta-13.txt">Web Host Metadata</a>", 
that create new follow-your-nose tricks that could be used by semantic web clients to obtain RDF connected to a URI - RDF that presumably defines what the URI 'means' and/or describes the thing that the URI is supposed to refer to.
</p>

<p>
Most semantic web application developers are probably familiar with three ways to nose-follow from a URI:</p>
<ol>
	<li>For # URIs - for X#F, the document X tells you about &lt;X#F></li>
	<li>When the response to GET X is a 303 - the redirect target tells you about &lt;X&gt;</li>
	<li>When the response to GET X is a 200 - the content may tell you about &lt;X&gt;</li>
</ol>
<p>
In case 3, X refers to what I'll call a "web page" (a more technical term is used in the TAG's <a href="http://lists.w3.org/Archives/Public/www-tag/2005Jun/0039.html">httpRange-14 resolution</a>). One of the new RFCs extends case 3 to situations where the RDF can't be embedded in the content, either because the content-type doesn't provide a place to put it (e.g. text/plain) or because for administrative reasons the content can't be modified to include it (e.g. a web archive that has to deliver the original bytes faithfully).  The others cover this case as well as offering improved performance in case 2.
</p>

<h3>Web pages as RDF subjects</h3>

<p>
Before getting into the new nose-following protocols, I'll amplify case 3 above by listing a few applications of RDF in which a web page occurs as a subject.  I'll rather imprecisely call such RDF "metadata".
</p>
<ol>
	<li>Bibliographic metadata - tools such as Zotero might be interested in obtaining Dublin Core, BIBO, or other citation data for the web page.</li>
	<li>Stability metadata - for annotation and archiving purposes it may be useful to know whether the page's content is committed to be stable over time (e.g. <a href="http://www.w3.org/TR/rif-in-rdf/">this has changing content</a> versus <a href="http://www.w3.org/TR/2010/WD-rif-in-rdf-20100622/">this has unchanging content</a>).  See <a href="http://www.w3.org/DesignIssues/Generic.html">TimBL's Generic Resources note</a>.</li>
	<li>Historical and archival metadata - it is useful to have links to other versions of a document - including future versions.</li>
</ol>

<p>
All sorts of other statements can be made about a web page, such as a type (wiki page, blog post, etc.), SKOS concepts, links to comments and reviews, duration of a recording, how to edit, who controls it administratively, etc. Anything you might want to say about a web page can be said in RDF.
</p>

<p>
Embedded metadata is easy to deploy and to access, and should be used when possible.  But while embedded metadata has the advantages of traveling around with the content, a protocol that allows the server responsible for the URI to provide metadata over a separate "channel" has two advantages over embedded metadata: First, the metadata doesn't have to be put into the content; and second, it doesn't have to be parsed out of the content.  And it's not either/or: There is no reason not to provide metadata through both channels when possible.</p>

<h3>Link: header</h3>

<p>
The 'Web Linking' <a href="http://www.ietf.org/mail-archive/web/ietf-announce/current/msg07416.html">proposed standard</a> defines the HTTP Link: header, which provides a way to communicate links rooted at the requested resource.  These links can either encode interesting information directly in the HTTP response, or provide a link to a document that packages metadata relevant to the resource.
</p>

<p>
In the former case, one might have:
</p>
<blockquote><p>
    Link: &lt;http://xmlns.com/foaf/0.1/Document>; <br/>
     &nbsp;  rel="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
</p>
</blockquote>
<p>
meaning that the request URI refers to something of type foaf:Document.  In the latter case one might have:
</p>
<blockquote>
<p>
    Link: &lt;http://example.com/about/foo.rdf>;<br/>
     &nbsp;  rel="describedby"; type=application/rdf+xml
</p>
</blockquote>
<p>
meaning that metadata can be found in
&lt;http://example.com/about/foo.rdf>, and <em>hinting</em> that the
latter resource might have a 'representation' with media type 
application/rdf+xml.
</p>

<h3>Host-wide nose-following rules</h3>

<p>
The motivation for the "well-known URIs" RFC is to collect all "well-known URIs" (analogous to "robots.txt") in a single place, a root-level ".well-known" directory, and create a registry of them to avoid collisions.  The most pressing need comes from protocols such as webfinger and OpenID; see <a href="http://hueniverse.com/2009/11/host-meta-aka-site-meta-and-well-known-uris/">Eran Hammer-Lahav's blog post</a> for the whole story.
</p>

<p>
For linked data, .well-known provides an opportunity for providing metadata for web pages, as well improving the efficiency of obtaining RDF associated with other "slash URIs", what is currently done using 303 responses.
</p>

<p>
Ever since the TAG's httpRange-14 decision in 2005, there have been <a href="http://lists.w3.org/Archives/Public/www-tag/2007Jul/0034">concerns</a> that it takes two round trips to collect RDF associated with a slash URI.  While some might question why those complaining aren't using hash URIs, in any case the "well-known URIs" mechanism gives a way to reduce the number of round trips in many cases, eliminating many GET/303 exchanges.
</p>

<p>
The trick is to obtain, for each host, a generic rule that will transform the URI at that host that you want RDF for into the URI of a document that carries that RDF.  This generic rule is stored in a file residing in the .well-known space at a path that is fixed across all hosts.  That is: to find RDF for http://example.com/foo, follow these steps:
</p>
<ol>
	<li>obtain the host name, "example.com"</li>
	<li>form the URI with that host name and path
      "/.well-known/host-meta", i.e.
      "http://example.com/.well-known/host-meta"
      (see 
	   <a href="http://tools.ietf.org/html/draft-hammer-hostmeta-13">here</a>)</li>
	<li><i>if not already cached,</i> fetch the document  at that URI</li>
	<li>in that document find a rule generically transforming
      original-URI -> about-URI</li>
	<li>apply the rule to "http://example.com/foo" obtaining (say)
      "http://example.com/about/foo"</li>
	<li>find RDF about "http://example.com/foo"
      in document "http://example.com/about/foo"</li>
</ol>
<p>
The form of the about-URI is chosen by the particular host, e.g. "http://example.com/foo,about" or "http://about.example.com/foo" or whatever works best.
</p>

<p>
Why is this fewer round trips than using 303?  Because you can fetch and cache the generic rule once per site.  The first use of the rule still costs an extra round trip, but subsequent URIs for a given site can be nose-followed without any extra web accesses.
</p>

<p>
A worked example can be found <a href="http://tools.ietf.org/html/draft-hammer-hostmeta-13">here</a>.
</p>

<h3>Next steps</h3>

<p>
As with any new protocol, figuring out exactly how to apply the new proposed standards will require coordination and consensus-building.  For example, the choice of the "describedby" link relation and "host-meta" well-known URI need to be confirmed for linked data, and agreement reached on whether multiple Link: headers is in good taste or poor taste.  (Link: and .well-known put interesting content in a peculiarly obscure place and it might be a good idea to limit their use.)  Consideration should be given to Larry Masinter's suggestion to use multiple relations reflecting different attitudes the server might have regarding the various metadata sources: For example the server may choose to announce that it wants the Link: metadata to override any embedded metadata, or vice versa.  Agreement should be reached on the use of Link: and host-meta with redirects (302 and so on) - personally I think it would be a great thing as you could then use a value-added forwarding service to provide metadata that the target host doesn't or can't provide.
</p>

<p>
This is not a particularly heavy coordination burden; the design odds-and-ends and implementations are all simple.  The impetus might come from inside W3C (e.g. via SWIG) or bottom-up.  All we really need to get this going are a bit of community discussion, a server, and a cooperating client, and if the protocols actually fill a need, they will take off.
</p>

<p>
For past TAG work on this topic, please see <a href="http://www.w3.org/2001/tag/group/track/issues/62">TAG issue 62</a>
and the "<a href="http://www.w3.org/2001/tag/doc/uniform-access.html">Uniform Access to Metadata</a>"
 memo.
</p>]]>
        
    </content>
</entry>

<entry>
    <title>Thanks for a great 15 years at W3C</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2010/06/thanks_for_a_great_15_years_at.html" />
    <id>tag:www.w3.org,2010:/QA//1.8810</id>
    
    <published>2010-06-02T19:04:25Z</published>
    <updated>2010-06-02T21:23:15Z</updated>
    
    <summary type="html">After 15 years working with all of you all around the world on Web technologies and standards, I&apos;m taking a position as a Biomedical Informatics Software Engineer in the department of biostatistics at the University of Kansas Medical center. The...</summary>
    <author>
        <name>Dan Connolly</name>
        <uri>http://www.w3.org/People/Connolly/</uri>
    </author>
    
        <category term="HTML" />
    
        <category term="Semantic Web" />
    
        <category term="W3C Life" />
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>After 15 years working with all of you all around the world on Web technologies and standards, I'm taking a position as a Biomedical Informatics Software Engineer in the <a href="http://biostatistics.kumc.edu/">department of biostatistics at the University of Kansas Medical center</a>. 
</p>

<p>The new job starts in just another week or two; I'll update the contact information and such on <a href="http://www.w3.org/People/Connolly/">my home page</a> before I'm done here.
While my new position is likely to keep me particularly busy for a few months, I hope to surface in <cite><a href="http://www.madmode.com/">Mad Mode</a></cite> from time to time; it's a blog where I'm consolidating writing on <a href="http://www.advogato.org/person/connolly/">free software</a>, <a href="http://dig.csail.mit.edu/breadcrumbs/blog/2">semantic web research</a>, and other things I'm mad-passionate about.</p>

<p>Thanks to all of you who contribute to the work at W3C; I'm proud of a lot of things that we built together. And thanks to all my mentors and collaborators who taught me, helped me, and challenged me.</p>

<p>The Web is an incredibly important part of so many parts of life these days, and
W3C plays an important role in ensuring that it will work for everyone over the long haul. Although it's hard to leave an organization with a mission I support, I am excited to get into bioinformatics, and I look forward to what W3C and the Web community come up with next as well.</p>]]>
        
    </content>
</entry>

<entry>
    <title>The Mission of W3C</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2010/06/the_mission_of_w3c.html" />
    <id>tag:www.w3.org,2010:/QA//1.8808</id>
    
    <published>2010-06-01T14:20:53Z</published>
    <updated>2010-06-01T15:52:24Z</updated>
    
    <summary type="html">I&apos;ve now been with W3C for almost three months. My first priority was to meet with the global stakeholders of the organization. I began with W3C membership. Through meetings, phone calls, technical conferences, and informal sessions I&apos;ve met upwards of...</summary>
    <author>
        <name>Jeff Jaffe</name>
        <uri>http://www.w3.org/People/Jeff/</uri>
    </author>
    
        <category term="Accessibility" />
    
        <category term="CEO" />
    
        <category term="Technology" />
    
        <category term="W3C・QA News" />
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>I've now been with W3C for almost three months.  My first priority was to meet with the global stakeholders of the organization.</p>

<p>I began with W3C membership.  Through meetings, phone calls, technical conferences, and informal sessions I've met upwards of one hundred members and have had profound conversations with many of them.</p>

<p>I also made a point of meeting with organizations that are part of the ecosystem within which W3C works.  This includes other standards organizations, government ministers, students, researchers in Web science, and thought leaders in the industry.</p>

<p>I also reached out to organizations that “should” be in W3C.  Often this includes presenting our activities and roadmaps.  I've reached over one thousand people in this way.</p>

<p>And it was important to do this on a global basis.  During these two and a half months I travelled to eight countries, but have spoken to participants from many other locations.</p>

<p>The primary purpose of all of these meetings was to listen.  W3C has been an effective organization, but any organization can do better.  What are the stakeholders of W3C asking from us?</p>

<h2>Four primary requests</h2>

<p>W3C has established principles including Web for All and Web on Everything.   We've established a technical vision as well.  There is broad agreement to these principles and technical vision.</p>

<p>People are asking us to be more tangible and specific in how we achieve this.  </p>

<p>There are many ways of summarizing the requests, but four recurring themes best capture the idea.  W3C needs to:</p>

<ol>
	<li>Drive a Global and accessible Web.  There is little dispute that we should work towards a Web for All.  But so many are deprived sufficient access – for reasons of handicap, language, poverty, and illiteracy – that we need a stronger technical program to improve the situation.</li>
	<li>Provide a Better Value Proposition for Users.  Everyone is a consumer and everyone is an author.  Yet our focus has been on vendors that build products.  We need to complement that with a better user focus.</li>
	<li>Make W3C the best place for new standards work.  I blogged last month about the expanding    Web platform.  There is so much new innovation and we must encourage the community to bring their work rapidly to W3C.</li>
	<li>Strengthen our core mission.  With the expansion of innovation on the Web, we cannot do it all.  We must be very crisp about what we achieve in W3C, what companion organizations achieve, and how do we relate.</li>
	</ol>
<p>Having identified clear imperatives, we are building teams that will look at each of these topics.  Typically a team involves W3C staff, participating members, and outside experts.  I expect to update you from time to time as this work gets underway.</p>

<h2>One more focus area</h2>

<p>As we try to improve the global accessible Web; the Web of Users, new standards work, and strong delivery of a core mission, there is a legitimate danger that we will find more work to do without the resource to do it.  So we will also make sure that this clearer exposition of our mission is aligned with the resources required to complete that mission!</p>]]>
        
    </content>
</entry>

<entry>
    <title>Why does the address bar show the tempolink instead of the permalink?</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2010/04/why_does_the_address_bar_show.html" />
    <id>tag:www.w3.org,2010:/QA//1.8769</id>
    
    <published>2010-04-19T13:59:40Z</published>
    <updated>2010-04-19T14:29:44Z</updated>
    
    <summary type="html">An important feature of HTTP is the temporary redirect, where a resource can have a &quot;permanent&quot; URI while its content moves from place to place over time. For example, http://purl.org/syndication/history/1.0 remains a constant name for that resource even though its...</summary>
    <author>
        <name>Jonathan Rees</name>
        <uri>http://mumble.net/~jar/</uri>
    </author>
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>An important feature of HTTP is the temporary redirect, where a resource can have a "permanent" URI while its content moves from place to place over time.  For example,
http://purl.org/syndication/history/1.0 remains a constant name for that resource even though its location (as specified by a second URI) changes from time to time.</p>

<p>If this is such a useful feature, then why does the browser address
bar show the temporary URI instead of the permanent one?  After all,
the permanent one is the one you want to copy and paste to email, to
bookmark, to place in HTML documents, and so on.  The HTTP
specification says to hang on to the permanent link ("since the
redirection MAY be altered on occasion, the client SHOULD continue to
use the Request-URI for future requests.").  Tim Berners-Lee says the
same thing in <a href="http://www.w3.org/DesignIssues/UserAgent">User Agent watch points</a>
(1998): "It is
important that when a user agent follows a "Found" [302] link that the
user does not refer to the second (less persistent) URI. Whether
copying down the URI from a window at the top of a document, or making
a link to the document, or bookmarking it, the reference should
(except in very special cases) be to the original URI."
Karl Dubost amplifies this in his 2001-2003 W3C Note <a href="http://www.w3.org/TR/2003/NOTE-cuap-20030128">Common User
Agent Problems</a>: "Do not
treat HTTP temporary redirects as permanent redirects.... Wrong: User
agents usually show the user (in the user interface) the URI that is
the result of a temporary (302 or 307) redirect, as they would do for
a permanent (301) redirect."</p>

<p>So why do browsers ignore the RFC and these repeated admonitions?
Possibly due to lack of awareness of the issue, but more likely
because the status quo is seen as protecting the user.  If
the original URI (the permalink) were shown we might have the following scenario:</p>

<ol>
<li><p>an attacker discovers a way
to establish a 3xx redirect from
http://w3.org/resources/looksgood to
http://phishingsite.org/pretendtobew3 - either because w3.org
is being careless, or because of a conscious decision to deed part 
of its URI space to other parties</p></li>
<li><p>user sees address bar = http://w3.org/resources/looksgood with
content X, and concludes that the X is attributable
to the resource http://w3.org/resources/looksgood</p></li>
<li><p>user treats the http://w3.org/ prefix as an informal credential
and treats the http://w3.org/resources/looksgood content as
coming from W3C (without any normative justification; they just
do) when in fact it's a phishing site pretending to be W3C</p></li>
<li><p>user enters their W3C password into phishing form, etc.</p></li>
</ol>

<p>Were the user to observe address bar = http://phishingsite.org/pretendtobew3 with the same content, she
might suspect an attack and decline to enter a password.</p>

<p>An attacker might make use of an explicit redirection service on a site similar to that provided by purl.org, or it might exploit a redirect script that takes a URL as part of the
query string, e.g.
http://w3.org/redirect?uri=http://phishingsite.org/pretendtobew3 .</p>

<p>This line of reasoning is documented in the Wikipedia article <a href="http://en.wikipedia.org/wiki/URL_redirection#Manipulating_visitors">URL redirection</a> and its references and
in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=68423">Mozilla bug 68423</a>.</p>

<p>There are two possible objections. One is that the server in these
cases is in error - it shouldn't have allowed the redirects if it
didn't really mean for the content source to speak on behalf of the
original resource (similar to an iframe or img element).  The other is
that the user is in error - s/he shouldn't be making authorization
decisions based on the displayed URI; other evidence such as a
certificate should be demanded.  Unfortunately, while correct in
theory, neither of these considerations is very compelling.</p>

<p>If browser projects are unwilling to change address bar behavior - and
it seems unlikely that they will - is there any other remedy?</p>

<p>Perhaps some creative UI design might help.  Displaying the permalink
in addition to the tempolink might be nice, so that it could be
selected (somehow) for bookmarking, but that might be confusing and
take too much screen real estate.  One possible partial solution would
be an enhancement to the bookmark creation dialog.  In Firefox on
selecting "Bookmark This Page" one sees a little panel with text
fields "name" and "tags" and pull-down "folder".  What if, in the case
of a redirection, there were an additional control that gave the
option of bookmarking the permalink URI in place of the substitute
URI? With further thought I bet someone could devise a solution that would work for URI copy/paste as well.</p>

<p>(Thanks to Dan Connolly, other TAG members, and David Wood for their
help with this note.)</p>
]]>
        

    </content>
</entry>

<entry>
    <title>Default Prefix Declaration</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2009/11/default_prefix_declaration.html" />
    <id>tag:www.w3.org,2009:/QA//1.8659</id>
    
    <published>2009-11-18T14:23:07Z</published>
    <updated>2010-01-19T13:40:12Z</updated>
    
    <summary type="html">In this posting, my intention is to provide a concise statement of an idea which is neither
particularly new nor particularly mine, but which needs a place that can be referenced in the context of the current debate about distributed extensibility and HTML5.  It&apos;s a very simple proposal to provide an out-of-band, defaultable, document-scoped means to declare namespace prefix bindings.</summary>
    <author>
        <name>Henry S. Thompson</name>
        
    </author>
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<div style="text-align: center;">
<h1>Default Prefix Declaration</h1>
<div class="byline">Henry S. Thompson</div>
<div class="byline">18 Nov 2009</div>
</div>
<div class="toc">
<h1>Table of Contents</h1>
<ul class="naked">
<li>
<h2>1. <a href="#disclaimer">Disclaimer</a></h2>
</li>
<li>
<h2>2. <a href="#intro">Introduction</a></h2>
</li>
<li>
<h2>3. <a href="#proposal">The proposal</a></h2>
</li>
<li>
<h2>4. <a href="#why_prefixes">Why prefixes?</a></h2>
</li>
<li>
<h2>5. <a href="#example">Example</a></h2>
</li>
</ul>
</div>
<div id="disclaimer">
<h2>1. <a href="" name="disclaimer" id="disclaimer">Disclaimer</a></h2>
<p>The ideas behind the proposal presented here are neither
particularly new nor particularly mine. I've made the effort to
write this down so anyone wishing to refer to ideas in this space
can say "Something along the lines of [this posting]" rather than
"Something, you know, like, uhm, what we talked about, prefix
binding, media-type-based defaulting, that stuff".</p>
</div>
<div id="intro">
<h2>2. <a href="" name="intro" id="intro">Introduction</a></h2>
<p>Criticism of <a href="http://www.w3.org/TR/xml-names/">XML
namespaces</a> as an appropriate mechanism for enabling distributed
extensibility for the Web typically targets two issues:</p>
<ol>
<li>Syntactic complexity</li>
<li>API complexity</li>
</ol>
<p>Of these, the first is arguably the more significant, because
the number of authors exceeds the number of developers by a large
margin. Accordingly, this proposal attempts to address the first
problem, by providing a defaulting mechanism for namespace prefix
bindings which covers the 99% case.</p>
</div>
<div id="proposal">
<h2>3. <a href="" name="proposal" id="proposal">The proposal</a></h2>
<dl>
<dt><b><a href="" name="Binding" id="Binding">Binding</a></b></dt>
<dd>Define a trivial XML language which provides a means to
associate prefixes with namespace names (URIs);</dd>
<dt><b><a href="" name="Invoking_from_HTML" id="Invoking_from_HTML">Invoking from HTML</a></b></dt>
<dd>Define a link relation <code>dpd</code> for use in the (X)HTML
header;</dd>
<dt><b><a href="" name="Invoking_from_XML" id="Invoking_from_XML">Invoking
from XML</a></b></dt>
<dd>Define a processing instruction <code>xml-dpd</code> and/or an
attribute <code>xml:dpd</code> for use at the top of XML
documents;</dd>
<dt><b><a href="" name="Defaulting_by_Media_Type" id="Defaulting_by_Media_Type">Defaulting by Media Type</a></b></dt>
<dd>Implement a registry which maps from media types to a published
dpd file;</dd>
<dt><b><a href="" name="Semantics" id="Semantics">Semantics</a></b></dt>
<dd>Define a precedence, which operates on a per-prefix basis,
namely xmlns: &gt;&gt; explicit invocation &gt;&gt; application
built-in default &gt;&gt; media-type-based default, and a semantics
in terms of <a href="http://www.w3.org/TR/xml-infoset/#infoitem.namespace">namespace
information items</a> or appropriate data-model equivalent on the
document element.</dd>
</dl>
</div>
<div id="why_prefixes">
<h2>4. <a href="" name="why_prefixes" id="why_prefixes">Why
prefixes?</a></h2>
<p>XML namespaces provide two essentially distinct mechanisms for
'owning' names, that is, preventing what would otherwise be a name
collision by associating names in some way with some additional
distinguishing characteristic:</p>
<ol>
<li>By prefixing the name, and binding the prefix to a particular
URI;</li>
<li>By declaring that within a particular subtree,
<i>un</i>prefixed names are associated with a particular URI.</li>
</ol>
<p>In XML namespaces as they stand today, the association with a
URI is done via a <a href="http://www.w3.org/TR/xml-names/#ns-decl">namespace declaration</a>
which takes the form of an attribute, and whose impact is scoped to
the subtree rooted at the owner element of that attribute.</p>
<p>Liam Quin <a href="http://www.balisage.net/Proceedings/vol3/html/Quin01/BalisageVol3-Quin01.html">
has proposed</a> an additional, out-of-band and defaultable,
approach to the association for <i>un</i>prefixed names, using
patterns to identify the subtrees where particular URIs apply. I've
borrowed some of his ideas about how to connect documents to prefix
binding definitions.</p>
<p>The approach presented here is similar-but-different, in that its primary
goal is to enable out-of-band and defaultable associations of namespaces
to names <i>with</i> prefixes, with whole-document scope. The
advantages of focussing on prefixed names in this way are:</p>
<ul>
<li><i>Ad-hoc</i> extensibility mechanisms typically use prefixes.
The HTML5 specification already has at least two of these:
<code>aria-</code> and <code>data-</code>;</li>
<li>Prefixed names are more robust in the face of arbitrary
cut-and-paste operations;</li>
<li>Authors are used to them: For example XSLT stylesheets and W3C
XML Schema documents almost always use explicit prefixes
extensively;</li>
<li>Prefix binding information can be very simple: just a set of
pairs of prefix and URI.</li>
</ul>
<p>Provision is also made for optionally specifying a binding for the default namespace at the document element, primarily for the media type registry case, where it makes sense to associate a primary namespace with a media type.</p>
</div>
<div id="example">
<h2>5. <a href="" name="example" id="example">Example</a></h2>
<p>If this proposal were adopted, and a dpd document for use in HTML 4.01 or XHTML1:</p>
<blockquote>
<div>
<pre class="code">&lt;dpd ns="http://www.w3.org/1999/xhtml"&gt;
 &lt;pd p="xf" ns="http://www.w3.org/2002/xforms"/&gt;
 &lt;pd p="svg" ns="http://www.w3.org/2000/svg"/&gt;
 &lt;pd p="ml" ns="http://www.w3.org/1998/Math/MathML"/&gt;
&lt;/dpd&gt;</pre></div>
</blockquote>
<p>was registered against the <code>text/html</code> media type, the following would result in a DOM with <code>html</code> and <code>body</code> elements in the XHTML namespace and an <code>input</code> element in the XForms namespace:
</p>
<blockquote>
<div>
<pre class="code">&lt;html&gt;
 &lt;body&gt;
  &lt;xf:input ref="xyzzy"&gt;...&lt;/xf:input&gt;
 &lt;/body&gt;
&lt;/html&gt;</pre></div>
</blockquote>
</div>
]]>
        
    </content>
</entry>

<entry>
    <title>TAG Status Report: July, 2009</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2009/07/tag_status_report_july_2009.html" />
    <id>tag:www.w3.org,2009:/QA//1.6455</id>
    
    <published>2009-07-31T14:55:13Z</published>
    <updated>2009-07-31T14:57:55Z</updated>
    
    <summary type="html">The latest status report to the W3C membership from the TAG is available at http://www.w3.org/2001/tag/2009/sum07. Noah...</summary>
    <author>
        <name>Noah Mendelsohn</name>
        
    </author>
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[The latest status report to the W3C membership from the <a href="http://www.w3.org/2001/tag/">TAG</a> is available at <a href="http://www.w3.org/2001/tag/2009/sum07">http://www.w3.org/2001/tag/2009/sum07</a>.

Noah]]>
        
    </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>Language semantics and operational meaning</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2009/05/language_semantics_and_operati.html" />
    <id>tag:www.w3.org,2009:/QA//1.6366</id>
    
    <published>2009-05-19T18:45:18Z</published>
    <updated>2009-05-19T18:45:39Z</updated>
    
    <summary type="html"> W3C and other standards organizations are in the business of defining languages -- conventions that organizations can choose to follow -- and not in mandating operational behavior -- telling organizations and participants in the network how they are supposed...</summary>
    <author>
        <name>Larry Masinter</name>
        <uri>http://larry.masinter.net</uri>
    </author>
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[
	<p>W3C and other standards organizations are in the business of defining languages -- conventions that organizations can choose to follow -- and not in mandating operational behavior -- telling organizations and participants in the network how they are supposed to behave. Organizations (implementors, operators, administrators, software developers) are free to choose which standards they adopt, and what their operational behavior will be.</p>
	<p>In some <a href="http://lists.w3.org/Archives/Public/www-tag/2009Jan/0143.html">posts on the www-tag mailing list</a>, I was trying to point out the risks in defining languages such that the &quot;meaning&quot; of the language depends on operational behavior. In some ways, of course, this is a fallacy: in general, what an utterance &quot;means&quot; in some operational way depends on what the speaker intends and how the listener will interpret the utterance. </p>
	<p>However, as an organization, W3C can, and should, define languages in which the meaning is defined in the document, in terms of abstractions rather than in terms of operational behavior. The result is more robust standards, those that have wider applicability, that can be used for more purposes, and that create a more vibrant and extensible web.<BR/>
    </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>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>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>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>Caching XML data at install time</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2008/09/caching_xml_data_at_install_ti.html" />
    <id>tag:www.w3.org,2008:/QA//1.226</id>
    
    <published>2008-09-04T21:29:28Z</published>
    <updated>2008-09-05T23:52:09Z</updated>
    
    <summary type="html">The W3C web server is spending most of its time serving DTDs to various bits of XML processing software. While XSLT processors such as xsltproc and Xalan have no technical dependency on the XHTML DTDs, I suspect they&apos;re used with XHTML enough that shipping copies of the DTDs along with the XSLT processing software is a win all around.</summary>
    <author>
        <name>Dan Connolly</name>
        <uri>http://www.w3.org/People/Connolly/</uri>
    </author>
    
        <category term="HTTP" />
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[
<p>The W3C web server is spending most of its time serving DTDs to
various bits of XML processing software. In a <a href="http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic#c1821">follow-up comment on an item on DTD traffic</a>, Gerald says:</p>

<blockquote>
  <p>To try to help put these numbers into perspective, this blog post
  is currently #1 on slashdot, #7 on reddit, the top page of
  del.icio.us/popular , etc; yet www.w3.org is still serving more than
  650 times as many DTDs as this blog post, according to a 10-min
  sample of the logs I just checked.</p>
</blockquote>

<p>Evidently there's software out there that makes a lot of use of the
DTDs at W3C and they fetch a new copy over the Web for each use. As
far as this software is concerned, these DTDs are just data files,
much like the timezone database your operating system uses to convert
between UTC and local times. The <a href="http://en.wikipedia.org/wiki/Zoneinfo">tz database</a>
is updated with respect to changes by various jurisdictions from time
to time and the latest version is published on the Web, but your
operating system doesn't go fetch it over the Web for each use. It
uses a cached copy.  A copy was included when your operating system
was installed and your machine checks for updates once a week or so
when it contacts the operating system vendor for security updates and
such. So why doesn't XML software do likewise?</p>

<p>It's pretty easy to put together an application out of components
in such a way that you don't even realize that it's fetching DTDs
all the time. For example, if you use <a href="http://xmlsoft.org/XSLT/">xsltproc</a> like this...</p>

<pre>$ xsltproc agendaData.xsl weekly-agenda.html &gt;,out.xml
</pre>

<p>... you might not even notice that it's fetching the DTD and several
related files. But with <a href="http://www.okisoft.co.jp/esc/python/proxy/">a tiny HTTP
proxy</a>, we can see the traffic. In one window, start the proxy:</p>

<pre>$ python TinyHTTPProxy.py 
Any clients will be served...
Serving HTTP on 0.0.0.0 port 8000 ...
</pre>

<p>And in another, run the same XSLT transformation with a proxy:</p>

<pre>$ http_proxy=http://127.0.0.1:8000 xsltproc agendaData.xsl weekly-agenda.html
</pre>

<p>Now we can see what's going on:</p>

<pre>	connect to www.w3.org:80
localhost - - [05/Sep/2008 15:35:00] "GET http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd HTTP/1.0" - -
	connect to www.w3.org:80
localhost - - [05/Sep/2008 15:35:01] "GET http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent HTTP/1.0" - -
	bye
	bye
	connect to www.w3.org:80
localhost - - [05/Sep/2008 15:35:01] "GET http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent HTTP/1.0" - -
	bye
	connect to www.w3.org:80
localhost - - [05/Sep/2008 15:35:01] "GET http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent HTTP/1.0" - -
	bye
</pre>

<p>This is the default behaviour of <tt>xsltproc</tt>, but
it's not the only choice:</p>
<ul>
  <li>You can use <tt>xsltproc --novalid</tt> tells it to skip DTDs altogether.
  </li>

  <li>You can set up an 
  <a href="http://www.oasis-open.org/committees/entity/spec.html">XML catalog</a>
  as a form of local cache.</li>
</ul>

<p>To set up this sort of cache, first grab copies of
what you need:</p>

<pre>$ mkdir xhtml1
$ cd xhtml1/
$ wget http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
--15:29:04--  http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
           =&gt; `xhtml1-transitional.dtd'
Resolving www.w3.org... 128.30.52.53, 128.30.52.52, 128.30.52.51, ...
Connecting to www.w3.org|128.30.52.53|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 32,111 (31K) [application/xml-dtd]

100%[====================================&gt;] 32,111       170.79K/s             

15:29:04 (170.65 KB/s) - `xhtml1-transitional.dtd' saved [32111/32111]
$ wget http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent
...
$ wget http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent
...
$ wget http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent
...
$ ls
xhtml1-transitional.dtd  xhtml-lat1.ent  xhtml-special.ent  xhtml-symbol.ent
</pre>

<p>And then in a file such as
<tt>xhtml-cache.xml</tt>, put a little catalog:</p>

<pre>&lt;catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"&gt;
  &lt;rewriteURI
      uriStartString="http://www.w3.org/TR/xhtml1/DTD/"
      rewritePrefix="./" /&gt;
&lt;/catalog&gt;
</pre>

<p>Then point <tt>xsltproc</tt> to the catalog file and try it again:</p>

<pre>$ export XML_CATALOG_FILES=~/xhtml1/xhtml-cache.xml
$ http_proxy=http://127.0.0.1:8000 xsltproc agendaData.xsl weekly-agenda.html
</pre>

<p>This time, the proxy won't show any traffic. The data was all
accessed from local copies.</p>

<p>While XSLT processors such as <tt>xsltproc</tt> and Xalan have no
technical dependency on the XHTML DTDs, I suspect they're used with
XHTML enough that shipping copies of the DTDs along with the XSLT
processing software is a win all around. Or perhaps the traffic comes
from the use of XSLT processors embedded in applications, and the DTDs
should be shipped with those applications. Or perhaps shipping the
DTDs with underlying operating systems makes more sense.  I'd have to
study the traffic patterns more to be sure.</p><p>p.s. I'd rather not deal with DTDs at all; newer schema technologies make them obsolete as far as I'm concerned. But<br /></p><ul><li>some systems were designed before better schema technology came along, and W3C's <a href="http://www.w3.org/Consortium/Persistence">commitment to persistence</a> applies to those systems as well, and<br /></li><li>the point I'm making here isn't specific to DTDs; catalogs work for all sorts of XML data, and the general principle of caching at install time goes beyond XML altogether.<br /></li></ul>
]]>
        
    </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>life without MIME type sniffing?</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2008/07/life_without_mime_type_sniffin.html" />
    <id>tag:www.w3.org,2008:/QA//1.205</id>
    
    <published>2008-07-07T17:19:21Z</published>
    <updated>2008-07-07T19:22:02Z</updated>
    
    <summary type="html"> In a recent item on IE8 Security, Eric Lawrence, Security Program Manager for Internet Explorer, introduced a work-around to the security risks associated with content-type sniffing: an authoritative=true parameter on the Content-Type header in HTTP. This re-started discussion of...</summary>
    <author>
        <name>Dan Connolly</name>
        <uri>http://www.w3.org/People/Connolly/</uri>
    </author>
    
        <category term="Bugs Life" />
    
        <category term="HTML" />
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>
In a recent <a href="http://blogs.msdn.com/ie/archive/2008/07/02/ie8-security-part-v-comprehensive-protection.aspx">item on IE8 Security</a>, Eric Lawrence, Security Program Manager for Internet Explorer, introduced a work-around to the security risks associated with content-type sniffing: an <b>authoritative=true</b> parameter on the <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type header in HTTP</a>. This re-started discussion of the <a href="http://www.w3.org/TR/html5/history.html#content-type-sniffing">content-type sniffing rules</a> and the <a href="http://www.w3.org/TR/html-design-principles/#support-existing-content">Support Existing Content</a> design principle of HTML 5. In response to a <a href="http://lists.w3.org/Archives/Public/public-html/2008Jul/0055.html">challenge</a> asking for evidence that supporting existing content requires sniffing,<span id="from"></span> Adam made a<a href="http://lists.w3.org/Archives/Public/public-html/2008Jul/0057.html"> suggestion</a> that I'd like to pass along:</p>

<blockquote>
I encourage you to build a copy of Firefox without content sniffing
and try surfing the web.  I tried this for a while, and I remember
there being a lot of broken sites ...</blockquote>
<p>
That reminded me of an idea I heard in <a href="http://www.w3.org/2001/tag/2007/09/13-tagmem-minutes#item09">TAG discussions of MIME types and error recovery</a>: a browser mode for "This is my content, show me problems rather
    than fixing them for me silently."
</p>
<p>
Though Adam offered a <a href="http://lists.w3.org/Archives/Public/public-html/2008Jul/0061.html">patch</a>, building firefox is not something I have mastered yet, so I'm interested to learn about run-time configuration options in IE (<a href="http://lists.w3.org/Archives/Public/public-html/2008Jul/0060.html">notes Julian</a>) and Opera (<a href="http://lists.w3.org/Archives/Public/public-html/2008Jul/0066.html">notes Michael</a>). Eric Lawrence's <a href="http://lists.w3.org/Archives/Public/public-html/2008Jul/0088.html">reply</a> points out:</p>
<blockquote>
Please do keep in mind, however, that most folks (even the ultra-web engaged on these lists) see but a small fraction of the web, especially considering private address space/intranets, etc.</blockquote>
<p>
A <a href="http://lists.w3.org/Archives/Public/public-html/2008Jul/0101.html">report</a> from one developer suggests there's light at the end of the tunnel, at least for sniffing associated with feeds:</p>
<blockquote>I did, partly as an experiment, stop sniffing text/plain in the latest release of SimplePie (which, inevitably, isn't the  nicest of things to do, seeming there are tens of thousands of users).  Next to nothing broke. I know for a fact this couldn't have been done  a year or two ago: things have certainly moved on in terms of the MIME  types feeds are served with ...
</blockquote>
<p>
If you get a chance to try life without MIME type sniffing, please let us know how it goes.</p>
]]>
        
    </content>
</entry>

<entry>
    <title>Syntax for ARIA: Cost-benefit analysis</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2008/05/syntax_for_aria_costbenefit_an.html" />
    <id>tag:www.w3.org,2008:/QA//1.177</id>
    
    <published>2008-05-07T16:15:25Z</published>
    <updated>2008-05-12T10:55:57Z</updated>
    
    <summary type="html">The ARIA spec. defines roles, states and properties to manage the interface
between rich web documents and assistive technologies.  The primary expression
of roles, states and properties in markup languages is via attributes.  ARIA has to specify how its vocabulary of attributes and values can be
integrated into both existing and future languages.  This analysis assesses alternative approaches to ARIA syntax.</summary>
    <author>
        <name>Henry S. Thompson</name>
        
    </author>
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[ <div style="text-align: center">
  <h1>Syntax for ARIA: Cost-benefit analysis</h1>
  <div class="byline" style="font-size: 120%">Henry S. Thompson</div>
  <div class="byline" style="font-size: 120%">7 May 2008</div>
 </div>
 <div class="toc"><h1 style="font-size: 140%; margin-bottom:
	0em">Table of Contents</h1><ul class="naked" style="margin-top: 1ex"><li
	  style="list-style-type: none"><h2 style="font-size: 120%; margin-top: 0em; margin-bottom: 0em">1.  <a href="#intro">Introduction</a></h2></li><li style="list-style-type: none"><h2 style="font-size: 120%; margin-top: 0em; margin-bottom: 0em">2.  <a href="#issue">The core issue: How should the ARIA attributes be spelled?</a></h2></li><li style="list-style-type: none"><h2 style="font-size: 120%; margin-top: 0em; margin-bottom: 0em">3.  <a href="#approaches">Possible approaches: land-grab, colon or dash</a></h2></li><li style="list-style-type: none"><h2 style="font-size: 120%; margin-top: 0em; margin-bottom: 0em">4.  <a href="#sq">The <i>status quo</i>: languages and implementations</a></h2></li><li style="list-style-type: none"><h2 style="font-size: 120%; margin-top: 0em; margin-bottom: 0em">5.  <a href="#future">The near future</a></h2></li><li style="list-style-type: none"><h4 style="font-size: 100%; margin-top: 0em; margin-bottom: 0em; margin-left: 1em">5.1.  <a href="#html5">HTML5</a></h4></li><li style="list-style-type: none"><h2 style="font-size: 120%; margin-top: 0em; margin-bottom: 0em">6.  <a href="#analysis">Cost-benefit analysis</a></h2></li><li style="list-style-type: none"><h4 style="font-size: 100%; margin-top: 0em; margin-bottom: 0em; margin-left: 1em">6.1.  <a href="#impl">Implementation cost</a></h4></li><li style="list-style-type: none"><h4 style="font-size: 100%; margin-top: 0em; margin-bottom: 0em; margin-left: 1em">6.2.  <a href="#svg">XML extensibility and SVG</a></h4></li><li style="list-style-type: none"><h4 style="font-size: 100%; margin-top: 0em; margin-bottom: 0em; margin-left: 1em">6.3.  <a href="#time">Short- vs. long-range considerations</a></h4></li></ul></div><div id="intro">
   <h2>1.  <a name="intro">Introduction</a></h2>
   <p style="width: 20%; float: right; clear: right"><small><i>This analysis is intended to be neutral with respect to ideology,
history and constituency.  For a useful overview of how we got here, see <a href="http://www.w3.org/2008/03/aria-implementation.html">WAI-ARIA Implementation Concerns (member-only link)</a> by Michael Cooper.</i></small></p>
   <p>The W3C's <a href="http://www.w3.org/WAI/PF/">WAI PF</a> Working Group recently published the first
public working draft of the <a href="http://www.w3.org/TR/wai-aria/">Accessible Rich Internet Applications (WAI-ARIA)</a> specification, which "describes mappings of user interface controls and navigation to accessibility APIs".</p>
   <p>The ARIA spec. defines roles, states and properties to manage the interface
between rich web documents and assistive technologies.  The primary expression
of roles, states and properties in markup languages is via attributes.  Since
ARIA is meant to augment web applications across a range of languages and user
agents, ARIA has to specify how its vocabulary of attributes and values can be
integrated into both existing and future languages.</p>
   <p>In preparing this analysis, I have reviewed the available concrete evidence
bearing on the matter, and have carried out a considerable amount of work to
replicate and, in some cases, correct or extend, testing which has been done in the
past.  The details are available <a href="http://www.w3.org/XML/2008/04/ARIA-Testing/">in a report entitled <i>Some test results concerning ARIA attribute syntax</i></a>.</p>
  </div><div id="issue">
   <h2>2.  <a name="issue">The core issue: How should the ARIA attributes be spelled?</a></h2>
   <p>ARIA is useful only if it is widely supported.  It therefore needs to
integrate cleanly into existing and future languages as easily as possible.  Before looking at possible answers to the spelling question, we need to consider
exactly what supporting ARIA means.</p>
   <p>We can distinguish two levels of support for ARIA on the part of user
agents, which I'll call 'passive' and 'active' support.  By passive support, I
mean that documents with ARIA-conformant markup are not rejected by the agent,
and the markup is available in the same way any other markup is, e.g. via a DOM
API or for matching by CSS selectors.  By 'active' support 
I mean the user agents actually implement their part of ARIA semantics, that is, reflecting changes to ARIA-defined states and properties via
accessibility APIs.</p>
   <p>Although already deployed implementations cannot offer active support, an
optimal answer to the spelling question would maximise passive support from
existing languages, as well as encouraging active support from subsequent implementations.</p>
  </div><div id="approaches">
   <h2>3.  <a name="approaches">Possible approaches: land-grab, colon or dash</a></h2>
   <p>There are in principle three possible approachs to the spelling question:</p>
   <ul class="naked">
    <li style="list-style-type: none"><b>land-grab</b>&nbsp;&nbsp;Just use 'role' and the names of the properties (e.g.
'checked', 'hidden') as attribute names.</li>
    <li style="list-style-type: none"><b>colon</b>&nbsp;&nbsp;Use 'aria:' as a distinguishing prefix, giving e.g. 'aria:role',
'aria:checked' as attribute names.</li>
    <li style="list-style-type: none"><b>dash</b>&nbsp;&nbsp;Use 'aria' plus some other punctuation character, e.g.
dash, as a distinguishing prefix, giving e.g. 'aria-role',
'aria-checked' as attribute names.</li>
   </ul>
   <p>The <b>land-grab</b> approach is pretty clearly unacceptable, because
of clashes with existing vocabularies and the likelihood
of clashes with future ones, and will not be considered further.</p>
   <p>The <a href="http://www.w3.org/TR/2008/WD-wai-aria-20080204/">current
ARIA WD</a> specifies a combination of the <b>colon</b> and
<b>dash</b> approachs, with the <b>colon</b> being specified for use
with XML-based
languages, with the necessary additional requirement that 'aria' is bound to
the ARIA namespace in the usual way, i.e.
<code>xmlns:aria="http://www.w3.org/2005/07/aaa"</code>, and the
<b>dash</b> approach being specified for use with non-XML languages.  We'll
call this the <b>mixed</b> approach hereafter.</p>
   <p>My understanding is that as of the date of this note, the WAI PF working
group have indicated that their intention is that the <i>next</i> draft of
the ARIA specs will move to the <b>dash</b> appropach.</p>
  </div><div id="sq">
   <h2>4.  <a name="sq">The <i>status quo</i>: languages and implementations</a></h2>
   <p>Choosing an approach is made complicated by the landscape of language
and infrastructure standards it has to fit in to, and by the fact that these are
moving targets. We therefor have to distinguish between what is currently
in place, what we have reason to expect in the near future, and what we can
foresee in the longer term.  Furthermore, for existing languages we have
two categories: XML-based languages, with more or less explict provision for
extensibility in general, typically namespace-based, and non-XML languages,
which for the purposes of this analysis we will take to be HTML 4.01 and nothing else.</p>
  <p>As noted above, the best we can expect from deployed user agents is passive
support.  The table below sets out the extent of passive support which is
available for the <b>colon</b> and <b>dash</b> approaches for each
of three host languages, which exemplify the major relevant categories: HTML
4.01 (for the non-XML languages), XHTML (an XML language, but not always treated
as such, so we actually get two columns for it below) and SVG (only an XML language).</p> 
   <table style="border-collapse: collapse; border-top: hidden;
	border-left: hidden; border-right: hidden">
    <thead>
     <tr style="border: solid; border-color: gray">
     <th><a name="table">Passive</a><br/>support</th>
     <th>HTML 4.01</th>
     <th>XHTML<br/>(as if HTML)<sup>0</sup></th>
     <th>XHTML<br/>(as XML)</th>
     <th>SVG</th>
     </tr>
    </thead>
    <tbody>
     <tr style="border: solid; border-color: #ddd">
      <td><b>Allowed<br/>at all</b></td>
      <td>
       <b>colon</b>: Yes, by 'should ignore' advice<br/>
       <b>dash</b>: Yes, by 'should ignore' advice
      </td>
      <td>
       <b>colon</b>: Yes, by 'should ignore' advice<br/>
       <b>dash</b>: Yes, by 'should ignore' advice
      </td>
      <td><b>colon</b>: Yes, by 'must ignore' rule<br/>
       <b>dash</b>:  Yes, by 'must ignore' rule</td>
      <td><b>colon</b>: Yes, by 'must ignore' rule<br/>
       <b>dash</b>: In principle,no<br/>in practice<sup>1</sup>, yes</td>
     </tr>
     <tr style="border: solid; border-color: #ddd">
      <td><b>Available<br/>via DOM</b></td>
      <td><b>colon</b>: Yes, via GetAttribute<br/>
       <b>dash</b>: Yes, via GetAttribute</td>
      <td><b>colon</b>: Yes, via GetAttribute<br/>
       <b>dash</b>: Yes, via GetAttribute</td>
      <td><b>colon</b>: Yes<sup>2</sup>, via GetAttributeNS and GetAttribute<br/>
       <b>dash</b>: Yes<sup>2</sup>, via GetAttribute</td>
      <td><b>colon</b>: Yes<sup>3</sup>, via GetAttributeNS and GetAttribute<br/>
       <b>dash</b>: Yes<sup>3</sup>, via GetAttribute</td>
     </tr>
     <tr style="border: solid; border-color: gray">
      <td><b>Matches<br/>CSS selector</b></td> 
      <td><b>colon</b>: Yes<sup>4</sup>, using <code>[aria\:attr]</code><br/>
       <b>dash</b>: Yes<sup>5</sup></td>
      <td><b>colon</b>: Yes<sup>4</sup>, using <code>[aria\:attr]</code><br/>
       <b>dash</b>: Yes<sup>5</sup></td>
      <td><b>colon</b>: Yes, using <code>[aria|attr]</code><br/>
       <b>dash</b>: Yes<sup>5</sup></td>
      <td><b>colon</b>: No<br/>
       <b>dash</b>: No</td>
     </tr>
    </tbody>
   </table>
   <p>Notes:</p>
   <ul class="naked">
    <li style="list-style-type: none"><b>0</b>&nbsp;&nbsp;This column applies to the IE family, and to other browsers
whenever treating XHTML as HTML</li>
    <li style="list-style-type: none"><b>1</b>&nbsp;&nbsp;Firefox 2.0.0.14, IE7 + Adobe 3.03 SVG plugin</li>
    <li style="list-style-type: none"><b>2</b>&nbsp;&nbsp;All browsers which treat XHTML as XML</li>
    <li style="list-style-type: none"><b>3</b>&nbsp;&nbsp;Firefox 2.0.0.14 (unable to test IE+plugin so far)</li>
    <li style="list-style-type: none"><b>4</b>&nbsp;&nbsp;<a name="fn4">Except IE family</a></li>
    <li style="list-style-type: none"><b>5</b>&nbsp;&nbsp;If attribute selectors supported at all, i.e. not IE5, IE6</li>
   </ul>
   <p>It should be noted that some of the entries above disagree with assertions
made in the past about browser behaviour.  At least some of those assertions
were based on flawed test materials---see <a href="http://www.w3.org/XML/2008/04/ARIA-Testing/#three">the discussion
of experiments 1 and 2</a> in my testing report for details on the information
summarised above.</p>
  </div><div id="future">
   <h2>5.  <a name="future">The near future</a></h2>
   <p>A number of browser implementors have responded positively to the ARIA
initiative and have included experimental active support for ARIA in pre-release
versions of their products.  Most of the test materials and implementation
information I can find suggests that only the <b>dash</b> approach, and only
HTML or XHTML, are currently being implemented.</p>
   <p>With regard to improving passive support, it seems very possible that
IE8 will support attribute selectors of the form <code>[aaa\:checked]</code>,
which would remove the qualification recorded in the table above by footnote <a href="#fn4">4</a>.</p>
   <div id="html5">
    <h4>5.1.  <a name="html5">HTML5</a></h4>
    <p>The situation with respect to HTML5 is complicated.  As it
currently stands, the <a href="http://www.w3.org/TR/html5/">HTML5 draft
specification</a> supports namespaces internally, and all HTML elements are
parsed into the DOM nodes in the HTML namespace, regardless of whether they are
parsed "as HTML" or "as XML".  But when parsing documents "as HTML", no
<i>other</i> namespaces are recognised.  Unless this changes before HTML5
is completed, the HTML/"XHTML (as if HTML)" columns above will apply to
HTML5-conformant user agents in at least some cases.</p>
   </div>
  </div><div id="analysis">
   <h2>6.  <a name="analysis">Cost-benefit analysis</a></h2>
   <p>On the basis of the above survey, there follows below an attempt at a
cost-benefit analysis with respect to the <b>colon</b> and
<b>dash</b> approaches, as well as the <b>mixed</b>
approach as currently specced in the ARIA working draft and a fourth approach, as proposed by me in
<a href="http://lists.w3.org/Archives/Public/www-tag/2008Apr/0229.html">a
message to www-tag</a>, which I'll call the <b>xcolon</b> approach. 
The <b>xcolon</b> approach attempts to address some of the problems
revealed in <a href="#table">the passive support table</a> by defining a 
pair of getter/setter Javascript functions for access to ARIA information in the
DOM, and giving a design pattern for duplicated CSS selectors (one using
<code>[aria\:xxx]</code> and the other <code>[aria|xxx]</code>).</p>
   <table style="border-collapse: collapse; border-top: hidden;
	border-left: hidden; border-right: hidden">
    <thead>
     <tr style="border: solid; border-color: gray">
     <th><a name="costBenefitTable"/></th>
     <th>Benefits</th>
     <th>Costs</th>
     </tr>
    </thead>
    <tbody>
     <tr style="border: solid; border-color: #ddd">
      <td><b>colon</b></td>
      <td>Consistency for page authors; Uniform DOM access (using
Get/SetAttribute); Orthogonal in XML languages; consistent with
namespace-based
extensibility for XML (and for HTML5?<sup>1</sup>)</td>
      <td>Uniform DOM access ignores namespace<sup>2</sup>; no uniform CSS selector; no CSS selector at all
for IE legacy<sup>3</sup>; modest re-implementation cost<sup>4</sup></td>
     </tr>
     <tr style="border: solid; border-color: #ddd">
      <td><b>dash</b></td>
      <td>Consistency for page authors; uniform DOM access; uniform CSS selector</td>
      <td>Inconsistent with XML namespace-based extensibility<sup>5</sup>; new paradigm for
'namespace'<sup>6</sup>; scope creep<sup>7</sup></td>
     </tr>
     <tr style="border: solid; border-color: #ddd">
      <td><b>mixed</b></td>
      <td>Orthogonal in XML languages; consistent with namespace-based
extensibility for XML (and for HTML5?<sup>1</sup>)</td>
      <td>Confusing for authors; no uniform DOM access; no uniform CSS selector; uncertainty wrt XHTML; new paradigm for
'namespace'<sup>6</sup>; scope creep<sup>7</sup></td>
     </tr>
     <tr style="border: solid; border-color: gray">
      <td><b>xcolon</b></td>
      <td>Consistency for page authors; orthogonal for XML languages; consistent with
namespace-based
extensibility for XML (and for HTML5?<sup>1</sup>); uniform DOM access; uniform CSS selector</td>
      <td>Requires indirection through accessor functions for DOM access;
requires duplicate CSS selectors; no uniform DOM representation; no CSS selector at all
for IE legacy<sup>3</sup>; modest re-implementation cost<sup>4</sup></td>
     </tr>
    </tbody>
   </table>
   <ul class="naked">
    <li style="list-style-type: none"><b>1</b>&nbsp;&nbsp;HTML5's provision for extensibility, whether compatible with
XML namespaces or not, is an open area of discussion at the moment.</li>
    <li style="list-style-type: none"><b>2</b>&nbsp;&nbsp;That is, it requires the use of a fixed <code>aria</code> prefix
and may not (i.e. in some browsers) correctly set the <code>namespaceURI</code>
property even when targetting an XML DOM.</li>
    <li style="list-style-type: none"><b>3</b>&nbsp;&nbsp;That is, in the IE family, only (putatively) IE8 and successors
will recognize <code>[aria\:...]</code> selectors</li>
    <li style="list-style-type: none"><b>4</b>&nbsp;&nbsp;See <a href="#impl">discussion of re-implementation cost below</a></li>
    <li style="list-style-type: none"><b>5</b>&nbsp;&nbsp;See <a href="#svg">discussion of XML extensibility below</a></li>
    <li style="list-style-type: none"><b>6</b>&nbsp;&nbsp;That is, adds the concept of a fixed, dash-delimited, prefix as
a way of managing distinct symbol spaces to the existing non-fixed, colon-delimited
prefix for the same purpose.</li>
    <li style="list-style-type: none"><b>7</b>&nbsp;&nbsp;That is, requires all embedding languages to explicitly allow
and manage an inventory of fixed prefixes and, possibly, their vocabularies.</li>
   </ul>
   <div id="impl">
    <h4>6.1.  <a name="impl">Implementation cost</a></h4>
    <p>For wholly commendable reasons, development of the ARIA spec. and pilot
implementation work have proceeded in parallel.  Most if not all existing
implementations support only the <b>dash</b> approach.  What is the likely
cost for those implementations of any decision to adopt any other approach?  My
conclusion, having examined one implementation in some detail, is that the cost is
likely to be very modest.</p>
    <p>Michael Cooper, WAI PF staff contact, captured the reason for this very
well, albeit unintentionally:</p>
    <blockquote><div>"The ARIA roles and properties are conceptually simple enough, but
they are designed to provide a bridge between HTML and desktop accessibility APIs,
a bridge which is exploited by the operating system, user agent, and assistive
technology all working together. There's a complex set of interdependencies there
and the feasibility and details of many of the ARIA features could only be worked
out by testing in deployed systems, and therefore doing early implementation."</div></blockquote>
    <p>The complexity referred to above is fundamentally one of architecture, both
static and dynamic.  Not surprisingly, therefore, syntactic concerns account for a
tiny fraction of the code needed to implement ARIA as it stands.  Furthermore, and
again not surprisingly, as it's what sound software engineering practice requires,
the <i>details</i> of the concrete syntax are isolated, and the vast bulk of
the code I looked at refers to it only indirectly.  The consequence of all this is
that the changes necessary to manage any change away from the <b>dash</b>
approach will be very straightforward.  For more details, see <a href="http://www.w3.org/XML/2008/04/ARIA-Testing/#three">the discussion
of experiment 3</a> in my testing report.</p>
   </div>
   <div id="svg">
    <h4>6.2.  <a name="svg">XML extensibility and SVG</a></h4>
    <p>Many existing XML languages make explicit, generic, provision for
extensibility by including in their formal schemas and/or spec. prose allowance for
any namespace-qualified elements and attributes from namespaces other than those
which make up the language itself.  Tools such as NVDL and, to a lesser extent, W3C
XML Schema and RelaxNG, make it possible to combine the schemas for multiple XML
languages to give a complete characterisation of mixed-language documents.</p>
    <p>One particularly important example of this approach is SVG.  ARIA
integration into SVG is clean and straightforward under the <b>colon</b> or
<b>mixed</b>
approaches, but will require amending the spec. under the <b>dash</b> approach.</p>
   </div>
   <div id="time">
    <h4>6.3.  <a name="time">Short- vs. long-range considerations</a></h4>
    <p>In trying to weigh the tradeoffs which must of necessity be considered when
confronted by the information given above, the matter of timescale is particular
hard to address.  Any assertion about how things will look five, or even two, years
hence can always be countered with a contrary assertion.  None-the-less, the
centrality of the HTML languages for the Web, and the fundamental importance of
accessibility for all of us, suggest that we <i>must</i> take the long-term
impact of this decision seriously, and be prepared to discount some short-term
discomfort in return for long-term stability and simplicity.</p>
   </div>
  </div>
]]>
        
    </content>
</entry>

<entry>
    <title>Proposed Activity for Video on the Web</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2008/04/proposed_activity_for_video_on.html" />
    <id>tag:www.w3.org,2008:/QA//1.167</id>
    
    <published>2008-04-15T15:29:20Z</published>
    <updated>2008-05-09T01:01:16Z</updated>
    
    <summary type="html">W3C organized a workshop on Video on the Web in December 2007 in order
to share current experiences and examine the technologies (see report) and is now following up with a proposal for a Video on the Web activity.</summary>
    <author>
        <name>Philippe Le Hégaret</name>
        <uri>http://www.w3.org/People/LeHegaret/</uri>
    </author>
    
        <category term="Accessibility" />
    
        <category term="HTML" />
    
        <category term="HTTP" />
    
        <category term="Semantic Web" />
    
        <category term="Technology" />
    
        <category term="Video" />
    
        <category term="W3C・QA News" />
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>
W3C organized a workshop on Video on the Web in December 2007 in order
to share current experiences and examine the technologies (see <a href='http://www.w3.org/2007/08/video/report.html'>report</a>). Online video content and demand is increasing rapidly, becoming
omnipresent on the Web and the trend will continue for at least a few
years. These rapid changes are posing challenges to the underlying
technologies and standards that support the platform-independent
creation, authoring, encoding/decoding, and description of video. To
ensure the success of video as a "first class citizen" of the Web, the
community needs to build a solid architectural foundation that enables
people to create, navigate, search, and distribute video, and to manage
digital rights.</p>

<p>The general scope of the <a href='http://www.w3.org/2008/01/video-activity.html'>proposed Video on the Web activity</a> is to
provide cohesion in the video related activities of W3C, as well helping
other W3C Groups in their effort to provide video functionalities. In
addition, this activity will focus at implementing the next steps from
the W3C workshop on Video on the Web. The proposal is to create 3 new Working Groups around Video on the Web. Please, have a look at the following documents:
</p>
<ol>
<li><a href='http://www.w3.org/2008/01/video-activity.html'>Activity proposal</a></li>
  <li><a href='http://www.w3.org/2008/01/media-fragments-wg.html'>Media Fragments Working Group Charter</a></li>
<li><a href='http://www.w3.org/2008/01/media-guidelines-wg.html'>Media Best Practices and Guidelines Working Group Charter</a></li>
<li><a href='http://www.w3.org/2008/01/media-annotations-wg.html'>Media Annotations Working Group Charter</a></li>
</ol>

<p>We welcome general feedback, general expressions of interest (or lack of!) and
comments on the discussion list  <a href='mailto:public-video-comments&#x40;&#0119;&#0051;&#0046;&#0111;&#0114;&#0103;'>public-video-comments@w3.org</a>.</p>

<p>If you should have questions or need further information, please feel free to
contact me as well. I will be presenting the activity proposal during the Web Conference next week, on <a href='http://www.w3.org/2008/04/w3c-track.html#thu'>Thursday afternoon</a>.</p>

]]>
        
    </content>
</entry>

<entry>
    <title>Simple things make firm foundations</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2008/01/modularity.html" />
    <id>tag:www.w3.org,2008:/QA//1.139</id>
    
    <published>2008-01-18T15:39:46Z</published>
    <updated>2008-01-18T15:53:34Z</updated>
    
    <summary type="html">You can look at the development of web technology in many ways, but one way is as a major software project. In software projects, the independence of specs, has always been really important, I have felt. A classic example is...</summary>
    <author>
        <name>Tim Berners-Lee</name>
        <uri>http://www.w3.org/People/Berners-Lee/</uri>
    </author>
    
        <category term="HTML" />
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>You can look at the development of web technology in many ways, but one
way is as a major software project. In software projects, the <a
href="/TR/webarch/#orthogonal-specs">independence of specs</a>, has always been really important, <a
href="/DesignIssues/Principles#Modular">I have felt</a>. A classic example is
the independence of the HTTP and HTML specifications: you can introduce many
forms of new markup language to the web through the MIME Content-Type system,
without changing HTTP at all.</p>

<p>The modularity of HTML itself has been discussed recently, for example by
Ian Hickson, co-Editor of 
<a href="/html/wg/html5/">HTML5</a>:</p>

<blockquote>
  <p>Note that it really isn't that easy. For example, the HTML parsing rules
  are deeply integrated with the handling of &lt;script&gt; elements, due to
  document.write(), and also are deeply integrated with the definition of
  innerHTML. Scripting, in turn, is deeply related to the concept of
  scripting contexts, which depends directly on the definition of the Window
  object and browsing contexts, which, in turn, are deeply linked with
  session history and the History object (which depends on the Location
  object) and with arbitrary browsing context navigation (which is related to
  hyperlinks and image maps) and its related algorithms (namely content
  sniffing and encoding detection, which, to complete the circle, is part of
  the HTML parsing algorithm). - <a
  href="http://lists.w3.org/Archives/Public/public-html/2007JanMar/0096.html"><em>Brainstorming
  test cases, issues and goals, etc.</em>,</a> Ian Hickson</p>
</blockquote>

<p>and in reply by Laurens Holst:</p>

<blockquote>
  <p>I don't know the spec well enough to answer that question, but I'd
  say modularization (if I may call it so) would make it both easier to grasp
  as individual chunks, for both the reviewing process and the implementing
  process. <a
  href="http://lists.w3.org/Archives/Public/public-html/2007JanMar/0100.html"><em>brainstorming:
  test cases, issues, goals, etc.</em></a>. - Laurens Holst</p>
</blockquote>

<p>The &lt;canvas&gt; element introduces a complex 
<a href="/html/wg/html5/#the-2d">2D drawing API</a>
different in nature from the other interfaces, which concentrate on
setting and retrieving values in the markup itself; the <a
href="/html/wg/html5/#sql">client-side database storage</a> section
of the specification is another such interface. While the

&lt;canvas&gt; element has a place in the specification, the drawing
API should be defined in a separate document. Hixie <a
href="/2002/09/wbs/40318/tactics-gapi-canvas/results#xq3">expressed</a>
a similar sentiment (and see the group's <a
href="/html/wg/tracker/products/2">issues about scope</a>):</p>

<blockquote>
  <p>The actual 2D graphics context APIs probably should be split out
  on the long term, like many other parts of the spec. On the short
  term, if anyone actually is willing to edit this as a separate spec,
  there are much higher priority items that need splitting out and
  editing...</p>
</blockquote>

<p>It would also be nice if the &lt;canvas&gt;

element and the SVG elements which embed in HTML did so in just the
same way, in terms of the context (style, etc.) which is passed (or not passed)
across the interface, in terms of the things an implementer has to learn
about, and things which users have to learn about. So that &lt;canvas&gt; and
SVG can be perhaps extended to include say 3D virtual reality later, and
so that all of these can be plugged into other languages just as they are
plugged into HTML.</p>

<p>There are lots of reasons for modularity. The basic one is that one module
can evolve or be replaced without affecting the others. If the interfaces are
clean, and there are no side effects, then a developer can redesign a module
without having to deeply understand the neighboring modules. </p>

<p>It is the independence of the technology which is important. This doesn't,
of course, have to directly align with the boundaries of documents, but
equally obviously it makes sense to have the different technologies in
different documents so that they can be reviewed, edited, and implemented by
different people. </p>

<p>The web architecture should not be seen as a finished product, not as the
final application. We must design for new applications to be built on top of
it. There will be more modules to come, which we cannot imagine now. The
Internet transport layer folks might regard the Web as an application of the
Net, as it is, but always the Web design should be to make a continuing
series of platforms each based on the last. This works well when each layer
provides a simple interface to the next. The IP is simple, and so TCP can be
powerfully built on top of it. The TCP layer has a simple byte stream
interface, and so powerful; protocols like HTTP can be built on top of it.
The HTTP layer provides, basically, a simple mapping of URIs to
representations: data and the metadata you need to interpret it. That
mapping, which is the core of Web architecture, provides a simple interface
on top of which a variety of systems -- hypertext, data, scripting and so on
-- can be built.</p>

<p>So we should always be looking to make a clean system with an interface
ready to be used by a system which hasn't yet been invented. We should expect
there to be many developers to come who will want to use the platform without
looking under the hood. Clean interfaces give you invariants, which
developers use as foundations of the next layer. Messy interfaces introduce
complexity which we may later regret.</p>

<p>Let us try, as we make new technology, or plan a path for old technology,
always to keep things as clean as we can. </p>
]]>
        
    </content>
</entry>

<entry>
    <title>Version Identifiers Reconsidered</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2007/12/version_identifiers_reconsider.html" />
    <id>tag:www.w3.org,2007:/QA//1.127</id>
    
    <published>2007-12-18T18:10:15Z</published>
    <updated>2008-01-09T13:08:37Z</updated>
    
    <summary type="html">The Architecture of the World Wide Web includes a section on extensibility and versioning of languages and data formats.  The TAG is having second thoughts about the suggestion that all data formats SHOULD provide for version identification.  Sometimes it is a good thing to do, but sometimes not. </summary>
    <author>
        <name>Noah Mendelsohn</name>
        
    </author>
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>
The <a href="http://www.w3.org/TR/webarch/">Architecture of the World Wide Web</a> includes a <a href="http://www.w3.org/TR/webarch/#ext-version">section</a> on extensibility and versioning of languages and data formats.  Quoting from the architecture document:</p>
<div style="border: solid #bebebe 1px; margin: 2em 1em 1em 2em;">
<p><a name="quotedPractice" id="quotedPractice"></a> <span style="margin: 1.5em 0.5em 1em 1em; font-weight: bold; font-style: italic; background: #dfffff; position: relative; padding: 0 0.5em;  top: -1.5em;" >Good practice: <a name="pr-version-info" id="pr-version-info" shape="rect">Version information</a></span></p>
<p style=" margin: 1.5em 0.5em 1em 1em; position: relative; top: -2em;
   padding: 0; margin: 1.5em 0.5em -1em 1em;"><a name="p220" id="p220"></a> A data format specification SHOULD provide for version information.
</p>
</div>
<p>
So, it's always a good idea when you design a language or data format to provide a way for instance documents to include something like a version attribute, probably near the beginning of the document, to indicate what version of the language is being used.  </p>
<p>
Or is it always a good idea?</p>
<p><strong>What does a version identifier convey?</strong></p>
<p>
In fact, do we even agree on what it means to put something like a language version marker on a document?   Let's imagine a simple XML language designed for setting down recipes.  In the first version of the language, the markup looks like this:</p>
<pre><code>
&lt;recipe name="Tuna Salad" <strong>recipeLanguageVersion="1.0"></strong>
  &lt;ingredients>
    &lt;ingredient name="Tuna Fish"  amount="1 can"/>
    &lt;ingredient name="Mayonnaise" amount="3 tablespoons"/>
    &lt;ingredient name="Capers" amount="a few"/>
  &lt;/ingredients>
  &lt;steps>
    &lt;step>Open can&lt;/step>
    &lt;step>Drain liquid from can.  Put fish in bowl.&lt;/step>
    &lt;step>Add mayonnaise.  Stir well.&lt;/step>
    &lt;step>Add capers.  Stir gently.&lt;/step>
  &lt;/steps>
&lt;/recipe>
</code></pre>
<p>
The allowed markup in version 1.0 of the recipe is just what's shown above: an outer &lt;recipe> containing &lt;ingredients> and &lt;steps>, etc.
Eventually it's decided that it would be useful to provide optional pictures for ingredients or steps.  So in version 2 of the language we can do things like:</p>
<pre><code>
&lt;recipe name="Tuna Salad" <strong>recipeLanguageVersion="2.0"</strong>>
  &lt;ingredients>
    &lt;ingredient name="Tuna Fish"  amount="1 can"
                <strong>picture="./CanPicture.jpg"</strong>/>
    &lt;ingredient name="Mayonnaise" amount="3 tablespoons"/>
    &lt;ingredient name="Capers" amount="a few"/>
  &lt;/ingredients>
  &lt;steps>
    &lt;step>Open can&lt;/step>
    &lt;step <strong>picture="./DrainCanPicture.jpg"</strong>>
           Drain liquid from can.  Put fish in bowl.&lt;/step>
    &lt;step>Add mayonnaise.  Stir well.&lt;/step>
    &lt;step>Add capers.  Stir gently.&lt;/step>
  &lt;/steps>
&lt;/recipe>
</code></pre>
<p>
Question: let's imagine that version 2 of the language, the one that supports the optional pictures, has been out for awhile, but I still want to write a simple recipe with no pictures:</p>
<pre><code>
&lt;recipe name="ice cubes" <strong>recipeLanguageVersion="??"</strong>>
  &lt;ingredients>
    &lt;ingredient name="water"  amount="1.5 cups"
  &lt;/ingredients>
  &lt;steps>
    &lt;step>Put water into ice cube tray.&lt;/step>
    &lt;step>Freeze.&lt;/step>
  &lt;/steps>
&lt;/recipe>
</code></pre>
<p>
What's the best value to put in the version attribute?  I know that version 2.0 is the latest version of the recipe language.  In fact, that's the only version of the specification I have next to me, so maybe I should use that?
There's a problem, though.  That <code>version="2.0"</code> marker might not work with software that's written to version 1.0, and in fact, my document would otherwise be a fine 1.0 recipe document.</p>
<p>
So, maybe I should label it 1.0?  Unfortunately, that's a bit hard for me.  I don't want to have to go through the specifications for every version of the recipe language that's ever existed just to find the oldest that works. I really don't want to do that if the language has been revised a lot!  Also, these sample recipes are small, but if I were using software to write very long documents, then that software would either have to keep track of the latest features used, or else search the entire document before writing it to a file, in order to get that version identifier at the front.
</p>
<p>Indeed, just these complexities have proven troublesome for the deployment of
languages like XML 1.1.  XML 1.1 is similar to XML 1.0, but it enables the use of some new Unicode characters (just as recipe language V2 allows for use of new image tags.)
The <a href="http://www.w3.org/TR/xml11/">XML 1.1</a> Recommendation suggests that:</p>
<blockquote>
<p>
XML Programs which generate XML SHOULD generate XML 1.0, unless one of the specific features of XML 1.1 is required.</p>
</blockquote>
<p>
In fact, it has often proven difficult to write software that generates documents labeled as XML 1.1 only when necessary:  it's much easier for XML 1.1-compatible software to label all output as <code>&lt;xml version="1.1"></code>, resulting in documents that are unusable with widely deployed XML 1.0 software.
Perhaps for reasons like this, adoption of XML 1.1 has been slow.</p>
<p>
Returning to the recipe example, maybe the version attribute should take a list of versions, and I should put in both 1.0 and 2.0?  That could be helpful to consuming software, but it still means that I (or my software) must be familiar with all the previous versions of the specification.</p>
<p>
So, we need to ask, is the version identifier used to convey:</p>
<ul>
<li>The earliest version of the language with which the document is compatible (1.0 in the recipe example)?</li>
<li>The version of the specification I used as a guide when writing the document (2.0)?</li>
<li>A list of versions with which the document is compatible?</li>
<li>Something else?</li>
</ul>
<p>
The best answer is probably different depending on the language, how often it's revised, whether revisions tend to maintain backwards compatibility, etc.</p>
<p><strong>Is having some sort of version identifier always a good idea?</strong></p>
<p>
That Good Practice Note quoted above says "provide a version indicator", but we've just shown that we're not always quite clear on what that would do anyway.  Is it still good advice to suggest that surely each language should provide for  <i>something</i> in the instance?  If so, should its use be required or optional?</p>
<p>
As shown above, it's common for the same instance document to be legal in many versions of a language.  
As long as such documents are likely to have the same or sufficiently compatible meanings per the different versions, then it may be better to omit any indication of version in the instance, and leave it to the receiving software to decide whether the document can be processed.  After all, with the second recipe above, the receiver will soon enough discover that it can or can't process picture attributes, and if not, it either will or won't know that they can be safely ignored.  Version attributes can be helpful in giving early warning of incompatibilities, or as a crosscheck for catching errors, but they're usually not essential to correct operation.</p>
<p>
One important exception is in the case where the language is likely to change in incompatible ways.  If the same document means different things in different versions of a language, then it's very important to indicate which version the author had in mind when creating the document.  Putting that version indicator into the document itself is one good way to do it.  So maybe the right advice is:</p>
<div style="border: solid #bebebe 1px; margin: 2em 1em 1em 2em;">
<p><a name="quotedPractice" id="quotedPractice"></a> <span style="margin: 1.5em 0.5em 1em 1em; font-weight: bold; font-style: italic; background: yellow; position: relative; padding: 0 0.5em;  top: -1.5em;" >Proposal for Future Architecture Document: <a name="pr-incompatversion" id="pr-incompatversion" shape="rect">Version information</a></span></p>
<p style=" margin: 1.5em 0.5em 1em 1em; position: relative; top: -2em;
   padding: 0; margin: 1.5em 0.5em -1em 1em;"><a name="p220" id="p220"></a>
If a language or data format will change in incompatible ways, then indicate the language version used for each instance.</p>
</div>


<p><strong>
Are namespaces a good way to identify language versions?</strong></p>
<p>
If version identifiers aren't always a good bet, what about namespaces?  Many modern languages allow the creation of globally unique names, identifiers, tags, etc.  In XML this is done through use of <a href="http://www.w3.org/TR/xml-names11/">Namespaces</a>.   In RDF, it's done by using URIs as identifiers, etc.. </p>
<p>
Sometimes it's appropriate to use new identifiers for each version of a language, and mechanisms like namespaces can make that easier:</p>
<pre><code>
	&lt;r:step xmlns:r="http://example.org/<strong>recipeLanguage1</strong>">
</code></pre>
<p>
vs.</p>
<pre><code>
	&lt;r2:step <strong>picture="./food.jpg"</strong>
                 xmlns:r2="http://example.org/<strong>recipeLanguage2</strong>">
</code></pre>
<p>
In this example, the element with expanded name <code>{http://example.org/recipeLanguage2, step}</code> allows a picture attribute, but <code>{http://example.org/recipeLanguage1, step}</code> does not.</p>
<p>
A full discussions of the pros and cons of using namespaces this way is beyond the scope of this note.  One important advantage of using namespaces is that they can be easily applied not just to the root element for the language as a whole, but to mixtures of compound document markup, in which each sublanguage evolves with its own namespaces.  Also, because namespace names are URIs, you can use the Web itself to get information about them.  </p>
<p>
Namespaces do have drawbacks.  Imagine if there were 50 different namespaces for a language just because 50 separate bugs had been fixed in different errata.  Would you republish all the markup in 50 namespaces?  Would each document have lots of namespaces, with each element named with the last namespace in which it had been revised?  Namespaces can be very useful for designating language versions, but there's no one idiom that's right for all languages.  We note that most widely deployed tag-based languages for the Web (HTML, XML Schema, XSLT) have chosen either to use the same namespace(s) across multiple versions, or in the case of some flavors of HTML, not to use namespaces at all.</p>
<p><strong>Conclusions</strong></p>
<p>
So, the TAG is having second thoughts about the suggestion that all data formats SHOULD provide for version identification.  Sometimes it's a good thing to do, but sometimes not. 
Perhaps the right advice will be what's proposed in the revised Good Practice Note above.
In any case, the TAG has been working for several years on a finding that will explore in detail many issues relating to versioning, and version attributes are likely to be among the topics covered.  In the meantime, we thought we'd take the opportunity to signal that we're not so sure that the advice in the Architecture Document is as good as we thought.  </p>
<p>
By the way, TAG member David Orchard has covered some of the same topics as well as many others relating to versioning in his personal blog.  Links to a few of his postings follow my signature below.  Dave is also the principle author of the TAG's draft finding on versioning.  Working drafts covering <a href="http://www.w3.org/2001/tag/doc/versioning">Terminology</a>, <a href="http://www.w3.org/2001/tag/doc/versioning-strategies">Strategies</a>, and <a href="http://www.w3.org/2001/tag/doc/versioning-xml">Versioning of XML Languages</a> are available for review.  New drafts come out every few months, and we're hoping to have something more or less complete, well, real soon now.</p>
<p>
Noah Mendelsohn
</p>
<p class="smallnote">
Note: unless otherwise indicated, opinions expressed in the TAG's blog are those of the individual authors, and do not necessarily represent consensus of the TAG as a whole.</p>

<p><strong>Links to Dave Orchard's Blog Postings on Versioning</strong></p>
<ul>
<li><a href="http://www.pacificspirit.com/blog/2007/04/19/what_do_version_identifiers_identify">http://www.pacificspirit.com/blog/2007/04/19/what_do_version_identifiers_identify</a></li>
<li><a href="http://www.pacificspirit.com/blog/2007/04/19/forwards_compatibility_with_version_s_requires_version_mapping">http://www.pacificspirit.com/blog/2007/04/19/forwards_compatibility_with_version_s_requires_version_mapping</a></li>
<li><a href="http://www.pacificspirit.com/blog/2007/04/20/how_to_have_multiple_namespaces_per_name">http://www.pacificspirit.com/blog/2007/04/20/how_to_have_multiple_namespaces_per_name</a></li>
<li><a href="http://www.pacificspirit.com/blog/2007/08/09/guide_to_versioning_xml_languages_using_new_xml_schema_11_features_published">http://www.pacificspirit.com/blog/2007/08/09/guide_to_versioning_xml_languages_using_new_xml_schema_11_features_published</a></li>
<li><a href="http://www.pacificspirit.com/blog/2007/09/13/when_can_language_components_be_removed_and_maintain_backwards_or_forwards_compatibility">http://www.pacificspirit.com/blog/2007/09/13/when_can_language_components_be_removed_and_maintain_backwards_or_forwards_compatibility</a></li>
<li><a href="http://www.pacificspirit.com/blog/2007/12/12/validation_by_projection_introduction">http://www.pacificspirit.com/blog/2007/12/12/validation_by_projection_introduction</a></li>
</ul>


]]>
        
    </content>
</entry>

<entry>
    <title>What comes after Web 2.0? TV Raman says: 2^W</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2007/11/what_comes_after_web_20_tv_ram.html" />
    <id>tag:www.w3.org,2007:/QA//1.107</id>
    
    <published>2007-11-15T12:53:11Z</published>
    <updated>2007-11-15T12:54:18Z</updated>
    
    <summary type="html">TPAC talk molly&apos;s item wish for mathml in HTML...</summary>
    <author>
        <name>Dan Connolly</name>
        <uri>http://www.w3.org/People/Connolly/</uri>
    </author>
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>TPAC talk<br />
molly's item<br />
wish for mathml in HTML<br />
</p>]]>
        
    </content>
</entry>

<entry>
    <title>A story about namespaces, MIME types, and URIs</title>
    <link rel="alternate" type="text/html" href="http://www.w3.org/QA/2007/11/a_story_about_namespaces_mime.html" />
    <id>tag:www.w3.org,2007:/QA//1.106</id>
    
    <published>2007-11-13T02:59:42Z</published>
    <updated>2007-12-21T10:29:06Z</updated>
    
    <summary type="html">Noone seems to know where the story begins; Ian Jacobs reminded me about magic namespaces as I enjoyed breakfast on Thursday; Steven Pemberton and Bert Bos had told it to him, perhaps prompted by Ian Hickson&apos;s question in the URI-based...</summary>
    <author>
        <name>Dan Connolly</name>
        <uri>http://www.w3.org/People/Connolly/</uri>
    </author>
    
        <category term="Web Architecture" />
    
    <content type="html" xml:lang="en" xml:base="http://www.w3.org/QA/">
        <![CDATA[<p>Noone seems to know where the story begins; Ian Jacobs reminded me about <cite>magic namespaces</cite> as I enjoyed breakfast on Thursday; Steven Pemberton and Bert Bos had told it to him, perhaps prompted by Ian Hickson's question in the <a href="http://www.w3.org/QA/2007/11/tpac-2007-uri-extensibility.html">URI-based extensibility panel</a> the day before:  <i>how do we make namespaces usable by HTML authors?</i></p><p>On Saturday, I took an <a href="http://www.w3.org/html/wg/tracker/actions/11">action</a> in the <a href="http://www.w3.org/html/wg/nov07#sat_aria">HTML Working Group discussion of ARIA</a> to write it up. Little did I know that by the time I got back to the office, Norm would have written up <i><a href="http://norman.walsh.name/2007/11/12/implNamespaces">Implicit Namespaces</a></i> for me.<br /></p><p> Thanks, Norm!<br /></p>]]>
        
    </content>
</entry>

</feed> 


