- From: John Cowan <cowan@ccil.org>
- Date: Wed, 18 Apr 2007 13:41:10 -0400
- To: Jeremy Carroll <jjc@hpl.hp.com>
- Cc: Sandro Hawke <sandro@w3.org>, semantic-web@w3.org, www-international@w3.org
Jeremy Carroll scripsit:
> Sandro Hawke wrote:
> >Of course, if you *want* the base end with "résumé" you're out of luck,
> >since XML Base [1] says you can only use a URI. But at least you've
> >avoided the dilemma.
>
> Yes I like using xml:base as much as possible.
> (And I think xml:base does allow non-ASCII chars since it tells
> applications how to % encode them)
There are two different questions here: what characters can appear
in a [base URI] Infoset property, and what characters can appear
in an xml:base attribute value?
The [base URI] property of a document, element, or PI is a URI;
as such, it can only make use of a limited repertoire, a subset
of ASCII characters.
The value of an xml:base attribute is not so limited: it can contain
(almost) arbitrary Unicode, which is %-escaped before being used
to alter the base URI property of the element on which it appears
and the element's children.
--
But that, he realized, was a foolish John Cowan
thought; as no one knew better than he cowan@ccil.org
that the Wall had no other side. http://www.ccil.org/~cowan
--Arthur C. Clarke, "The Wall of Darkness"
Received on Wednesday, 18 April 2007 17:41:28 UTC