<?xml version='1.0'?>
<?xml-stylesheet type="text/xsl"
                 href="selfDescribingDocuments.xsl"?>
<!DOCTYPE spec PUBLIC "-//W3C//DTD Specification V2.6//EN" "http://www.w3.org/2002/xmlspec/dtd/2.6/xmlspec.dtd"
[
  <!-- ================================================================ -->
  <!ENTITY draft.day "03">
  <!ENTITY draft.month "12">
  <!ENTITY draft.monthname "December">
  <!ENTITY draft.year "2008">
  <!ENTITY iso6.doc.date "&draft.year;-&draft.month;-&draft.day;">
  <!ENTITY http-ident "http://www.w3.org/2001/tag/doc/selfDescribingDocuments">
]>

<spec w3c-doctype='wd' role='editors-copy'>
<header>
<title>The Self-Describing Web</title>
<w3c-designation>&http-ident;-&iso6.doc.date;</w3c-designation>
<w3c-doctype>Draft Tag Finding</w3c-doctype>
<pubdate><day>&draft.day;</day>
<month>&draft.monthname;</month>
<year>&draft.year;</year>
</pubdate>
<publoc>
<loc href='&http-ident;-&iso6.doc.date;.html'>&http-ident;-&iso6.doc.date;</loc>
</publoc>
<altlocs>
<loc href='&http-ident;-&iso6.doc.date;.xml'>XML</loc>
</altlocs>
<latestloc>
<loc href='&http-ident;.html'>&http-ident;</loc>
</latestloc>
<prevlocs>
<loc href="http://www.w3.org/2001/tag/doc/selfDescribingDocuments-2008-09-08.html">selfDescribingDocuments-2008-09-08.html</loc>, <loc href="http://www.w3.org/2001/tag/doc/selfDescribingDocuments-2008-05-12.html">selfDescribingDocuments-2008-05-12.html</loc>, <loc href="http://www.w3.org/2001/tag/doc/selfDescribingDocuments-2008-02-08.html">http://www.w3.org/2001/tag/doc/selfDescribingDocuments-2008-02-08</loc>, <loc href="http://www.w3.org/2001/tag/doc/selfDescribingDocuments-2007-05-24.html">http://www.w3.org/2001/tag/doc/selfDescribingDocuments-2007-05-24</loc>, <loc href="http://www.w3.org/2001/tag/doc/selfDescribingDocuments-2007-02-25.html">http://www.w3.org/2001/tag/doc/selfDescribingDocuments-2007-02-25</loc>
</prevlocs>
<authlist>
<author><name>Noah Mendelsohn</name>
<affiliation>IBM Corp.</affiliation>
<email href='mailto:Noah_Mendelsohn@us.ibm.com'>Noah_Mendelsohn@us.ibm.com</email></author>
</authlist>
<copyright>
<p>
<loc href='http://www.w3.org/Consortium/Legal/ipr-notice-20000612#Copyright'>Copyright</loc> &#xA9; 2006, 2007, 2008
<loc href='http://www.w3.org/'>W3C</loc><sup>&#xAE;</sup>
(<loc href='http://www.lcs.mit.edu/'>MIT</loc>,
<loc href='http://www.inria.fr/'>INRIA</loc>,
<loc href='http://www.keio.ac.jp/'>Keio</loc>),
All Rights Reserved. W3C
<loc href='http://www.w3.org/Consortium/Legal/ipr-notice-20000612#Legal_Disclaimer'>liability</loc>,
<loc href='http://www.w3.org/Consortium/Legal/ipr-notice-20000612#W3C_Trademarks'>trademark</loc>,
<loc href='http://www.w3.org/Consortium/Legal/copyright-documents-19990405'>document use</loc>, and
<loc href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>software licensing</loc>
rules apply.
</p></copyright>

<abstract>
<p>
The Web is designed to support flexible exploration of information by
human users and by automated agents. For such exploration to be
productive, information published by many different sources and for a
variety of purposes must be comprehensible to a wide range of Web client
software, and to users of that software.
</p>
<p>
HTTP and other Web technologies can be used to deploy
resource representations that are in an important sense <em>self-describing</em>: 
information about the encodings used for each representation is provided explicitly
within the representation.
Starting
with a URI, there is a standard algorithm that a user agent can apply to
retrieve and interpret such representations.
Furthermore, representations can be <em>grounded
in the Web</em>, by ensuring that specifications required to
interpret them are determined unambiguously based on the URI, and that explicit
references connect the pertinent specifications to each other.
Web-grounding reduces ambiguity as to
what has been published in the Web, and by whom.
When such
self-describing, Web-grounded resources are linked together, 
the Web as a whole can support reliable,
ad hoc discovery of information.
</p>
<p>
This finding describes how document
formats, markup conventions, attribute values, and other data formats
can be designed to facilitate the deployment of self-describing,
Web-grounded Web content.
</p>
</abstract>

<status>


<p>This document has been produced for the <loc href='/2001/tag/'>W3C
Technical Architecture Group (TAG)</loc>. It is an editor's draft that has not been approved by the TAG, and it includes revisions motivated by <loc href="http://www.w3.org/2001/tag/2008/05/20-minutes#item07">discussions</loc> held at the <loc href="http://www.w3.org/2001/tag/2008/05/19-agenda">May 2008 Face to Face Meeting of the TAG</loc> .</p>

<p><loc href='/2001/tag/findings'>Additional TAG findings</loc>, both
accepted and in draft state, may also be available. The TAG may 
incorporate this and other findings into 
future versions of the  <bibref ref='AWWW'/>.</p>

<p>Please send comments on this finding to the publicly archived TAG
mailing list <loc href='mailto:www-tag@w3.org'>www-tag@w3.org</loc>
(<loc href='http://lists.w3.org/Archives/Public/www-tag/'>archive</loc>).</p>

</status>
<pubstmt>
<p>World-Wide Web Consortium,
Draft TAG Finding, 2005.</p>
</pubstmt>
<sourcedesc>
<p>Created in electronic form.</p>
</sourcedesc>
<langusage>
<language id='EN'>English</language>
</langusage>
<revisiondesc>
<slist>
<sitem>2002-04-30: Published draft</sitem>
</slist>
</revisiondesc>
</header>
<body>


<!-- *********************************************** -->
<!--                  INTRODUCTION                   -->
<!-- *********************************************** -->
  
<div1 id='Introduction'>
<head>Introduction</head>
<p>
The World Wide Web has at least two characteristics that distinguish it from many other shared information spaces:
</p>
<olist>
<item><p>The Web is global: the documents on the Web are contributed by and accessed by a very large number of users.</p></item>
<item><p>Supporting ad-hoc exploration is a goal of the Web.  Users must therefore be able to get
useful information from documents prepared by people whom they don't know, and with whom they have not coordinated in advance.</p></item>
</olist>
<p>
The chapters below explain in more detail how the following techniques
can be used to create, deploy and access  <emph>self-describing Web resource representations</emph> that can be correctly interpreted using only widely available information:
</p>
<ulist>

<item><p>Each representation should include standard machine-readable indications, such as HTTP Content-type headers, XML encoding declarations, etc., of the
standards and conventions used to encode it.
</p></item>

