Problem with fo:external-graphic

Hello,

I've problems with images in pdf.
I've been trying to run  examples with external images but I always have
errors. When I run the example found in  Elliote Rusty Harold's book,
chapter15, 15-7, I get the pdf without the image and I get this error :
                                                                   
 ... formatting FOs into areas                                     
  [1Error while creating area : Error while recovering Image       
 Informations (http:/                                              
 /www.ibiblio.org/xml/images/atom.jpg) : www.ibiblio.org           
 ] [2Error while creating area : Error while recovering Image      
 Informations (http:                                               
 //www.ibiblio.org/xml/images/atom.jpg) : www.ibiblio.org          
 ] [3Error while creating area : Error while recovering Image      
 Informations (http:                                               
 //www.ibiblio.org/xml/images/atom.jpg) : www.ibiblio.org          
 ] [4Error while creating area : Error while recovering Image      
 Informations (http:                                               
 //www.ibiblio.org/xml/images/atom.jpg) : www.ibiblio.org          
 ] [5Error while creating area : Error while recovering Image      
 Informations (http:                                               
 //www.ibiblio.org/xml/images/atom.jpg) : www.ibiblio.org          
 ]                                                                 
 rendering areas to PDF                                            
 writing out PDF                                                   
                                                                   
 Can somebody say me what I've been forgotten or what is wrong ?   
                                                                   
 Thanks a lot in advance                                           
                                                                   
 Palma.                                                            
                                                                   
 xsl file used  (chapter15, 15-7) :                                
                                                                   
 <?xml version="1.0"?>                                             
 <xsl:stylesheet version="1.0"                                     
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"                
   xmlns:fo="http://www.w3.org/1999/XSL/Format">                   
                                                                   
  <xsl:template match="/">                                         
     <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">        
                                                                   
       <fo:layout-master-set>                                      
                                                                   
         <fo:simple-page-master master-name="A4"                   
           page-width="297mm"  page-height="210mm"                 
           margin-top="0.5in"  margin-bottom="0.5in"               
           margin-left="0.5in" margin-right="0.5in">               
           <fo:region-before extent="1.0in"/>                      
           <fo:region-body margin-top="1.0in"                      
                          margin-bottom="1.0in"/>                  
           <fo:region-after  extent="1.0in"/>                      
         </fo:simple-page-master>                                  
                                                                   
       </fo:layout-master-set>                                     
                                                                   
       <fo:page-sequence master-name="A4"                          
         initial-page-number="1" language="en" country="us">       
                                                                   
         <fo:static-content flow-name="xsl-region-before">         
           <fo:block>                                              
            <fo:external-graphic                                   
              src="http://ibiblio.org/xml/images/atom.jpg"/>       
             The Periodic Table                                    
           </fo:block>                                             
         </fo:static-content>                                      
                                                                   
         <fo:static-content flow-name="xsl-region-after">          
           <fo:block>                                              
             <fo:leader leader-pattern="rule"                      
                       leader-length="18cm"/>                      
           </fo:block>                                             
           <fo:block>p. <fo:page-number/></fo:block>               
         </fo:static-content>                                      
                                                                   
         <fo:flow flow-name="xsl-region-body">                     
           <xsl:apply-templates select="//ATOM"/>                  
         </fo:flow>                                                
                                                                   
       </fo:page-sequence>                                         
                                                                   
     </fo:root>                                                    
  </xsl:template>                                                  
                                                                   
  <xsl:template match="ATOM">                                      
     <fo:block><xsl:value-of select="NAME"/></fo:block>            
  </xsl:template>                                                  
                                                                   
 </xsl:stylesheet>                                                 
                                                                   
                                                                   

Received on Tuesday, 6 March 2001 09:58:26 UTC