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

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