| java.util.zip.ZipException: error in opening zip file
Ok, sorry, my own bad... OdfPackage.loadPackage() was being called several times. This worked on Files but of course doesn't work on InputStreams.
|
odftoolkit
» ODFDOM
|
February 02, 2010 22:06
by: semantic-web.dk
|
| java.util.zip.ZipException: error in opening zip file
Hey, I've changed my ODF package input from File to InputStream since I wanted to be able to handle files from the Web as well as uploaded files. So the stream can be either HttpInputStream or FileInp . . .
|
odftoolkit
» ODFDOM
|
February 02, 2010 22:06
by: semantic-web.dk
|
| odfvalidator.jar
Btw, on my way of struggling through this, I think I found a bug in build.xml: "..code.." This target refers to variables opendocument.v12.part1.schema.dir and opendocument.v12.part3.schema.dir . . .
|
odftoolkit
» ODF Toolkit General
|
January 27, 2010 18:14
by: semantic-web.dk
|
| odfvalidator.jar
Hey, I want to use ODFValidator as a library in my Java program. I wonder why odfvalidator.jar is not provided as a download? Going through that url: "How to start" build process is a pain. I unders . . .
|
odftoolkit
» ODF Toolkit General
|
January 27, 2010 18:14
by: semantic-web.dk
|
| Transforming with XSLT -- issues with URIResolver?
Hey, what kind of issue? :) Martynas
|
odftoolkit
» ODFDOM
|
November 23, 2009 20:20
by: Svante Schubert
|
| Transforming with XSLT -- issues with URIResolver?
I investigated further and it seems that the problem lies in a branch of OdfPackage.Resolver.resolveEntity() starting at line url: 387 . InputStream in returns file contents from the package as expect . . .
|
odftoolkit
» ODFDOM
|
November 23, 2009 20:20
by: Svante Schubert
|
| Transforming with XSLT -- issues with URIResolver?
Hey, I want to transform my ODT to XHTML using XSLT stylesheets from url: http://xml.openoffice.org/odf2xhtml and org.odftoolkit.odfdom.pkg.OdfXMLHelper. My code goes like this: "..code.." I get . . .
|
odftoolkit
» ODFDOM
|
November 23, 2009 20:20
by: Svante Schubert
|