Next in thread → Next in month →

Re: [docbook-apps] Namespace error with XSLTPROC

From
<>
Date
2008-06-18T03:20:38+00:00
ID
Thread
Re: [docbook-apps] Namespace error with XSLTPROC
Its OK now!

 

This was caused by a double import of "fo/docbook.xsl". It was included in 
two of my stylesheets (one was imported by the other).

 

This error only showed up with XSLTPROC and not SAXON 6.5.5.

 

One question that this rises is - Shouldn't the stock Docbook stylesheets 
give a warning if you include it twice? (Sorry if this is an ignorant question 
;-)

 

Regards,

Dean Nelson

 

 

In a message dated 6/16/2008 5:02:12 P.M. Pacific Daylight Time, 
 writes:

  
Hello

  
 

  
I am looking at moving my Docbook processing to XSLTPROC. During the 
  conversion I see these messages:

  
------------

  
Using libxml 20632, libxslt 10123 and libexslt 813
xsltproc was 
  compiled against libxml 20632, libxslt 10123 and libexslt 813
libxslt 10123 
  was compiled against libxml 20632
libexslt 813 was compiled against libxml 
  20632
Parsing stylesheet met-pdf.xsl took 0 ms
file:///c:/doc/doctools/docbook-xsl-1.74.0/fo/docbook.xsl:257: 
  namespace error : Namespace prefix fo on root is not defined
  
  <fo:root 
  xsl:use-attribute-sets="root.properties">
                                                   
  ^
file:///c:/doc/doctools/docbook-xsl-1.74.0/fo/docbook.xsl:284: 
  namespace error : Namespace prefix fo on bookmark-tree is not 
  defined
        
  <fo:bookmark-tree>
                         
  ^
file:///c:/doc/doctools/docbook-xsl-1.74.0/fo/docbook.xsl:307: 
  namespace error : Namespace prefix fo on bookmark-tree is not 
  defined
        
  <fo:bookmark-tree>
   

  
------------

  
The system complete with no problem, but I did not get any messages like 
  this when processing with SAXON 6.5.5 and XSL-1.74.0.

  
 

  
 

  
What causes this?

  
 

  
This also does the same thing when using the standard fo/docbook.xsl 
  .

  
 

  
Is this something that I should be concerned with?

  
 

  
 

  
Regards,

  
 

  
Dean Nelson

  
 

  
 

  
 

  

  
  Gas prices getting you down? Search AOL Autos for fuel-efficient used 
  cars.

 

Regards,

Dean Nelson

"Faith is acting before 
feeling." - Rick Warren

Gas prices getting you down? Search AOL Autos for fuel-efficient used cars.
Next in thread → Next in month →