RDDL Makes Namespaces More Useful - PowerPoint PPT Presentation

1 / 20
About This Presentation
Title:

RDDL Makes Namespaces More Useful

Description:

RDDL Makes Namespaces More Useful – PowerPoint PPT presentation

Number of Views:72
Avg rating:3.0/5.0
Slides: 21
Provided by: timb95
Category:

less

Transcript and Presenter's Notes

Title: RDDL Makes Namespaces More Useful


1
RDDL Makes Namespaces More Useful
  • Tim Bray, May 2003

2
Road Map
  • The problem
  • Resource Directory Description Language (RDDL)
  • Natures and Purposes
  • Where to from here?

3
The Problem
The XML Namespaces Recommendation saysThe
attribute's value, a URI reference, is the
namespace name identifying the namespace. The
namespace name, to serve its intended purpose,
should have the characteristics of uniqueness
and persistence. It is not a goal that it
be directly usable for retrieval of a schema
(if any exists).
4
Q Should a Namespace URI Point at Anything?
  • It doesnt need to for namespaces to do their
    intended job, but
  • Names should be first class Web citizens, i.e. be
    grounded in URI space, and
  • Why not? Its free!

5
Q What Should a Namespace URI Point At?
  • A schema (DTD, XSD, RelaxNG, Schematron,
    Examplotron, RDFS)?
  • A stylesheet (CSS1, CSS2, CSS3, XSL)?
  • Some executable code (Java, .NET, Perl)?
  • Human-readable documentation?

6
Resource Directory Description Language (RDDL)
7
RDDL Credits
  • Berners-Lee Raggett proposed a ltresourcegt
    element in 1996
  • XML-DEV mailing list over Christmas-2000
    holidays Cowan, Diamond, Dodds, Grosso,
    Jelliffe, Ogbuji, Palmer, Passin, St. Laurent,
    Thompson, van der Vlist
  • Jonathan Borden did all the work

8
RDDL History
  • Original Borden/Bray draft, January 2001, based
    on XLink
  • Experiments with RDF forms during 2002
  • W3C TAG discussion, 2002-2003
  • Minimal RDDL proposal Feb. 2003
  • May be blessed in some form by W3C

9
RDDL Goals
  • Provide a place to go to learn about a namespace
  • Should be human-readable for basic bootstrapping
  • Should be machine-readable

10
Human-Readability
  • Use HTML!
  • Heres part of a RDDL file

An XML Schema fragment is available which
constrains the syntax of xmllang and xmlspace.
11
Machine-Readability
  • Based on XHTML
  • Two new attributes on the ltagt element linking to
    a related resource
  • rddlnature What kind of thing it is
  • rddlpurpose What its intended use is

12
Example With Source
An XML Schema fragment is available which
constrains the syntax of xmllang and xmlspace.
"
ltpgtAn lta hrefhttp//www.w3.org/TR/xmlschema-0/gtXM
L Schemalt/agt lta rddlnature"http//www.w3.org/
2000/10/XMLSchema" rddlpurpose"http//rddl.org/
purposesschema-validation" href"http//www.w3.o
rg/XML/1998/namespace.xsdgtfragmentlt/agt is
available which constrains the syntax of xmllang
and xmlspace.lt/pgt
13
Natures and Purposes
14
The Nature of a Related Resource
  • Describes what kind of an object it is
  • Is a URI reference
  • For XML vocabularies, the namespace name (if
    there is one)
  • Otherwise based on the media-type
  • A predefined list is available at
    http//rddl.org/natures/

15
The Purpose of a Related Resource
  • Describes intended usage (may be obvious)
  • Is a URI reference, e.g. http//rddl.org/purposes
    icon
  • A predefined list is available at
    http//rddl.org/purposes(validation,
    schema-validation, module, schema-module,
    entities, notations, software-module,
    software-package, software-project, JAR,
    reference, normative-reference,
    non-normative-reference, prior-version,
    definition, icon, alternate, directory)

16
Where To From Here?
17
If Youre Building an XML Language
  • Give it a namespace name which is a URL, not a
    URN
  • Make a human-readable description of what youre
    up to, in XHTML, available at the namespace name
  • Add related resources later as you create them

18
What RDDL Means
  • There are many different flavors of semantics
  • RDDL lets you find out automatically which
    semantics have been provided
  • This is key for both Web Services and the
    Semantic Web!

19
References
  • W3C TAG Issue on Namespace Documents
    http//www.w3.org/2001/tag/ilistnamespaceDocument
    -8
  • Theses on Namespaces http//www.textuality.com/ta
    g/Issue8.html
  • Latest RDDL proposal http//www.textuality.com/xm
    l/rddl3.html

20
RDDL Makes Namespaces More Useful
  • Tim Bray, May 2003
Write a Comment
User Comments (0)
About PowerShow.com