ArticleslgStudy

science

XRDS

XRDS is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand XRDS rather than just read about it. In short: The extensible resource descriptor sequence (XRDS) is an XML-based file format that provides a list of services. Background The XML format used by XRDS was originally developed in 2004 by the OASIS XRI (extensible resource identifier) Technical Committee as the resolution format for XRIs.

Key takeaways

  • XRDS belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect XRDS to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of XRDS from memory before moving on to harder problems.

Reference excerpt

The extensible resource descriptor sequence (XRDS) is an XML-based file format that provides a list of services.

Background The XML format used by XRDS was originally developed in 2004 by the OASIS XRI (extensible resource identifier) Technical Committee as the resolution format for XRIs. The acronym XRDS was coined during subsequent discussions between XRI TC members and OpenID developers at the first Internet Identity Workshop held in Berkeley, California in October 2005. The protocol for discovering an XRDS document from a URL was formalized as the Yadis specification published by Yadis.org in March 2006. Yadis became the service discovery format for OpenID 1.1. A common discovery service for both URLs and XRIs proved so useful that in November 2007 the XRI Resolution 2.0 specification formally added the URL-based method of XRDS discovery (Section 6). This format and discovery protocol subsequently became part of OpenID Authentication 2.0.

XRDS Simple In early 2008, work on OAuth discovery by Eran Hammer-Lahav led to the development of XRDS Simple, a profile of XRDS that restricts it to the most basic elements and introduces some extensions to support OAuth discovery and other protocols that use specific HTTP methods. In late 2008, XRDS Simple has been cancelled and merged back into the main XRDS specification resulting in the upcoming XRD 1.0 format.

Example uses Besides XRI resolution, examples of typical XRDS usage include:

OpenID authentication for discovery and capabilities description of OpenID providers. OAuth discovery for locating OAuth service endpoints and capabilities. The Higgins Project for discovery of Higgins context providers. XDI.org I-name and I-number digital identity addressing services for generalized digital identity service discovery. The XDI data sharing protocol for discovery of XDI service endpoints and capabilities.

Example XRDS document Following is an example of an XRDS document for the fictional XRI i-name =example. This document would typically be requested from a Web server via HTTP or HTTPS using the content type application/xrds+xml. Note that the outer container <XRDS> element serves as a container for one or more <XRD> (Extensible Resource Descriptor) elements. Most simple XRDS documents have only one XRD. Other services like XRI resolution may construct a sequence of XRDs within a single XRDS document to reflect a chain of metadata about linked resources.

Synonyms XRDS documents can assert zero or more synonyms for a resource. In this context, a synonym is another identifier (a URI or XRI) that identifies the same target resource. For instance, the example XRDS document above asserts four synonyms:

The local synonym !4C72.6C81.D78F.90B2. This is a relative XRI synonym assigned by the provider of this XRDS document. The equivalent URL http://example.com/example-user with a priority of 10 (1 is the highest priority). The equivalent URL http://example.net/blog with a priority of 15 (a lower priority than the other equivalent URL above). The canonical identifier xri://=!4C72.6C81.D78F.90B2. This is an absolute XRI i-number for the target resource—a persistent identifier that will never be reassigned (the functional equivalent of a Uniform Resource Name). For full details of XRDS synonym support, see XRI Resolution 2.0, Section 5.

Service endpoints (SEPs) The other main purpose of XRDS documents is to assert the services associated with a resource, called service endpoints or SEPs. For instance, the example XRDS document above asserts four service endpoints for the represented resource:

An XRI resolution service (type xri://$res*auth*($v*2.0)). An OpenID 2.0 authentication service (type http://openid.net/signon/2.0). An OpenID 1.0 authentication service (type http://openid.net/server/1.0). An untyped service for requesting resources with a media type image/jpeg. For full details of XRDS service endpoints, see XRI Resolution 2.0, Sections 4.2 and 13.

Service types In XRDS documents, a service is identified using a URI or XRI. Following are listings of well-known service types.

XRI resolution

OpenID

OAuth discovery

Licensing XRDS is an open public royalty-free OASIS specification. The OASIS XRI Technical Committee has operated since its inception in 2003 under a royalty-free licensing policy as stated in its charter and IPR page.

See also Light-weight Identity Social Web

References

External links OASIS XRI Technical Committee

Worked examples

Example 1 — a first encounter with XRDS

Start with the simplest possible case. Write down what XRDS claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to XRDS before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about XRDS ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of XRDS

In research
XRDS appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses XRDS in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
XRDS is common in secondary-school and first-year university syllabi. It links to neighbouring topics XML-based standards, so understanding it makes those chapters shorter.
In everyday life
Look for XRDS outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “XRDS” →

How to study XRDS in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what XRDS means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain XRDS out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is XRDS in simple terms?

The extensible resource descriptor sequence (XRDS) is an XML-based file format that provides a list of services. Background The XML format used by XRDS was originally developed in 2004 by the OASIS XRI (extensible resource identifier) Technical Committee as the resolution format for XRIs.

Why does XRDS matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study XRDS?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on XRDS.

Tags

  • XML-based standards

Keep exploring