W3C home > Mailing lists > Public > www-ws-desc@w3.org > April 2003

R085, Relative URIs, and XML Base

From: Arthur Ryman <ryman@ca.ibm.com>
Date: Wed, 30 Apr 2003 13:11:45 -0400
To: www-ws-desc@w3.org
Message-ID: <OF252F27EE.E5F53E2A-ON85256D18.005BF4F3@torolab.ibm.com>
Since R085 involves messages that contain URIs, it is natural to allow 
relative URIs. The recommended way to send relative URIs is XML Base [1]. 
XLink uses XML Base. 

XML Base uses the xml:base attribute, e.g.:

<?xml version="1.0"?>
<doc xml:base="http://example.org/today/"
     xmlns:xlink="http://www.w3.org/1999/xlink">
  <head>
    <title>Virtual Library</title>
  </head>
  <body>
    <paragraph>See <link xlink:type="simple" xlink:href="new.xml">what's
      new</link>!</paragraph>
    <paragraph>Check out the hot picks of the day!</paragraph>
    <olist xml:base="/hotpicks/">
      <item>
        <link xlink:type="simple" xlink:href="pick1.xml">Hot Pick 
#1</link>
      </item>
      <item>
        <link xlink:type="simple" xlink:href="pick2.xml">Hot Pick 
#2</link>
      </item>
      <item>
        <link xlink:type="simple" xlink:href="pick3.xml">Hot Pick 
#3</link>
      </item>
    </olist>
  </body>
</doc>

Do we need to do anything in WSDL to describe this or is this handled 
somewhere else, e.g. in XSD or in the XML spec?

[1] http://www.w3.org/TR/xmlbase/

Arthur Ryman
Received on Wednesday, 30 April 2003 13:11:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:23 GMT