Giter Club home page Giter Club logo

foprenderer's People

Contributors

dgeissl avatar jakobwenzel avatar ramonwirsch avatar vjlamp avatar

Stargazers

 avatar

Watchers

 avatar

foprenderer's Issues

resources does not seem to be a valid render parameter

> Cannot set the value of read-only property 'resources' for project ':doc:userguide' of type org.gradle.api.Project.

It seems like I should set resourcesBaseDir = file('resource') instead of resources = file('resource')

Avoid downloading DTD files

I would like to convert an HTML page to PDF using your plugin. However, I noticed that the transform process is quite slow. Via --debug I noticed that most time is spent waiting on HTTP connections, retrieving the DTD schemas for the input document.

The start of my input document looks like this:

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

Is there a way I can feed it the .dtd files locally so it wont try to download them over the heavily throttled w3.org connection?

Can not validate UBL

Can not validate UBL. Reporting error:

> unknown protocol: urn

Configuration fragment

fopRenderer {
    schemas {
        schemaUBL {
            files = file('tmp.xml')
            schemaUri = 'urn:oasis:names:specification:ubl:schema:xsd:Invoice-2'
            offlineSchema = file('schemas/maindoc/UBL-Invoice-2.0.xsd')
        }
    }
...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.