You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/09/22 23:31:14 UTC

[jira] Commented: (MPPDF-11) error loading xslt in Windows

The following comment has been added to this issue:

     Author: Arnaud HERITIER
    Created: Wed, 22 Sep 2004 5:29 PM
       Body:
If you generate your navigation file you can define it with this new property : maven.pdf.navigationFilePath

For example :
maven.pdf.navigationFilePath=${maven.gen.docs}/navigation.xml
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPPDF-11?page=comments#action_24426

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPPDF-11

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPPDF-11
    Summary: error loading xslt in Windows
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-pdf-plugin
   Versions:
             2.1

   Assignee: Arnaud HERITIER
   Reporter: Joerg Schaible

    Created: Tue, 15 Jun 2004 6:46 AM
    Updated: Wed, 22 Sep 2004 5:29 PM
Environment: Win XP

Description:
Running the pdf-plugin in Windows, the XSLT maven-pdf-plugin-2.1\plugin-resources\project2fo.xslt cannot be loaded properly because of the missing definition for the protocol and the drive letter is interpreted as protocol. See snippet below, translated error message is something like:

"Warning! Cannot load requested document: unknown protocol: c"


============== %< =============
fo:fo:
    [echo] Generating C:\Work\Projects\perActa\root/target/docs/project.fo ...

        
    
        [style] Processing C:\Work\Projects\perActa\root\xdocs\navigation.xml to C:\Work\Projects\perActa\root\target\pdf\project.fo
    [style] Loading stylesheet C:\Dokumente und Einstellungen\jos\.maven\plugins\maven-pdf-plugin-2.1\plugin-resources\project2fo.xslt
    [style] C:/Dokumente%20und%20Einstellungen/jos/.maven/plugins/maven-pdf-plugin-2.1/plugin-resources/project2fo.xslt:156:97: Warning! Angefordertes Dokument kann nicht geladen werden: unknown protocol: c
    [style] C:/Dokumente%20und%20Einstellungen/jos/.maven/plugins/maven-pdf-plugin-2.1/plugin-resources/project2fo.xslt:156:97: Warning! Angefordertes Dokument kann nicht geladen werden: unknown protocol: c

pdf:pdf:
    [echo] Generating C:\Work\Projects\perActa\root/target/pdf/essencio-perActa.pdf ...
    [echo] Config file: C:\Work\Projects\perActa\root/target/pdf/userconfig.xml
    [java] [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
    [java] [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
    [java] [INFO] FOP 0.20.5
    [java] [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
    [java] [INFO] building formatting object tree
    [java] [INFO] setting up fonts
    [java] [INFO] [1]
    [java] [ERROR] Could not load external SVG: Content is not allowed in prolog.
    [java] [ERROR] Error while creating area : No ImageReader for this type of image (file:C:/Work/Projects/perActa/root/xdocs)
    [java] [INFO] [2] (blank)
    [java] [INFO] [1]
    [java] [INFO] area contents overflows area in line 
    [java] [INFO] area contents overflows area in line 
    [java] [INFO] area contents overflows area in line 
    [java] [INFO] [2] (blank)
    [java] [INFO] [1]
    [java] [INFO] area contents overflows area in line 
    [java] [INFO] [2]
    [java] [INFO] area contents overflows area in line 
    [java] [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
    [java] [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
    [java] [INFO] [3]
    [java] [INFO] area contents overflows area in line 
    [java] [INFO] Parsing of document complete, stopping renderer
    [copy] Copying 1 file to C:\Work\Projects\perActa\root\target\docs



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org