d from the servlet container
which causes problems. Try to use the Xerces component instead of the
SAXParser component to exclude this possiblity.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
o bug. I agree that it violates user
assumptions on how the whole mess ought to be resolved. There are a
few hurdles on the way which prevent simple fixes on the FOP side
though.
J.Pietschmann
-
To unsubscribe, e-mail: [
ernal
graphic, or use a full absolute URL to an external URL for the
reference.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Carmona Perez, David wrote:
But I wonder why some files are processed ok and others don't, or why can I
do it from the command line.
Those without SVG (inline or external images) should be ok.
J.Pietschmann
-
To unsubscri
the config file.
You can find more on the latter in the COcoon docs and the
Wiki.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
lp about XSLT, check the XSL list:
http://www.mulberrytech.com/xsl/xsl-list/
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
obody can actually try to
reproduce your problem.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
has a list.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
matcher the application does not seem to have a session and therefore no
XML can be generated (we user readDOMSession transformers).
You can try to embed the dynamic SVGs directly into the
FO as fo:instream-foreign-object. Use aggregation or
XInclude to get the data into the pipeline.
J.Pietschmann
and batik
jars in the Cocoon lib by the FOP and Batik jars from the FOP
distribution. This may have negative impacts on Cocoons SVG
serializer though, so you should not use a PDF generating pipeline
which uses embedded or referenced SVGs and a SVG generating
pipeline at the same time.
J.Pi
8 encoding is definitely pointless.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yury Mikhienko wrote:
Ok, the PDF serializer works properly (but with .ttf fonts only),
PFM fonts should work too, as well many OpenType fonts (OpenType
extends TrueType).
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL
cocoon user wrote:
Is it possible to generate PDF forms (editable fields within PDF) using XSL:FO?
No. Check the spec for details.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
ormer and a DOM object.
Have you already looked at
http://xml.apache.org/fop/embedding.html
http://xml.apache.org/fop/faq.html#servlet_with_xslt
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
encoded
bytes or at least character referencces (which are a bit shorter).
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
che.org/fop/faq.html
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
with
external http links. THe PDF should display fine though, only clicking
the link results in an obscure error message.
Can you generate the PDF with the FOP CLI?
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
my graphic;
if I access it through cocoon URL I get a blank screen result and no
error messages.
Do you get a PDF with some stuff but missing the graphic?
In any case, first check the Cocoon logs and also the tomcat
stdout for errors.
J.Pietschm
esting point is that
the letter ł is not in ISO-8859-1 but apparently in ISO-8859-2
(the encoding of this mail message). If this was really delivered
to the browser and not just caused by a clever cut&paste, I'm
really interested how this got out of Cocoon without obvious
configuration
http://www.lowagie.com/iText/
- PJ http://www.etymon.com/pj/index.html
Whether they have any features you need is something you
have to find out yourself. Also, searching SourceForge and
FreshMeat and perhaps Savannah may turn up more candidates.
J.Pietsc
sh...
Writing long lines is a mistake independent of the native
language...
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
e.org/wiki/apachewiki.cgi?FOPAvalonization
Also, it's a Wiki, you *can* edit it to bring in your ideas.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ns or uses its
own input format to generate PDF with forms.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Guenther Schmidt wrote:
However what did you mean with the "exclude-result-prefix-prefixes" ?
Should be exclude-result-prefixes. Look it up in the spec.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
refix doesn't
matter much, it is not necessary to use the same as in the source
XML. You can add the prefix to the exclude-result-prefix-prefixes
list so that your result document wouldn't be polluted.
...
J.Pietschmann
-
[EMAIL PROTECTED] wrote:
entity encoding error within an inline java script
Dear all,
I have a stylesheet with inline javascript.
I use CDATA and as follows to avoid coding
entities:
...
why Cocoon behaves different dependent on
browser usage?? Here are the two HTTP GET requests sent by IE
The browser is responsible for issuing the GETs, not Cocoon.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
and it will work regardless
whether whitespace nodes are stripped.
There's half a zillion other possibilities to express the same
or similar conditions. If you give a description of the effect
you want to achieve, a proper exp
.mulberrytech.com/xsl/xsl-list/
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <
an element?
Get a FOP distribution, you'll find both a XSD and a DTD. Also
check the spec
http://www.w3.org/TR/xsl/
the reference at zvon
http://zvon.org
and the list of FOP limitations
http://xml.apache.org/fop
J.Pietsc
put HTML snippets into a database. If you
want to extract them with Cocoon and have them delivered
as HTML in the output, you'll have to run them through an
XML parser. Just forget about simple solutions.
J.Pietschmann
-
Please
this onto cocoon
the pictures don't show up. What's wrong? The images and the fo file are
in the same directory. However, I don't map any of these images just the
fo file.
You probably need to set the baseDir for FOP. Look it up
in the documentation for the fo2pdf serializer.
e error message described there in the
Cocoon logs.
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe
#x27;m at a loss
Even recent textbooks have errors. In case of doubt
1. Read the FO spec.
2. Ask on the fop-user list.
It is also recommended to use the FOP CLI for initial development
of the style sheet and deploy to Cocoon only after some debugging.
You'
tware and services too...
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL P
) under its control.
What I would like to see now is a style guide for XML documents that will be
common to all published cocoon info.
That's xdocs.
You might want to take a look at Forrest:
http://xml.apache.org/forrest
- Original Message -
.
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional comm
using
namespaces and matching
HTH
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail:
ggregation or XInclude.
Search the list archive for details.
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To uns
used to snipping those old quotes?
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail:
Cocoon XML serializer can't output an internal subset.
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To uns
en know
where to find specs got used to.
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail:
oes
not necessarily denote an error. You should provide a bit
more context (and enhance your web searching skills).
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <
the Cocoon doc, in particular in the section
about generators
-Message d'origine-
In the older days it was considered good netiquette to snip old
unnecessary quotes.
J.Pietschmann
-
Please check that your question
elimiter.
This is a FAQ, ampersands must be escaped in XML. Use
src="http://www.moreover.com/cgi-local/page?o=xml&c=Virus%20warnings"/>
For details, consult the XML spec.
J.Pietschmann
-
Please check that
tricky for Unix platforms.
Win2k, WinXP and recent Linux releases work; WinME,
WinNT don't work out of the box.
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. &l
k of the work is done.
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROT
a 72dpi resolution.
This may overflow the available space, which in turn may
cause the image to be dropped (you should see an overflow mark
in the logs).
J.Pietschmann
-
Please check that your question has not already been
post HTML mail.
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
)
and no base directory is specified
(Cocoon 2.1.dev, JDK 1.4.1, FOP 0.20.4)
I get something like "cannot set logger for fo2pdf component" with
a somewhat patched C2.0.2 and a FOP 0.20.5cvs. Maybe I should try
C2.1 again.
J.P
Joerg Heinicke wrote:
Have a look into the log files (something like FileNotFoundException)
and look, how the path is resolved.
FO image source URLs are not resolved and leave no trace in the logs.
It may be necessary to look into the stdout/stderr for the FOP error
message.
J.Pietschmann
way (your
images are publicly accessible, unless you restrict access in
the web server to localhost)
http://localhost/cocoon/fop-img/{$src}"/>
BTW using images inline will not cause line height to be adjusted
or something, check before that your result looks ok.
J.Pie
:
HTH
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
Fo
erefore it wont be properly transported through the
SAX pipeline to the next component. Not even if the next
component in the pipeline is a text serializer. I'm not
sure whether this is Saxon specific (a text serializer
uses an XSLT processor too), it might work with Xalan.
x27;t notice anything. Problems arise
if the URL points to dynamic content where a second GET
can cause different stuff to be retrieved, in particular if
the content was'n completely read or wasn't cached for other
reasons (like SSL).
Disclaimer: most
to be d-o-e'd on output is not
transported through the SAX pipelines Cocoon uses for plumbing
it's components.
One work around would be to do the opposite: emulate serializing
in XSLT and use a text serializer, with some magic so that the
client gets a content-type=text/
tions.
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For addit
ng
content). I'd add the cache issue. The performance problem
is easily dealt with.
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/f
allocate an XML parser, feed it the string, and either
get a DOM document or feed the parser's SAX events directly
into the output stream. You'll probably need a custom
transformer or generator for this task.
J.Pietschmann
-
, you don't have to search through a bunch
of logs for problems...
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.h
same
fop.jar with the same xalan-, and xerces-version outside of cocoon.
Cocoon runs in a servlet container which might have its own ideas
on which parser to use. You might want to upgrade the parser in the
servlet container's lib directory as well.
J.P
, perhaps it's serialized as text instead of XML.
Another possibility could be that the original poster complained
about a known problem where SVG text is mangled.
J.Pietschmann
-
Please check that your question has not al
uch an element somewhere else, it's a "can't
happen": check whether you are actually using the files you think
you are using. Recompiling everything from scratch and (re)installing
the most recent JVM for
is working. FOP produces the same error but only per
page.
Probably you use different FOP versions. The 0.20.4 release should be
able to break the loop.
J.Pietschmann
-
Please check that your question has not already been answe
ry Unicode characters in
a string).
If you are pulling the stuff from a DB or something, either
try to get UTF-8 code into the source form the start, or you
have to pass it somehow through a parser.
J.Pietschmann
-
Please check
output to the rest
of the data.
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <
> difficult in a corporate environment.
TANSTAAFL
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
T
George Pieri wrote:
> Should I be able to change
>
> 1) the fop_0_15_0.jar to the new fop.jar
FOP's API evolved quite significantly between 0.15 and 0.20.4,
with major changes between 0.20.1 and 0.20.2.
I don't expect the new jar to work with an old Cocoon wrap
you do a transformation, why can't you strip the
leading slash while transforming?
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apach
r the
web application, use the "environment" button in the "general"
tab for the web application to set it. I had to put all other
jars there too, otherwise I experienced classloader problems, but
this depends on your actual patch level.
J.Pietschmann
--
n tha Batik raster processor. Search the serializer source
for "close()", if there is none, rise a question on batik-user,
perhaps someone over there knows. Sifting through the Batik
source is only for beings more persistent than
wants
the parser to validate source documents ...
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-ma
tually gets used instead of the
newer version.
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe,
ign instance of java.util.Hashtable
> to field org.apache.fop.layout.hyphenation.HyphenationTree.stoplist of type
> java.util.HashMap in instance of
The problem is the buildtools.jar file, which is not properly
rebuilt automatically. You can try to "build -f buildtools.xml",
t
P command line application for problems.
If this doesn't help, and you can get a small XML+XSL
combo which reproduces the problem with the FOP command
line app, post it to fop-user.
J.Pietschmann
-
Please check that your questi
ormation
result is serialized but causes trouble if the result is
consumed via SAX events by something else, as it happens
in Cocoon and the FOP command above. Try *upgrading* to
Xalan 2.4, and you'll probably see an error message.
J.Pietschmann
---
Skladovs, Victor wrote:
> The question is how could I replace xalan and xerces in cocoon? What
> must I take into account so that the cocoon works stable?
Xalan-2.0.0 has many small but very nasty bugs, don't
use it. Rather, upgrade the FOP jar.
J.
Vadim Gritsenko wrote:
> Can you clarify - is it Cocoon's, Xalan's, or FOP's CVS?
FOP CVS, branch tag fop-0_20_2-maintain
> PS How can I better call you; "J." sounds strange :)
Joerg Pietschmann
-
Please check that your qu
henated word jumping around
is actually a FOP bug. Yes, it depends on the parser, more
specific, it depends on how the parser passes text up.
The bug is fixed in CVS (maintenance branch).
J.Pietschmann
-
Please check that your quest
T would in effect mean moving converting a chunk of my action
> handler logic into an XSLT.
If your metadata is XML, you can aggregate it with the
request parameters in order to filter them.
J.Pietschmann
-
Please check that your
...
(beware: untested code)
A filter XSLT can be basically the generic copy-through
template and empty templates for the parameters you don't
want:
(beware: element and attr names just guessed).
HTH
J.Pietschmann
-
Please
have a real lot
of descriptions (run time is O(n*log(n)) instead of
O(n)), but then, I don't think there is an efficient
solution without using an extension function for
lexical string comparisions.
J.Pietschmann
-
Pl
you try your WebApp with Tomcat before? I recommend
debugging it this way.
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.htm
e first "additional classpath" entry for the
servlet.
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To
a source for more help.
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[
, Tomcat or whatever. If the XML is processed
multiple times too, check whether everything is cacheable.
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apa
g you need (like ISO-8859-1).
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECT
e
a stripped down DocBook, or the HTML definitions (from
http://www.w3.org/TR/html401/sgml/entities.html)
and use the aliases defined there, for example ö for ö.
J.Pietschmann
-
Please check that your question has
Vadim Gritsenko wrote:
> Ben Young wrote:
>> Is it possible to set up a sitemap that will select a different
>> stylesheet
>> according to the XML Schema or doctype used in the content file?
> No way that I'm aware of.
There is some talk on forrest-dev to implement
s.
I don't remember user-visible changes from 0.20.4rc to the final release,
just bug fixes.
It would help if you detailed the "don't work" a bit, preferably on
the fop-user list.
J.Pietschmann
-
Please check
to do anything at all. Entities
are only used in serialized XML, as the notation \u
is only used in JS source. The parser converts the XML
entieties and character references into the proper
internal Unicode character, which should be the same
the JS interpreter e
Phil Blake wrote:
...
> Then a second stylesheet named BluePage.xsl imports StandardPage.xsl. It
> overrides only one template - match="/*" mode="pageBody"
There are a few more differences, namely
> xmlns:psi="http://prescience.org/logicsheets/app/2.0";
and, most odd:
> version="2.0">
g Paragraphs and the like is possible but not very
nice in XSLT. You can look into the XSL FAQ and the XSL
list archive, or ask on the XSL list:
http://www.mulberrytech.com/xsl/xsl-list/
This topic comes up now and then on the list, I'm sure
there is something in the archive, you just
un. There are various ways to circumvent it,
check the Cocoon documentation for "running..on
headless servers"
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before
ng filenames instead of paths and a Cocoon regexp matcher to
map them
URL products-productA -> mapped to /products/productA
No nested directories -> no problems with relative URLs. :-)
J.Pietschmann
-
Plea
or me in various environments. You might experience
trouble with the JPG and other SVG-to-graphics serializers
though.
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before po
h knowledge) to rebuild FOP with the
> current batik version
I don't think you'll like it.
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http:
d perhaps catalina.out.
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECT
mponents can take a UseRequestParameter parameter
(os similar). Or did you have a different meaning for "parameter"
in mind?
J.Pietschmann
-
Please check that your question has not already been answered in the
FAQ before postin
n to set the background image of the PDF.
Background-image is more or less supported in the current
FOP release 0.20.4. Get a distribution and replace the fop.jar
distributed with Cocoon.
J.Pietschmann
-
Please check that you
1 - 100 of 135 matches
Mail list logo