OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Attribute 'src' cannot have a value...

Given the template code below, I get a warning about the <imageobject  
role="fo"/> section. The error is...

     [warning] Attribute 'src' cannot have a value of "diagrams/ 
orgchart.pdf": should be either 'inherit' or a URI: src="url(...)".

I'm not sure if this indicates a problem with my markup, or if it's  
something specific to the fo processor I'm using (XEP).

The PDF output looks fine, so it's not making a functional  
difference, but I really dislike warnings. ;)


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
                       "http://www.docbook.org/xml/4.4/docbookx.dtd"; [
<!ENTITY copyholder "John Q. Public">
<?xml-stylesheet href="css/docbook.css" type="text/css"?>
     <imagedata fileref="franklin-trans.png"/>
      <orgname>Foo University</orgname>
      <orgdiv>Geoblah Master's Program</orgdiv>
    <para> This document expires one year from the last revision  
     <revremark> This document expires one year from the above  
revision date.
    <para>This is a test of the ligatures fi and fl.</para>
     <title>Mill flow diagram</title>
      <imageobject role="html">
       <imagedata fileref="diagrams/orgchart.png"/>
      <imageobject role="fo">
       <!-- For autofit to work right, need XSL stylesheets =>1.69 -->
       <imagedata scalefit="1" width="100%" contentdepth="100%"  
    <figure id="query1">
     <title>Given SELECT statement</title>
   <title>Test Cases</title>
    <title>Unit Case</title>
     <title>Entrance Criteria</title>
     <title>Exit Criteria</title>
     <title>Test Procedure</title>
     <title>Actual Results</title>
   <para>This document was marked up using DocBook XML and  
transformed for print
    using the XEP FO engine from RenderX and the DocBook XSLT  
stylesheets by
    Norman Walsh.</para>
   <para>For the print version, the text font is Times; the heading  
font is
    Helvetica; and the code font is Linotype OCR A.</para>

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]