W3C home > Mailing lists > Public > www-xsl-fo@w3.org > October 2002

Re: XSL Errata document updated

From: Paul Grosso <pgrosso@arbortext.com>
Date: Fri, 25 Oct 2002 11:27:02 -0500
Message-Id: <4.3.2.7.2.20021025112111.03c68c90@172.27.10.30>
To: (wrong string) Éric Bischoff <e.bischoff@noos.fr>, ww

At 18:07 2002 10 25 +0200, Éric Bischoff wrote:

>Le Friday 25 October 2002 17:38, Max Froumentin a écrit:
>> These errata are mostly the result of comments sent to
>> the public xsl-editors comment list (archived at
>> http://lists.w3.org/Archives/Public/xsl-editors/ ).
>>
>> Paul Grosso
>> for the XSL FO Subgroup of the XSL WG
>
>Paul,
>
>Isn't there an error in the errata ;-) ?

It is true that src="url('TH0317A.jpg')" would probably make
a better example.  I did not write this example, and I did
not notice this until you mentioned it.

However, I believe src="'url(TH0317A.jpg)'" should also be 
valid.  The double quotes are just part of being an XML 
attribute, and then the single quotes make the attribute 
value a string.  The uri-specification datatype says it's 
a sequence of characters, so a string should be a valid 
value, and the quotes inside the url() part are optional.

paul


>============================
>Replace:
>
>fo: element and attribute tree: <fo:external-graphic src="TH0317A.jpg"/>
>
>with
>
><fo:external-graphic src="'url(TH0317A.jpg)'"/>
>============================
>
>Are you sure it's not rather:
>
><fo:external-graphic src="url('TH0317A.jpg')"/>
>
>? (look at the position of the single quotes)
>
>Reference: Section 5-11 Property datatypes:
>
>============================
><uri-specification> 
>
>A sequence of characters that is "url(", followed by optional white space, 
>followed by an optional single quote (') or double quote (") character, 
>followed by a URI reference as defined in [RFC2396], followed by an optional 
>single quote (') or double quote (") character, followed by optional white 
>space, followed by ")". The two quote characters must be the same and must 
>both be present or absent. If the URI reference contains a single quote, the 
>two quote characters must be present and be double quotes. 
>============================
>
>It means "url('string')" and not "'url(string)'".
>
>Same for all other mentions of url( ) in the errata.
>
>-- 
>- Linux produces remarkedly less hot air than Windows: under
>Windows, the processor gets hot after just a few minutes...
>- Yes, but it never stays on long enough to burn out!
Received on Friday, 25 October 2002 12:36:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:10 GMT