<item><p>Documents used as Web resource representations should, when practical, be encoded using
widely deployed formats such as <code>text/html</code> and <code>image/jpeg</code>, and deployed using HTTP.</p></item>

<item><p>
Machine-processable specifications for interpreting new
formats should be provided on the Web,
and linked from representations that use the formats.
Examples of linkable specifications include OWL ontologies, RDDL documents, GRDDL transformations, etc.
By following links to such specifications, user agents can dynamically obtain information needed
to process new representation formats.
</p></item>

<item><p>Web resource representations should be <emph>grounded in the Web</emph>:
i.e., the specifications required for their interpretation should be discoverable by recursively following
links starting with the specification for URIs <bibref ref="URI"/>.</p></item>

<item><p>
For integration with the Semantic Web, self-describing representations should convey RDF triples,
either directly in the representation, by linking to the triples (perhaps using <code>&lt;link></code> elements in HTML or the <code>link:</code> header in HTTP), or by linking to transformations using technologies such as GRDDL.
</p></item>

<item><p>A standard HTTP-based algorithm is used to deploy, retrieve and interpret self-describing Web resource representations.</p></item>

</ulist>
<p>
Furthermore, when self-describing representations are linked together,
the Web as a whole can support reliable,
ad hoc discovery of information.
</p>
<p role="principle"><a name="PrincipleSelfDesc" id="PrincipleSelfDesc"></a>
<emph>Self-describing</emph> resources promote ad hoc discovery of information.
</p>
<p/>
<p role="practice"><a name="GPNSelfDesc" id="GPNSelfDesc"></a> 
Web resource representations should be self-describing.
</p>
<p>
The sections below discuss in more detail the
techniques needed to create self-describing
content for the Web, how to extend the Web with
new formats that are themselves self-describing,
how to publish self-describing Semantic Web data,
why it's important that interpretation of 
Web representations be grounded unambiguously 
in the core specifications of the Web,
and how a standard HTTP-based algorithm enables
users to retrieve and interpret
self-describing resource representations.
</p>
</div1>

<!-- *********************************************** -->
<!--               STANDARD HTTP ALGORITHM           -->
<!-- *********************************************** -->
  
