The need for url() syntax for <uri-specification>

Hi folks!

Looking at XSLFO 7.28.7, the src= property value is <uri-specification>.

Looking at 5.11 <uri-specification> explicitly includes the syntax "url(" 
and other associated characters.

Looking at 6.6.1.1.2 I see: <fo:external-graphic src="TH0317A.jpg"/>

This result comes from: <fo:external-graphic src="{@image}"/>

Should this not be: <fo:external-graphic src='url("{@image}")'/>

That way one doesn't need to examine @image for the presence of a single 
quote (and according to RFC2396 Section 2.4.3 the double-quote isn't a 
valid URI character).

I've noted XSLFO manufacturers to not appear to require the "url()" syntax.

Should I be telling my students it is mandatory?

...................... Ken

--
Upcoming: 3-days XSLT/XPath and/or 2-days XSLFO: June 17-21, 2002
-       : 3-days XML Information Modeling: July 31-August 2, 2002

G. Ken Holman                mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.         http://www.CraneSoftwrights.com/m/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
ISBN 0-13-065196-6                        Definitive XSLT & XPath
ISBN 1-894049-08-X  Practical Transformation Using XSLT and XPath
ISBN 1-894049-07-1               Practical Formatting Using XSLFO
XSL/XML/DSSSL/SGML/OmniMark services, books(electronic, printed),
articles, training(instructor-live,Internet-live,web/CD,licensed)
Next public training:   2002-04-08,09,10,11,05-06,07,09,10,13,20,
-                                06-04,07,10,11,13,14,17,20,07-31

Received on Friday, 22 March 2002 04:17:05 UTC