1 Reply Latest reply on Aug 13, 2011 6:30 AM by Adam Cameron.

    cfpresentation and invalid xml character error

    kt03 Level 1

      Hi,

       

      i have very simple code as i listed below A, B and C, but it didn't work and throw dirrent errors depend on what i have for src, can anyone help please.

      Thanks

       

      A

      <cfpresentation title="USGS Naming Conventions" directory="#expandPath('.')#/" overwrite="yes"> 
        
           <cfpresenter name="Amy" title="Developer"> 
          
          <cfpresentationslide src="#expandPath('.')#/expe16.jpg" 
               duration="10" presenter="Amy"/> 
        
          <cfpresentationslide src="#expandPath('.')#/expe15.jpg" 
               duration="10" presenter="Amy"/>
        
           </cfpresentation>

       

      An error occurred in creating the presentation.

      java.io.IOException: The character ' ' is an invalid XML character

       

      B

      <cfpresentation title="USGS Naming Conventions" directory="#expandPath('.')#/" overwrite="yes"> 
        
           <cfpresenter name="Amy" title="Developer"> 
          
          <cfpresentationslide src="https://mysever/expe16.jpg
               duration="10" presenter="Amy"/> 
        
            <cfpresentationslide src="https://mysever/expe15.jpg
               duration="10" presenter="Amy"/> 
        
           </cfpresentation>

       

      got diffrent error: coldfusion.document.DocumentProcessor$RenderException: ERROR encountered loading ....

       

       

      C: worked fine

       

      <cfpresentation title="USGS Naming Conventions" directory="#expandPath('.')#/" overwrite="yes"> 
        
           <cfpresenter name="Amy" title="Developer"> 
          
          <cfpresentationslide src="http://geonames.usgs.gov/foreign/index2.html
               duration="10" presenter="Amy"/> 
        
          <cfpresentationslide src="http://geonames.usgs.gov/foreign/index.html
               duration="10" presenter="Amy"/>
        
           </cfpresentation>