Hi,
I would like to use XMLFormto collect data
through a wizard andsavedata in a DOM tree (bindingforms to
DOM nodes). How can be produced SAX events from this DOM
tree?
Thanks,
Oskar
Hello,
I would like to configure validation (against
anXML schema)in some pipelines. When I turn on the validation
feature of the parser in cocoon.xconf, I'm asked for the sitemapgrammar,
even if the sitemap doesn't refer to any schema or DTD.I modify the
sitemap in order to do the
Hello,
I would like to configure validation (against
anXML schema)in some pipelines. When I turn on the validation
feature of the parser in cocoon.xconf, I'm asked for the sitemapgrammar,
even if the sitemap doesn't refer to any schema or DTD.I modify the
sitemap in order to do the
Hello,
I want to upload an xml file to cocoon in order to
apply some transformations to it. I have seen upload.xsp example, but I don't
wantto save the file in the server, just take the input stream in the http
request and pass it to a transformer. How could it be done?
Oskar
Where is that UploadAction.java? I can't find it.
Oskar
- Original Message -
From: Sreenivasan N. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 18, 2002 1:03 PM
Subject: Re: question about uploading
Hi
Can you tell me what to do after downloading that
What does the "form-name" parameter mean in the
context of the Stream Generator?
Oskar
Hello,
Is it possible to call a pipeline, that
returnsSAX events representing an stylesheet, fromthe "src"
attribute of a map:transform element? I'm trying to do it in the
following pipeline but it doesn't work.
map:match pattern="schematronValidationResponse"
map:generate type="stream"
On Thursday, Oct 24, 2002, at 20:27 Europe/London, Oskar Casquero wrote:
Hello,
Is it possible to call a pipeline, that returns SAX events
representing an stylesheet, from the src attribute of a
map:transform element? I'm trying to do it in the following pipeline
but it doesn't work
Hello,
Has anybody tried to implement xml document
validation in cocoon? I can'tconfigure validation in cocoon.xconf, because
cocoon needs a grammar when this feature is setup. So, I would like to know if
it is a good idea to build a component that doesthe validation, and in
this case,
Hello,
I'm trying to modify StreamGenerator so it can
accept "multipart" content-type in HTTP request. To do it I'm using "marsh"
project classes (in sourceForge.net).
I've used them in a test servlet and they work
well, but when I copy the code in the StreamGenerator it doesn't work.
Hello,
When a jar file is saved in cocoon/WEB-INF/lib
directory, does cocoonconfigure it automatically, or do I have to do
something else (in cocoon.xconf, ...)? I've done a generator that needs some
classes stored in a jar file, but it seems like if it is not using
them.
Oskar
Hello,
I´vemodifiedXercesParserin order
to turn on validation, but when I configure it in cocoon.xconf, I can't start
cocoon. I've seen that this class deprecated and that cocoon uses avalon's
XercesParser. So, how can I turn on validation?
Oskar
I want to obtain a text file (not xml) from an XSLT
transformation. The problem is that after doing the transformation and
serializing the result with a text serializer, the ?xml version="1.0"? processing instruction appears at the
beginning of the text file,so I have to delete it
I'm very interested in this because I want to use some classes than only
work well with servlet's HttpServlet Request and not with cocoon's
HttpServletRequest request = (HttpServletRequest)
objectModel.get(HttpEnvironment.HTTP_REQUEST_OBJECT);
I've read in cocoon wiki that the servlet must
Hi,
Is there any alternative to HttpServletRequest request = (HttpServletRequest)
objectModel.get(HttpEnvironment.HTTP_REQUEST_OBJECT); ?
What type of object does objectModel.get(HttpEnvironment.HTTP_REQUEST_OBJECT)
return? I'm having
problems with this declaration and I think that
And what can I do to disable cocoon's automatic file uploading? I want to
send files to cocoon but not to save them in disk
And another question about
http://outerthought.net/wiki/Wiki.jsp?page=FileUploadWithAction I've seen
that the example uses
Request request =
version procesing instruction and text serializer?
In your XSLT file, right under xsl:stylesheet, include:
xsl:output omit-xml-declaration=yes method=text /
-Original Message-
From: Oskar Casquero [mailto:jtacaoio;bi.ehu.es]
Sent: Tuesday, November 05, 2002 11:31 AM
To: [EMAIL PROTECTED
Hello,
I would like to know if it is posible to define two
components that implement parser role: one ofwould be the default parser
of cocoon (with its default configuration) and the other would use xerces parser
but with the validation feature turned on (I'm thinking of looking up the
Jeremy, I have got exactly the same problem when I use saxon 6.5.2 with
cocoon 2.0.3 or cocoon 2.1 (invalid processing instruction name
(saxon:warning) at line 13 column -1 (what column is that?)). I have
configured saxon role in the same way as you (as described in
Hello,
I have done a simple pipeline in cocoon that
applies some transformations to an xml document and obtains a text
document:
map:match pattern="MAST"
map:generate
src=""/
map:transform
src=""/
map:serialize
type="text"/
/map:match
Depending on the cocoon version, the result is
far
from the data in your email. But if you send me a small XML/XSLT
combination that triggers this problem, i will check this against my
cocoon-2.0.3/saxon-6.5.2 setup and uncover the cause of the problem.
This is, what i can offer so far.
regards, hussayn
Oskar Casquero wrote:
Jeremy, I
Hello,
Does anyone know if it is possible to lock the
access to a pipeline while that pipeline is being executed? I want to use a
pipeline as a shared resource: when a user calls that pipeline from the browser,
thepipeline is locked untilit finish its execution and then
itisunlocked, being
solution, i'd like to hear about it.
I'm interested, if this helps to fix your problem, and if this
is something for the HOWTO docs ;-)
regards, hussayn
Oskar Casquero wrote:
Here you have XML/XSLT combination. Can you tell me the steps you
followed
to setup saxon role?
Thanks,
Oskar
The FilePart object represents the uploaded file.
Depending on how you configure "autosave-upload" parameter in WEB-INF/web.xml
cocoon returns a FilePartFile (the file is written to disk;
autosave-upload=true) or a FilePartArray (the file is in memory;
autosave-upload=false).Here is the
The FilePart object represents the uploaded file. Depending on how you
configure autosave-upload parameter in WEB-INF/web.xml cocoon returns a
FilePartFile (the file is written to disk; autosave-upload=true) or a
FilePartArray (the file is in memory; autosave-upload=false).
Here is the code
Hello,
I have the following pipelines in cocoon:
!-- This pipeline generates an XML document from an structured text
file --
map:match pattern=MAST_TXT2MAST_XMLresponse
map:act type=fileUploadAction
map:parameter name=file-name value=mast/
map:generate type=textparser
Hi,
I would like toserializeSAX events to a
file inside a transformer, so that I can validate the file with the parser. The
problem is that I don't how to set theserializer in order to make it able
to receive the SAX events which the transformer is receiving from the previous
component (a
{
...
super.setContentHandler(verifierHandler);
...
}
Thank you
Oskar
- Original Message -
From: Jeff Turner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 20, 2003 1:22 PM
Subject: Re: serializing inside a transformer
On Mon, Jan 20, 2003 at 01:00:41PM +0100, Oskar Casquero wrote:
Hi
Hi Jack,
I have done the same to validate an XML document with an schematron. I think
that it would be also useful to get the XPATH path of the errors in the XML
output. The template which does this is done in skeleton1-5 (axsl:template
match=*|@* mode=schematron-get-full-path); so you have to
Jack,
I also use it to validate uploaded documents. When cocoon receives the
document, first, I check with the parser (inside the generator), that the
document is well formed and valid according to a certain W3C Schema. But
there are some verifications that the W3C Schema can't check, so, for
Hi,
I am trying to do a ValidationTransformer that will validate an xml document
with a grammar (W3C Schema, RELAX NG, DTD). To do this I am using JARV, that
gives a validation interface which can control a validation engine (for
example, Xerces-2) through the suitable driver.
I have done the
Hi Angelo,
You can convert structured text to XML with Chaperon parser generator
(a parser because it parses the text and generator because it creates
an XML document) which is integrated in cocoon as a generator.
See for more details:
http://chaperon.sourceforge.net/
Hello,
My question is about exception handling in cocoon.
I've a transformer that checks the validity of an XML document. If the document
is not valid it throws an exception.
When the transformer is after a generator it works
well: it throws an exception and the error page is sent to the
Try using xsl:output encoding="ISO-8859-1"/
after the xml declaration in the stylesheet
Oskar
34 matches
Mail list logo