<div1 id='algorithm'>
<head>The Web's Standard Retrieval Algorithm</head>
<p>HTTP is the most widely deployed protocol on the Web, and it is designed
to facilitate the deployment of self-describing Web resource representations.
Indeed, there is a standard algorithm that a user agent can employ
to attempt to obtain and interpret the representation of any Web resource
that is accessible using the HTTP protocol.
Consider the following example, which is representative of
many simple Web interactions:
</p>
<p>
Bob is reading a Web page which includes a link to 
<code>http://example.com/todaysnews</code>.  
Bob has had no previous contact with the owner of the referenced resource, and
his browser has not been specially configured for access to it.
The steps taken by Bob's browser when he clicks the link illustrate
a typical path through the standard  retrieval algorithm of the Web
(readers unfamiliar with the HTTP protocol may find it useful to consult
either <bibref ref="HTTP"/>, or one of the many HTTP introductions available on the Web).
Bob's browser...
</p>
<ulist>
<item><p>parses the URI and, from the <code>http:</code> at the beginning, determines that the http scheme has been used &#8212; this tells the browser that a representation retrieved using the HTTP protocol is authoritative.
</p></item>
<item><p>looks up the DNS name <bibref ref="DNS"/> <code>example.com</code> to determine the associated IP address</p></item>
<item><p>opens a TCP stream to port 80 at the IP address determined above</p></item>
<item><p>formats an HTTP GET request for resource <code>/todaysnews</code>, and sends that to the server:
</p>
<pre>
GET /todaysnews HTTP/1.1
Host: example.com
User-Agent: TAG Sample HttpClient v1.0
Accept: */*
Accept-language: en-us
</pre>
</item>
<item><p>reads this response from the server:</p>
<pre>
HTTP/1.1 200 OK
Date: Tue, 28 Aug 2007 01:49:33 GMT
Server: Apache
Content-Type: text/html; charset=utf-8

&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
&lt;head>
&lt;title>Today's news&lt;/title>
&lt;/head>
&lt;body>
&lt;h1>Today's News: Oh boy!!&lt;/h1>
[HTML FOR NEWS REPORT HERE]
&lt;/body>
&lt;/html>
</pre>
</item>
<item><p>from the status code (200) determines that the request has been successfully processed, and that a representation of the resource is available in the <code>Content-Type</code> and the <code>entity-body</code></p></item>
<item><p>inspects the returned <code>Content-Type</code> and determines that it is UTF-8 encoded <code>text/html</code>, a standard media type that the browser supports</p></item>
<item><p>passes  the <code>entity-body</code> to its HTML rendering engine, which uses
the markup in the HTML to determine the title of the page (Today's News), the rest of the document's structure, and so on &#8212; the browser presents the page to Bob</p></item>
</ulist>
<p>
Neither Bob nor his browser has any advance knowledge of the nature of the
resource or the fact that its representation is provided in HTML,
yet the browser successfully retrieves the representation,
determines its format, and renders it for him.
The link could have been to an <code>image/jpeg</code> picture, an <code>application/atom+xml</code> feed, or to a document containing  <code>application/rdf+xml</code> data.
Bob's browser could in each case determine the format.
Indeed, as Bob continues to browse the Web,
his browser is able to determine the format of each representation that is retrieved, and can determine how to present it to him.
This example shows how HTTP enables the deployment of self-describing Web resources.
</p>

<p>
Consider instead a different example, in which Bob clicks on a link to <code>ftp://example.com/todaysnews</code>.  
Although Bob's browser can easily open an FTP connection to retrieve a file,
there is no
way for the browser to reliably determine the nature of the information received.
Even if the URI were <code>ftp://example.com/todaysnews.html</code> the browser
would be guessing if it assumed that the file's contents were HTML,
since no normative specification
ensures that data from ftp URIs ending
in <code>.html</code> is in any particular format.
</p>
<p>
The Web's retrieval algorithm works best when used with the core suite of protocols and formats that are most widely deployed, and that are capable of supporting retrieval of self-describing representations.  These core technologies include: DNS, HTTP 1.1, HTML 4, XML, as well as widely deployed image formats such as image/jpeg and image/gif.  As discussed in <specref ref="RDFSection"/>, RDF, OWL and GRDDL are among the additional core technologies that enable self-describing Semantic Web content.
A flow diagram illustrating more details of the Web's
standard retrieval algorithm is
provided in <specref ref="AlgPicture"/>.</p>

<!-- ************taking this out for now (Noah 5/6/2008) **********
<p role="practice"><a name="GPNUseHTTP" id="GPNUseHTTP"></a> 
Use the HTTP protocol to deploy self-describing resources.
</p>
 ****************************************************************-->
<p>
<!-- empty paragraph to keep good practice box from messing up the indentation of the heading to follow -->
</p>
</div1>

<!-- *********************************************** -->
<!--                     USE STANDARDS               -->
<!-- *********************************************** -->

<div1 id='standards'>
<head>Use of Widely Deployed Standards and Formats</head>
<p>
Successful communication depends on the supplier and the consumer(s) of a document having a
shared understanding of the information conveyed, and that in turn requires at least some
shared assumptions about the form in which the information is represented.
The simplest way to achieve this is if the media type,
the document encoding, and any other conventions used for the
representation are standards and  are widely
deployed.

</p>

<p>
Consider Susan, who buys a new digital camera.
The software supplied with her camera uploads photos to the Web
using the widely-deployed <code>image/jpeg</code> media type,
and her Web server correctly labels served representations
with that <code>Content-Type</code>.
Millions of user agents deployed around the world are preconfigured to
display Susan's photographs and to extract metadata
such as camera settings from them.
Search engines are likely to index them in helpful ways too.
</p>
<p>
Now consider instead Mary, who buys a different camera
with software that does <emph>not</emph> use
widely deployed Web formats.
Indeed, the camera's manufacturer has invented a
new "raw" file format that takes advantage of the camera's special features.
The provided photo management software not only uses that format
locally, it also uploads photos to Mary's Web server in that same form.
Indeed, it even uploads a <loc href="http://httpd.apache.org/docs/2.2/configuring.html#htaccess">.htaccess file</loc>,
configuring the server to label served representations with the
proprietary Content-Type <code>image/x-fancyrawphotoformat</code>.
In this example, there are no outright violations of Web architecture, 
but the decision to use an uncommon, proprietary, unregistered and apparently experimental
media type is unfortunate.
No existing Web user agents recognize the <code>image/x-fancyrawphotoformat</code> media
type, search engine spiders are unlikely to extract useful information from
pictures in that format, and so on.
Unlike Susan's, which can be viewed by almost anyone, Mary's photos are
at best useful to a few people who have the proprietary software needed
to decode them.
</p>


<p role="practice"><a name="GPNWidelyDep" id="GPNWidelyDep"></a> 
Web resource representations should be published using widely deployed standards and formats.
</p>
<p>
<!-- empty paragraph to keep good practice box from messing up the indentation of the heading to follow -->
</p>
</div1>

<!-- *********************************************** -->
<!--         CREATING NEW FORMATS & STANDARDS        -->
<!-- *********************************************** -->

<div1 id='extensible'>
<head>Creating New Formats and Standards</head>
<p>The techniques described above apply in the many cases where widely
deployed media types such as <code>image/jpeg</code> are sufficient, but
the Web is used for a broad and continually growing
range of information.
No fixed set of formats and standards can fully meet the need to
encode all such information for machine processing.
Of course, ways can be found to convey almost any information using standard
media types.
An employment record, for example, can be transmitted as either <code>text/plain</code> or <code>text/html</code>.
The resulting document may be quite suitable for browsing, but it
might not facilitate automated discovery of the
employee's name, his or her date of hire, and so on.
To meet such needs, new standards must be created, e.g. for 
marking up the names and dates.
Similarly, the need may arise to use  new values for
individual fields such as <code>rel</code> attributes on HTML <code>link</code> elements (see <bibref ref="TAGIssue51"/>).   
</p>
<p>So, although the Web requires self-describing documents that 
can be understood using only widely deployed standards,
there is also
a continual need for new formats and encoding conventions.
How can new formats and encodings be deployed in a manner that
is self-describing?
The following sections explore ways of creating new formats and
encoding conventions that maximize interoperability with existing
Web infrastructure, and that can be used to create self-describing documents.
</p>

<!-- *********************************************** -->
<!--                  USE BASE LAYERS                -->
<!-- *********************************************** -->

<div2 id='stablelayers'>
<head>Use Existing URI Schemes, Protocols, and Media Types</head>
<p>
Innovations can be introduced to the Web at many different architectural layers.  For example:
</p>
<ulist>
<item><p>New URI schemes can be introduced</p></item>
<item><p>New transfer protocols can be deployed</p></item>
<item><p>New media types can be introduced</p></item>
<item><p>New namespace-qualified markup can be defined for XML</p></item>
<item><p>New RDF properties and ontologies can be defined for the Semantic Web</p></item>
</ulist>
<p>
Often, a given capability could in principle be deployed at any of several different layers.
For example, new sorts of content, such as movies, could be made available using new URI schemes and/or with new protocols, but doing so would require updating hundreds of millions of user agents, servers, proxies, and so on to understand these changes to the core mechanisms of the Web.
Usually it is preferable to leverage the existing core mechanisms of the Web, such as http-scheme URIs and the HTTP protocol, as these are widely deployed.
Indeed, one should usually leverage as many existing layers of the Web's architecture as is practical when introducing new function.
</p>
<p role="practice"><a name="GPNUseHTTP" id="GPNUseHTTP"></a> 
When extending the Web with new formats and functions, use existing URI schemes, protocols, and media types  wherever practical.
</p>
<p>
One way to do this is to use URI-based extensibility within existing media types, as described in the sections below.  
</p>
</div2>

<!-- *********************************************** -->
<!--                URI-BASED EXTENSION              -->
<!-- *********************************************** -->

<div2 id='URIbasedextension'>
<head>URI-based Extensibility</head>
<p>
Many documents, particularly those that convey machine-readable data or messages, encode
information using specifications that are
specialized to particular purposes.
Such specifications may cover details of particular data formats 
such as lists of customers or inventory records,
results of scientific
experiments, listings for television shows,
details of university course offerings, information about
molecular structures or drug tests, etc.
Because of the great variety and number of such formats and their specifications, it's not practical
to assume that even most of them will be directly implemented by typical Web user agents.
Instead, the Web provides means by which the necessary specifications
can be discovered, and to a significant degree implemented, dynamically
and automatically.
This is done by:
</p>
<ulist>
<item><p>ensuring that every specification, and
in many cases each markup tag name or data value used, 
is identified with a URI</p></item>

<item><p>ensuring that such URIs are used in the instance either directly as data values or tag names, or else to identify the encodings used</p></item>

<item><p>including in Web representations URIs that identify the specifications needed to interpret those representations
</p></item>
</ulist>
<p>
In other words, it should be possible to discover from each Web
representation the conventions used to encode it, and particularly 
in cases where
those conventions are not widely deployed, to find within the
representations links to specifications, ontologies and/or
programs necessary for
interpreting the representation.
So, just as the Web may be used to 
dynamically discover a great wealth of resources, it can
also be used to dynamically discover the specifications,
ontologies, or programs
needed to interpret the representations of those resources.
</p>
<p role="practice"><a name="GPNDynamicDesc" id="GPNDynamicDesc"></a> 
Web representations should link to 
the information needed to support automatic processing of 
those representations.
</p>
<p/>
<div3 id='ATOMSection'>
<head>Example: The Atom Syndication Format</head>
<p>The Atom Syndication Format <bibref ref="ATOM"/> is 
an XML-based format for syndicating information about blogs
and other Web resources.
ATOM entries can include <code>&lt;atom:link></code> elements such as
the following:
</p> 
<pre>
&lt;entry>
  &lt;title>An interesting picture&lt;/title>
  <strong>&lt;link <emph>rel="enclosure"</emph> type="image/jpeg" length="12345"
        href="http://example.org/interestingPic"/></strong>
    &lt;content type="xhtml" xml:lang="en"
             xml:base="http://example.org/">
      &lt;div xmlns="http://www.w3.org/1999/xhtml">
        &lt;p>&lt;[Update: Here's an interesting picture.]&lt;/p>
      &lt;/div>
    &lt;/content>
  &lt;/link>
&lt;/entry>
</pre>
<p>The link elements identify external resources, in this case an
<code>image/jpeg</code> photograph.
Furthermore, each link can carry a <code>rel</code> attribute which
specifies the relationship between the linked resource and the ATOM entry that
links it.
In the example above, the relationship is specified as <code>enclosure</code>
which, according to the ATOM specification, indicates that the linked
photograph may have been too large for inline processing with the rest
of the feed. </p>
<p>What's of interest for this finding is the fact that values of the <code>rel</code> attribute are URIs (actually <bibref ref="IRI"/>s, which are the internationalized form of URIs), or else the values can be mapped to URIs.
This means that anyone, anywhere can invent a new sort of link relationship,
can assign a URI to identify that relationship, and can use that value
in the <code>rel</code> attribute.  For example:
</p>
<pre>
&lt;entry>
  &lt;title>An interesting picture&lt;/title>
  &lt;link <strong>rel="http://example.org/SomeNewATOMRelationship"</strong>
        type="image/jpeg" length="12345"
        href="http://example.org/interestingPic"/>
    &lt;content type="xhtml" xml:lang="en"
             xml:base="http://example.org/">
      &lt;div xmlns="http://www.w3.org/1999/xhtml">
        &lt;p>&lt;[Update: Here's an interesting picture.]&lt;/p>
      &lt;/div>
    &lt;/content>
  &lt;/link>
&lt;/entry>
</pre>
<p>
Furthermore, anyone doing this can (and indeed should) provide information
about that new relationship via HTTP from the assigned URI.
For convenience, the ATOM specification also provides that short form names such as <code>enclosure</code> in the first example can be registered with IANA, 
and ATOM provides a deterministic mapping to a URI for each of these.
These URIs are formed by prepending the fixed base URI <code>http://www.iana.org/assignments/relation/</code> to the short form.
Thus, the first example above is in fact using the relationship <code>http://www.iana.org/assignments/relation/enclosure</code>.
</p>
<p>This example shows how use of URIs for data values enables
distributed assignment of new values.
More importantly for this finding, the use of URIs for such values provides
the opportunity for information about those values to be discovered
dynamically on the Web.</p>
</div3>
<div3 id='uFormats'>
<head>Example: Microformats</head>
<p>
<bibref ref="Microformats"/> provide a simple means of marking up data in
HTML Web pages.
The presence of a microformat is typically indicated by the appearance of
an identifying value such as <loc href="http://microformats.org/wiki/hcard#Root_Class_Name"><code>vcard</code></loc> in an HTML class attribute,
and particular data items are usually marked with other class values.
For example, this hCard
provides contact information for the
North American office of the W3C:
</p>
<pre id="w3cHcard">
    &lt;div class="vcard">
      &lt;a class="fn org url" href="http://www.w3.org/">World Wide Web Consortium&lt;/a>
      &lt;div class="adr">
        &lt;span class="type">Work&lt;/span>:
        &lt;div class="street-address">32 Vassar Street&lt;/div>
        &lt;span class="locality">Cambridge&lt;/span>,  
        &lt;abbr class="region" title="Massachusetts">MA&lt;/abbr>  
        &lt;span class="postal-code">02139&lt;/span>
        &lt;div class="country-name">USA&lt;/div>
      &lt;/div>
      &lt;div class="tel">
       &lt;span class="type">Work&lt;/span> +1-617-253-2613
      &lt;/div>
      &lt;div class="tel">
        &lt;span class="type">Fax&lt;/span> +1-617-258-5999
      &lt;/div>
    &lt;/div>
</pre>
<p>
In general, microformats such as hCard are not self-describing, because there
is no requirement in the HTML media type specifications 
that class attribute
values such as <code>vcard</code> or <code>type</code>
be interpreted per the hCard specification.
Indeed, lacking any specific indication
that the resource owner has intended this interpretation, it is dangerous
for clients to assume hCard semantics &#8212; there is a real risk
that some HTML Web pages use values like <code>type</code>,
<code>value</code> or even in principle <code>vcard</code> for 
other purposes.
</p>
<p>
Unlike some other microformats, hCard does provide an option for deploying in a way that is self-describing.  The <loc href="http://microformats.org/wiki/hcard-profile">hCard profile</loc> specifies a value for the <loc href="http://www.w3.org/TR/html401/struct/global.html#h-7.4.4.3">profile</loc> attribute of the HTML 4.01 <bibref ref="HTML401"/>  <code>&lt;HEAD></code> element:
</p>
<pre id="hcardProfile">
    &lt;head profile='http://www.w3.org/2006/03/hcard'>
</pre>
<p>and presence of this profile value indicates
that class attributes can be reliably
interpreted per the hCard specification.
(Note, however, that there is ongoing discussion as to whether the profile attribute will be included as part of HTML 5, and if not, whether some other mechanism will be provided for signaling the use of extensions such as microformats.)
</p>
<p>
So, microformats are self-describing only when profiles or other
means licensed by a pertinent media type specification are used to enable them.
Unfortunately, few microformats have such profiles, and even when profiles
are available, evidence suggests that they are not universally applied.
User agents that infer the presence of microformats
without reliable indicators such as <code>&lt;HEAD></code> element
profiles are at risk of extracting incorrect data from Web pages.</p>
</div3>

<div3 id="XMLSpecs">
<head>Self-describing XML Documents</head>
<p>
XML Namespaces <bibref ref="XMLNamespaces"/>
facilitate the creation of self-describing XML documents.
Given that a Web document is of media type
<code>application/xml</code>, or in the family of
media types <code>application/____+xml</code>,
recursive processing from the root element may be applied to
determine not just the overall nature of the document,
but also the meaning in context
of all sub-elements.
Doing this, however, requires understanding of the semantics of
each named element.
Although a few specific XML variants such as
<code>application/xhtml+xml</code> may be directly supported by some
user agents, no user agent can build in support for the ever growing
set of XML languages used for Web representations.
This section describes how namespace documents, discoverable from the
XML tag names in the markup, can be used to make such languages 
self-describing, and to enable automated processing of them.
</p>
<p>
When XML namespaces are used, each XML element is named with a <loc href="http://www.w3.org/TR/xml-names11/#ns-qualnames">qualified name</loc>, consisting of a prefix and a local name.  In the following example, the root element has the qualified name <code>&lt;inventory:inventoryItem></code>:
</p>
<pre id="xmlex2">
&lt;inventory:inventoryItem 
     xmlns:inventory="http://example.org/inventoryNamespace">
  &lt;inventory:itemNumber>
      87354
  &lt;/inventory:itemNumber>
  &lt;inventory:quantityAvailable>
      152
  &lt;/inventory:quantityAvailable>
&lt;/inventory:inventoryItem>
</pre>
<p>
Qualified names map to <loc href="http://www.w3.org/TR/xml-names11/#dt-expname">expanded names</loc> such as <code>{http://example.org/inventoryNamespace,inventoryItem}</code>, comprised of a namespace name URI (<code>http://example.org/inventoryNamespace</code>) and a local name (<code>inventoryItem</code>).
The namespace name URI serves at least two roles:  the most obvious and the most widely understood is to distinguish expanded names in one namespace from those in another;  the other role, and the one that is most important for purposes of this finding, is that it provides Web identification for the namespace itself.
The namespace is a Web resource, and like any other resource, it can and should provide representations using HTTP.
<emph>A user agent processing an XML document can retrieve descriptions of the namespaces used in that document, and
can use that retrieved information to determine how to correctly process the XML markup.</emph>
The TAG Finding "Associating Resources with Namespaces" 
<bibref ref="NamespaceDocuments"/>,
recommends the use of <bibref ref="RDDL"/> as a preferred means of
documenting namespaces.
RDDL is itself extensible, but it is commonly used to suggest XML Schemas (in any of several languages), XSLT Stylesheets, etc. that are usable with markup from the namespace being described.
</p>
<p>
Example: assume that user Bob is browsing the Web, and that he follows a link to a resource that returns the XML above as its representation.
Specifically, Bob's browser uses <specref ref="algorithm"/> to retrieve the representation,
to determine its character encoding, and to discover that its Content-type
is <code>application/inventory+xml</code>.
Of course, it's very unlikely that Bob's browser has built in knowledge of the inventory XML language, but the Content-type makes clear <bibref ref="XMLMediaType"/> that
the representation can be interpreted as XML with Namespaces.
The root element tag is from namespace <code>http://example.org/inventoryNamespace</code>, which uses the http scheme,
so Bob's browser does an HTTP GET from that URI.
What comes back is a
RDDL document containing the following <code>&lt;rddl:resource></code> element:
</p>
<pre id="RDDLexample" >
&lt;rddl:resource
   xlink:role="http://www.w3.org/1999/XSL/Transform"
   xlink:arcrole="http://www.w3.org/1999/xhtml"
   xlink:href="http://example.org/InventoryToBrowsableHTML.xslt"
   xlink:title="Transform Inventory XML to HTML for Browsing">
&lt;/rddl:resource>
</pre>
<p>
This designates a stylesheet (<code>http://example.org/InventoryToBrowsableHTML.xslt</code>) that can be
applied to format the inventory XML as HTML &#8212; the
browser automatically retrieves and applies
the stylesheet, producing HTML that is
rendered on the screen.
Without any manual intervention from Bob, his browser automatically displays the inventory record in a format that is convenient to read and print.
Bob's browser may also be enabled for XML validation,
in which case it can look in the RDDL for a link to a
schema to validate the inventory markup.
</p>

<p>
Bob's browser has, in an important sense,
extended itself for processing of the inventory markup language.
Unless the RDDL provides a link to one or more executable
programs that process inventory records,
it's unlikely that Bob's browser can automatically
discover <emph>everything</emph> that one might reasonably
want to know about processing inventory
markup.
Still, even the limited automatic function described above is very useful,
and RDDL is an extensible framework that can
be easily adapted to provide new kinds of information about namespaces.
Note that because RDDL documents are themselves XML, GRDDL can be applied
to derive RDF statements from them (see <specref ref="GRDDLchap"/>).
In this way, self-describing XML documents can be integrated with
the self-describing Semantic web.  
<bibref ref="NamespaceDocuments"/> describes this technique in more detail.
</p>
</div3>
</div2>

</div1>

<!-- *********************************************** -->
<!--		          RDF                        -->
<!-- *********************************************** -->

<div1 id="RDFSection">
<head>RDF and the Self-Describing Semantic Web</head>
<p>
RDF <bibref ref="RDF"/> 
provides an interoperable means of publishing and linking
self-describing Web data resources, and for integrating
representations rendered using
other technologies such as XML.
The result is a single, global self-describing Semantic Web that integrates not only resources
that are themselves built or represented using RDF, but also the other Web resources to which
that RDF links, as well as those that can be mapped to RDF using technologies such as <bibref ref="GRDDL"/> .
Readers unfamiliar with RDF should consult the RDF primer <bibref ref="RDFPrimer"/> as a prerequisite to understanding the discussion below.
</p>

<p>
Each RDF statement is a triple consisting of a subject, a predicate (typically the identifier for a property, or for a relationship between two Web resources), and an object (the value of the property or the referent of the relationship).
The subject, the predicate, and often the object as well,
are themselves identified by URIs, 
enabling the dynamic discovery introduced in <specref ref="URIbasedextension"/> above &#8212; if 
a user agent has no built in knowledge of some particular RDF subject,
relationship, or object,
it can often use the URI to retrieve the
information necessary for processing.
Indeed, RDF's Schema <bibref ref="RDFSchema"/> and OWL Ontology technologies <bibref ref="OWL"/>
together offer
a standard, machine-processable means of describing relationships between RDF statements, e.g. that two seemingly
differing predicates are the "<code>owl:sameAs</code>" each other.
</p>

<p>
As described in <specref ref="algorithm"/>, the principal purpose of
the Web's core retrieval algorithm is to obtain self-describing representations
of Web resources.  For the self-describing Semantic Web, the algorithm is extended
to achieve a more particular goal:
to directly obtain RDF triples that represent or indirectly obtain
RDF triples that describe the referenced resource.
</p>
<p>
Consider Amy, who uses an RDF-enabled user agent to retrieve an RDF/XML
document containing the following element:
</p>
<pre>
&lt;rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:employeeData="http://example.org/EmployeeInformation#">
  &lt;employeeData:employee rdf:about="http://example.org/Employees#BobSmith">
    &lt;employeeData:name>Bob Smith&lt;/employeeData:name>
    &lt;employeeData:email rdf:resource="mailto:BobSmith@example.org"/>
  &lt;/employeeData:employee>
&lt;/rdf:RDF>
</pre>
<p>
The user agent is general purpose, and although it has
rules for certain commonly used ontologies, it
has no built in code to handle the <code>employeeData</code> properties
in the above example.
To dynamically acquire the necessary function, the agent does an HTTP
GET for <code>http://example.org/EmployeeInformation</code>.  
The GET returns an OWL ontology, from which the agent discovers
that <code>http://example.org/EmployeeInformation#email</code>
is <code>rdfs:subPropertyOf</code> the 
<code>http://www.w3.org/2001/vcard-rdf/3.0#email</code> property,
one that the agent recognizes as designating a person's e-mail address.
The agent offers Amy the option to send e-mail to Bob Smith.
Amy's browser has, like Bob's in the example above, automatically extended
itself for processing the employee data.
</p>

<p role="practice"><a name="RDFGPN" id="RDFGPN"></a> 
Representations provided directly in RDF,
or those for which automated means can be used to
discover corresponding RDF, contribute to the self-describing Semantic Web.
</p>

<p>Because its model is uniform, because all of its
self-description is provided in the
same model as the data itself, and because all RDF information is linked
into the Web as a whole, RDF provides uniquely
powerful facilities for dynamic
integration of a self-describing Web.
Therefore,
it's particularly important that information not originally
supplied in an RDF-specific
format be convertible into RDF.  
The sections below discuss two means of doing this:  the first
shows how RDFa can integrate HTML documents into the Semantic Web,
and the second illustrates the use of GRDDL to extract
RDF from XML documents.
</p>

<div2 id="UsingRDFa">
<head>Using RDFa To Produce Self-describing HTML</head>
<p>
<bibref ref="RDFa"/> is a W3C Recommendation for embedding Semantic Web statements into XHTML Web pages
(see also <bibref ref="RDFaSyntaxandProcessing"/>).
The following example illustrates how RDFa can integrate HTML into the self-describing Semantic Web:
</p>
<p>
Mary is exploring the Web using a browser that has been
enhanced with capabilities for interpreting RDFa.
Her browser knows to look through each XHTML Web page that she browses, picking out information
from the RDFa, and helping her to use it.  For example, the page might contain the following HTML,
which represents a FOAF-based contact listing.  (This example is adapted from one
in <bibref ref="RDFa"/>):
</p>
<pre id="FOAFRDFaExample">
&lt;?xml version="1.0" encoding="UTF-8"?>
&lt;html xmlns="http://www.w3.org/1999/xhtml" 
    <strong>version="XHTML+RDFa 1.0"</strong>
    xml:lang="en">
  &lt;head>
  &lt;title>FOAF/RDFa Demo&lt;/title>
  &lt;/head>
  &lt;body>
    &lt;div <strong>typeof="foaf:Person" xmlns:foaf="http://xmlns.com/foaf/0.1/"
            about="http://example.org/staff/Alice"</strong>>
    &lt;p <strong>property="foaf:name"</strong>>
    <strong>Alice Birpemswick</strong>
    &lt;/p>
    &lt;p>
    Email: &lt;a <strong>rel="foaf:mbox"</strong> <strong>href="mailto:alice@example.com"</strong>>alice@example.com&lt;/a>
    &lt;/p>
    &lt;p>
    Phone: &lt;a <strong>rel="foaf:phone"</strong> <strong>href="tel:+1-617-555-7332"</strong>>+1 617.555.7332&lt;/a>
    &lt;/p>
    &lt;/div>
  &lt;/body>
&lt;/html>
</pre>
<p>
Even though this document is of media type
<code>application/xhtml+xml</code> <bibref ref="XHTMLMediaType"/>,
which is not a member of the RDF family
of media types, an RDFa-enabled user agent can extract RDF from this document.
This document conveys as RDF a set of semantic Web statements about the Web resource
<code>http://example.org/staff/Alice</code>.  The predicates are all named with the
same base URI <code>http://xmlns.com/foaf/0.1/</code>, for which the
shorthand prefix <code>foaf</code> is established in the HTML.
Using this syntax, the RDFa carries triples for relationships such as the
full name of the contact
(<code>http://xmlns.com/foaf/0.1/#name</code>), which is <code>Alice Birpemswick</code>,
the e-mail address (<code>http://xmlns.com/foaf/0.1/#mbox</code>) which is
<code>mailto:alice@example.com</code>,
and so on.
</p>
<p>
An RDFa-enabled user agent can extract these triples and use them
to help Mary work with the data they contain,
or to integrate with 
other Semantic Web information.  
Indeed RDF is designed for such use because,
as discussed above in <specref ref="RDFSection"/>,
Semantic Web triples are inherently self-describing.
If a user agent needs more information about the processing of
the email triple it can, like Amy's user agent, do an HTTP GET
for URI <code>http://xmlns.com/foaf/0.1/</code>,
and use the results to
get more information.
With luck, that information will lead the agent
to automatically discover that,
in the example,
<code>mailto:alice@example.org</code> can indeed
be used to send mail to the person
named <code>Alice Birpemswick</code>.
The browser can then offer Mary the option to send e-mail to Alice,
or to add Alice to
her address book.
</p>
<p role="practice"><a name="RDFaGPN" id="RDFaGPN"></a> 
RDFa should be used to make information conveyed in HTML self-describing.
</p>
<p>
RDFa documents such as the one shown above are self-describing when
served using the Content-type <code>application/xhtml+xml</code>.
The specification for that media type <bibref ref="XHTMLMediaType"/> 
designates it as a member of the
family of <code>application/____+xml</code> media types,
and the specification for those types <bibref ref="XMLMediaType"/>  
in turn provides for markup to be interpreted based on
the namespaces used in the document.  Finally, the namespace document for XHTML
<bibref ref="XHTMLNamespace"/> allows use of XHTML with RDFa.  
So, taken together, these specifications provide normatively for use of
RDFa in documents served with Content-type <code>application/xhtml+xml</code>.
</p>
</div2>

<div2 id="GRDDLchap">
<head>Using GRDDL to Bridge From XML To RDF</head>
<p>RDFa provides a standard means of encoding RDF information in XHTML
documents,
but many other XML variants lack that capability.
Furthermore, RDFa requires explicit encoding of each triple in the XHTML
instance, and that may in some cases be impractical.
<bibref ref="GRDDL"/> provides a standard means of extracting
triples from a broad range of XML document formats.
Each GRDDL-enabled XML document links to a transformation that,
when applied to the document, produces RDF triples.
Typically, the same GRDDL transformation can be used
on entire families of similar XML documents.
</p>
<p>
For example, assume that Albert uses a GRDDL-enabled
user agent to retrieve an XML document containing the following fragment:</p>

<pre>
&lt;employees xmlns="http://example.org/employeeNS">
  &lt;employee name="Bob Smith">
    &lt;email>BobSmith@example.org&lt;/email>
  &lt;/employee>
&lt;/employees>
</pre>

<p>Note that, unlike the earlier examples, this is neither in HTML nor in RDF;
we can assume that <code>http://example.org/employeeNS</code> is a namespace
created by some particular business for use in its own busines documents.
Albert's agent has no built in knowledge of this namespace, and so can
not do much with it. 
Now assume that Albert instead retrieves a different document.
Most of the markup and data in it is identical to the first,
but this document is
GRDDL enabled:
</p>

<pre>
&lt;employees xmlns="http://example.org/employeeNS"
              <strong>xmlns:grddl="http://www.w3.org/2003/g/data-view#"</strong>
              <strong>grddl:transformation=</strong>
                    <strong>"http://example.org/GRDDL_For_employeeNS.xsl></strong>
  &lt;employee name="Bob Smith">
    &lt;email>BobSmith@example.org&lt;/email>
  &lt;/employee>
&lt;/employees>
</pre>

<p>
Albert's user agent is GRDDL aware, so
it transforms the <code>&lt;employees></code> information
to RDF using the supplied <code>GRDDL_For_employeeNS.xsl</code>
transformation.
If Albert is lucky, that transformation produces RDF triples
that the agent understands, or that the agent can dynamically discover how to
process using the techniques described above in <specref ref="RDFSection"/>.
As in the earlier examples, Albert's user agent offers to send mail
to Bob Smith.
</p>

<p role="practice"><a name="GRDDLGPN" id="GRDDLGPN"></a> 
GRDDL should be used to integrate XML documents into the
self-describing Semantic Web.
</p>
<!-- empty para helps formatting after GPN -->
<p/>
</div2>

</div1>

<!-- *********************************************** -->
<!--               GROUNDING AND ACCOUNTABILITY      -->
<!-- *********************************************** -->
  
<div1 id='grounding'>
<head>Accountability and Grounding Information in the Web</head>
<p>
The Web is an important medium for publishing information, and so it is 
often important to get agreement about what has in fact been published, and by whom.
Consider the following example:
</p>
<p>
Senator Smith alleges that he has been libeled by an article published on the Web,
and so the senator files suit against the purported publishers.
He produces in court the log of a response to an HTTP GET
for URI <code>http://publisher.example.com/oursenator.html</code>:
</p>
<pre>
HTTP/1.1 200 OK
Date: Tue, 22 Oct 2008 02:43:22 GMT
Server: Apache
Content-Type: text/html; charset=utf-8

&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
&lt;head>
&lt;title>The problem with Senator Smith&lt;/title>
&lt;/head>
&lt;body>
  &lt;h1>Senator Smith is a Liar and a Thief!&lt;/h1>
  &lt;p>Our senator, Mr. Smith, steals money from children, 
     and he lies on his income tax returns!
  &lt;/p>
&lt;/body>
&lt;/html>
</pre>
<p>
When confronted by the judge, the owners of the Web site attempt to claim that they have
not in fact published information about the senator.  "Yes", they say, "our server did accept 
a TCP/IP connection at port 80 and it responded with some bits,
but those bits don't mean what you think they mean.  They might look to you like HTML,
but that's not what we intended.   We haven't said anything derogatory about the senator."
</p>
<p>
In fact, according to the specifications for the Web, the publishers are wrong;  those
specifications indicate unambiguously that the bits returned
are to be interpreted as the UTF-8 encoding of Unicode characters, that those characters are to be interpreted as HTML, and that the text within the HTML is to be read in English.  According to the pertinent specifications, the publishers have
indeed called the senator a liar and a thief!</p>
<p>
How, though, can we know whether these specifications apply at all?  Perhaps the publishers could claim that some other specifications applied?  Unfortunately for them, the Web is unambiguous on this point as well.
Starting with a URI such as <code>http://localnewspaper.example.com/oursenator.html</code> and
the specification for URIs <bibref ref="URI"/>, all the applicable
specifications for interpreting an http-scheme Web representation
can be unambiguously discovered by, recursively, following references to other specifications.
Using this specific example to illustrate:
</p>
<ulist>
<item><p>The <bibref ref="URI"/> specification indicates that the registration of URI schemes is
provided for in 
<bibref ref="RFC2717"/>. This in turn indicates that IANA maintains a registry of URI schemes, which is at <bibref ref="IANASchemeRegistry"/>.  That page in turn shows that URIs employing the http scheme are 
governed by RFC 2616 <bibref ref="HTTP"/>.</p></item>
<item><p>RFC 2616 describes the interpretation of the Content-type header, indicating
that the value of this header is an Internet Media Type, and provides a reference to <bibref ref="RFC1590"/> for looking up the interpretation of particular media types.  RFC 1590 in turn indicates that a registry of such media types
is available from IANA, and from that <bibref ref="IANAMediaTypeRegistry"/> one can discover that the
documentation of media type <code>text/html</code> is found at <bibref ref="HTMLMediaType"/>.  This
finally provides the normative interpretation of the charset parameter, verifying that the
information is indeed to be interpreted as UTF-8, and that the markup in the HTTP entity body
is HTML.</p></item>
<item><p>Similar techniques can be used to determine that the <code>lang</code> attribute in the HTML
does indeed call for text in the document to be read in English. </p></item>
<item><p>...and so on.</p></item>
</ulist>
<p>
Of course, determining whether Senator Smith has been libeled is beyond the scope of 
Web Architecture. 
The architecture does provide the means by which one can determine unambiguously
that he has been called a liar and a thief by the owners of site <code>publisher.example.com</code>.
In general, it is possible to determine which specifications apply to interactions with resources
identified by any particular URI;
as explained above, these specifications can be located by recursively following references
from the specifications for URIs themselves.
</p>

<p>
Representations published using HTTP (or other schemes and protocols that are appropriately registered)
are thus self-describing not just in the general sense of
being interpretable using widely available information, 
but in the particular sense of having an interpretation
that follows from the URI used for access and from the core specifications of the Web.
We therefore refer to such representation documents as being <emph>grounded in the Web</emph>.
From the URI referenced and the specification for URIs <bibref ref="URI"/>, 
the other specifications for interacting with the resource
and for interpreting its representations are determined unambiguously.
Furthermore, this characteristic implies an important degree
of accountability for those who serve information on the Web.
As illustrated by the example above, Web architecture settles many important questions
relating to what information has been published, and by whom.
</p>

<div2 id='groundingSpecifications'>
<head>Grounding New Specifications in the Web</head>
<p>
As explained in <specref ref="extensible"/>, new formats and protocols are occasionally
needed for use with the Web.  For information published using those new technologies to be
grounded in the Web, it's essential that the pertinent specifications be reachable by
references, preferably in the form of Web links, from the specifications for existing
Web technologies.  Means by which this can be achieved include:
</p>

<ulist>
<item><p>The new specification can be registered in a suitable registry, such as the IANA registries
for URI schemes <bibref ref="IANASchemeRegistry"/> or Internet media types <bibref ref="IANAMediaTypeRegistry"/>.  Suitable registries are those that
are themselves normatively linked or referenced from applicable specifications for the Web (e.g. the IANA scheme registry is discussed in <bibref ref="RFC2717"/>, which in turn is referenced
from  <bibref ref="URI"/>).</p></item>
<item><p>Existing specifications can be edited and republished to link explicitly to
specifications for the new technology.</p></item>
<item><p>In certain cases, the new specification may be discoverable automatically.  For example,
when a new namespace is used in XML, it may be sufficient to publish a namespace document (see <bibref ref="XMLNamespaceDocuments"/>), as <bibref ref="XMLMediaType"/> is itself properly linked, and 
it already provides for extension of XML using Namespaces.</p></item>
</ulist>

<p role="practice"><a name="GPNGroundSpecs" id="GPNGroundSpecs"></a> 
Specifications for interactions with Web resources, and for interpretation of resource representations, should be linked (directly or indirectly) from the specification for URIs <bibref ref="URI"/>.
</p>

</div2>
</div1>

<div1 id='conclusions'>
<head>Conclusions</head>
<p>
Ad hoc exploration of the Web is possible only if
resource representations are self-describing.
Using the techniques described above and starting with an http- or https-scheme
URI, a user agent can proceed step by step to retrieve a representation,
reliably discover the conventions that have been used to encode it,
and if necessary, dynamically find instructions for processing it.
Furthermore, it is possible starting with a URI and the specification
for URIs <bibref ref="URI"/>, to follow successive references to specifications
that apply to interactions with the identified resource.  
The uniform identification of pertinent specifications greatly
reduces ambiguities regarding what
information has been published in the Web, and by whom.  
</p>
<p>
Those who invent new document formats, new markup tags, or new conventions
for encoding particular data values should use the techniques described
above to make those formats self-describing, and to ensure that
the pertinent specifications can be discovered by following references from
existing ones.
When these techniques are used, and when self-describing
representations are linked together, the Web as a whole
can support reliable, ad hoc discovery of information.
</p>

</div1>

<div1 id='references'>
<head>References</head>

<blist>
<bibl id="ATOM" href="http://tools.ietf.org/html/rfc4287">M. Nottingham, R. Sayre (Eds.) <titleref>RFC 4287: The Atom Syndication Format</titleref>. December 2005</bibl>
<bibl id="AuthoritativeMetadata" href="http://www.w3.org/2001/tag/doc/mime-respect">R. Fielding, I. Jacobs, <titleref>Authoritative Metadata</titleref>. W3C Technical Architecture Group Finding, April, 2006.</bibl>
<bibl id='AWWW' href='http://www.w3.org/TR/webarch/'>I.Jacobs, 
N. Walsh, <titleref>Architecture of the World Wide Web</titleref>.
W3C. December, 2004.</bibl>
<bibl id='DNS' href='http://tools.ietf.org/html/rfc1034'>P. Mockapetris<titleref>RFC 1034:DOMAIN NAMES - CONCEPTS AND FACILITIES
</titleref>.
November, 1987.</bibl>
<bibl id="GRDDL" href="http://www.w3.org/TR/grddl/">D. Connolly,  <title>Gleaning Resource Descriptions from Dialects of Languages (GRDDL)</title>, W3C Candidate Recommendation, May, 2007</bibl>
<bibl id="HTML401" href="http://www.w3.org/TR/html401/"> D. Raggett, A. Le Hors, I. Jaobs (Eds.)<title>HTML 4.01 Specification</title>, W3C Recommendation, December, 1999</bibl>
<bibl id='HTMLMediaType' href='http://www.rfc-editor.org/rfc/rfc2854.txt'>D. Connolly, L. Masinter,<titleref>The 'text/html' Media Type</titleref>.
November, 1999.</bibl><bibl id='HTTP' href='http://www.ietf.org/rfc/rfc2616.txt'>J. Gettys, J. Mogul, H. Frystyk, L. Masinter, P. Leach, T. Berners-Lee <titleref>RFC 2616: Hypertext Transfer Protocol - HTTP/1.1</titleref>. June 1999</bibl>
<bibl id="IANAMediaTypeRegistry" href='http://www.iana.org/assignments/media-types/'>Internet Assigned Numbers Authority<titleref>Uniform Resource Identifer (URI) Schemes</titleref>.</bibl>
<bibl id="IANASchemeRegistry" href='http://www.iana.org/assignments/uri-schemes.html'>Internet Assigned Numbers Authority<titleref>Uniform Resource Identifer (URI) Schemes</titleref>.</bibl>
<bibl id="IRI" href="http://www.ietf.org/rfc/rfc3987.txt">M. Duerst, M. Suignard <titleref>RFC 3987: Internationalized Resource Identifiers (IRIs)</titleref>. January 2005</bibl>
<bibl id="Microformats" href="http://microformats.org/about/">microformats.org, <titleref>About Microformats</titleref></bibl>
<bibl id="NamespaceDocuments" href="http://www.w3.org/2001/tag/doc/nsDocuments/">N. Walsh, <titleref>Associating Resources with Namespaces</titleref>. W3C Technical Architecture Group Finding, June, 2008.</bibl>
<bibl id='OWL' href='http://www.w3.org/TR/owl-features/'>D. McGuinness, F. van Harmelen (Eds.) <titleref>OWL Web Ontology Language
Overview </titleref>. W3C Recommendation, February 2004.</bibl>
<bibl id='RDDL' href='http://www.rddl.org/'>J. Borden, T. Bray, <titleref>Resource Directory Description Language (RDDL)</titleref>. W3C. February, 2002.</bibl>
<bibl id='RDF' href='http://www.w3.org/TR/rdf-concepts/'>G. Klyne, J. Carroll (Eds.) <titleref>Resource Description Framework (RDF):
Concepts and Abstract Syntax</titleref>. W3C Recommendation, February 2004.</bibl>
<bibl id='RDFa' href='http://www.w3.org/TR/xhtml-rdfa-primer/'>B. Adida, M. Birbeck <titleref>RDFa Primer</titleref>. W3C. (working draft) October, 2008.</bibl>
<bibl id='RDFaSyntaxandProcessing' href='http://www.w3.org/TR/2008/REC-rdfa-syntax-20081014/'>B. Adida, M. Birbeck, S. McCarron, S. Pemberton <titleref>RDFa in XHTML: Syntax and Processing</titleref> W3C. Proposed Recommendation, October, 2008 </bibl>
<bibl id='RDFPrimer' href='http://www.w3.org/TR/rdf-primer/'>F.Manola, E. Miller (Eds.) <titleref>RDF Primer</titleref>.  W3C Recommendation, February 2004.</bibl>
<bibl id='RDFSchema' href='http://www.w3.org/TR/rdf-schema/'>D. Birckley, R.V. Guha (Eds.) <titleref>RDF Vocabulary Description Language 1.0: RDF Schema</titleref>. W3C Recommendation, February 2004.</bibl>
<bibl id='RFC1590' href='http://www.ietf.org/rfc/rfc1590.txt'>J. Postel,<titleref>Media Type Registration Procedure
</titleref>.
March, 1994.</bibl>
<bibl id='RFC2717' href='http://www.ietf.org/rfc/rfc2717.txt'>R. Petke, and I. King,<titleref>Registration Procedures for URL Scheme Names
</titleref>.
November, 1999.</bibl>
<bibl id='TAGIssue51' href='http://www.w3.org/2001/tag/group/track/issues/51'>W3C Technical Architecture Group <titleref>Issue standardizedFieldValues-51:
Squatting on link relationship names, x-tokens, registries, and URI-based extensibility</titleref></bibl>

<bibl id="URI" href="http://www.ietf.org/rfc/rfc3986.txt">T. Berners-Lee, R. Fielding, L. Masinter<titleref>RFC 3986: Uniform Resource Identifier (URI): Generic Syntax</titleref>. January 2005</bibl>

<bibl id='XMLMediaType' href='http://www.ietf.org/rfc/rfc3023.txt'>M. Murata, S. St. Laurent, D. Kohn <titleref>RFC 3023: XML Media Types</titleref>. January 2001</bibl>
<bibl id='XHTMLMediaType' href='http://www.ietf.org/rfc/rfc3236.txt'>M. Baker, P. Stark<titleref>RFC 3236: The 'application/xhtml+xml' Media Type</titleref>. January 2002</bibl>
<bibl id='XHTMLNamespace' href='http://www.w3.org/1999/xhtml/'>Pemberton, S.<titleref>XHTML namespace</titleref>. October 2008</bibl>

<bibl id="XMLNamespaceDocumnets" href="http://www.w3.org/2001/tag/doc/nsDocuments/">H. S. Thompson, N. Walsh <titleref>Associating Resources with Namespaces</titleref>. W3C TAG Finding, June, 2008.</bibl>

<bibl id="XMLNamespaces" href="http://www.w3.org/TR/xml-names11/">T. Bray, D. Hollander, A. Layman, R. Tobin, <titleref>Namespaces in XML 1.1</titleref>. W3C, August, 2006 (2nd Edition).</bibl>

</blist>
</div1>
</body>

 <back>
    <div1 id="AlgPicture">
      <head>Diagram of the Web's Retrieval Algorithm</head>
      <fullWidthGraphic source="http://www.w3.org/2001/tag/doc/follow.png" alt="Flow diagram of the Web's retrieval algorithm"/>
    </div1>

 </back>

</spec>
