W3C home > Mailing lists > Public > semantic-web@w3.org > April 2007

Re: xml:base (was Re: IRI meets RDF meets HTTP redirect)

From: Chris Lilley <chris@w3.org>
Date: Thu, 19 Apr 2007 13:15:17 +0200
Message-ID: <392167003.20070419131517@w3.org>
To: Sandro Hawke <sandro@w3.org>
Cc: Jeremy Carroll <jjc@hpl.hp.com>, semantic-web@w3.org, <www-international@w3.org>

On Wednesday, April 18, 2007, 5:31:54 PM, Sandro wrote:

SH> Of course, if you *want* the base end with "résumé" you're out of luck,
SH> since XML Base [1] says you can only use a URI.   

No, it doesn't.

  The attribute xml:base may be inserted in XML documents to specify a
  base URI other than the base URI of the document or external entity.
  The value of this attribute is interpreted as a URI Reference as
  defined in RFC 2396 [IETF RFC 2396], after processing according to
  Section 3.1.

and section 3.1 says

  The set of characters allowed in xml:base attributes is the same as
  for XML, namely [Unicode]. However, some Unicode characters are
  disallowed from URI references, and thus processors must encode and
  escape these characters to obtain a valid URI reference from the
  attribute value.

The attribute value can be an IRI. The IRI represents a URI.

 Chris Lilley                    mailto:chris@w3.org
 Interaction Domain Leader
 Co-Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
Received on Thursday, 19 April 2007 11:17:39 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 08:45:00 UTC