Re: [docbook-apps] Olink Processing Warnings

From
Bob Stayton <>
Date
2006-10-08T18:57:38+00:00
ID
017c01c6eb0b$a4eef850$6400a8c0@totoro
Thread
Re: [docbook-apps] Olink Processing Warnings
That's a strange error message.  Notice that 
the single quotes are included in the path.  When the processor sees single 
quotes in a select statement, it interprets the content as a string and removes 
the single quotes.  I can't understand how they survive to reach that file 
access which generates the error message.  

 

You say you get that message even when 
collect.xref.targets="only", but the stylesheet does not even attempt to open 
the olink database if it is just generating the targets file.  The fact 
that your olinks work indicates that this message is coming from some other step 
in the process, and that it succeeds when it actually needs to open the 
database.

 

Can you duplicate the error outside of 
Oxygen?

 

Bob Stayton
Sagehill Enterprises
DocBook Consulting


 

 

  
----- Original Message ----- 

  
From: 
  Miller, Ray 
  (Centech) 

  
To:  
  

  
Sent: Sunday, October 08, 2006 8:16 
  AM

  
Subject: [docbook-apps] Olink Processing 
  Warnings

  

  

  
docbook-rng-5.0b8 xsl-1.71.0 
  saxon-6.5.5 oxygen-7.2.0 (eclipse-3.2 plugin) 
  windowsXP

  
 

  
Receive this warning relating to 
  olink processing, both in database file generation <xsl:param 
  name="collect.xref.targets" select="'only'"/> and subsequent 
  transformations <xsl:param 
  name="collect.xref.targets" select="'no'"/>

  
 

  
Failure 
  reading 
  file:/usr/local/docbook/docbook-xsl/html/'/D:/workspace/foo/fooInternet/trunk/olinkdb.xml'

  
 

  
Believe the warning is based upon 
  the following stringparms:

  
 

  
<xsl:param 
  name="target.database.document" 
  select="'/D:/workspace/foo/fooInternet/trunk/olinkdb.xml'"/>

  
<xsl:param 
  name="targets.filename" 
  select="'D:/workspace/foo/fooInternet/trunk/targetdb.xml'"/>

  
 

  
Note that target.database.document requires 
  a forward slash prefix for the file to be located; unclear if this unique to 
  Saxon. Have not tested this configuration in 
  Linux.

  
 

  
The target database file is 
  processed correctly (except for the <i> tag generation in Chapter title 
  text) and the transformation correctly implements 
  olinks.

  
 

  
Unclear why this warning is 
  generated.

  
 

  
Ray