You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Matthieu Benéteau <m....@quaternove.fr> on 2002/03/14 19:08:05 UTC

I'd really love to POST forms...

Hi folks,

I'm using Cocoon-2.0.1 with Tomcat-4.0.1.

I'm working on a Cocoon-based editor that allows to edit and modify XML
files with a web browser. It uses several HTML forms.

RequestGenerator is just fine to retrieve the parameters of a GET request.
But as my application is growing, my forms are getting bigger and I need to
submit them with the POST method.

Unfortunately, it seems that the only generator dealing with POST is the
StreamGenerator, which expects some XML data. And I have no way to submit
the content of my forms as XML data.

Does anyone know why there is no generator to make me happy?
I would really love to POST forms!...


Matthieu


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: problems with unicode 0x85

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Robert J. Lebowitz [mailto:lebowitz@finaltouch.com]
> 
> > This sounds like you do not have correct encoding declared in your
xml
> > file, like:
> >
> > <?xml version="1.0" encoding="ISO...."?>
> >
> 
> Hmmm... I use UTF-8 encoding for my XML documents because I had
assumed it
> was a standard.  Am I suppose to be using something else?
> 

Yes, if you use invalid (for UTF-8) characters.

Vadim

> Rob
> 


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: problems with unicode 0x85

Posted by "Robert J. Lebowitz" <le...@finaltouch.com>.
> This sounds like you do not have correct encoding declared in your xml
> file, like:
>
> <?xml version="1.0" encoding="ISO...."?>
>

Hmmm... I use UTF-8 encoding for my XML documents because I had assumed it
was a standard.  Am I suppose to be using something else?

Rob


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: problems with unicode 0x85

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Robert J. Lebowitz [mailto:lebowitz@finaltouch.com]
> 
> I suspect that this is more of a generic XML question, but I have an
error
> showing up when I use the TRAXTransformer on one of my xml documents.
> 
> It doesn't like the presence of a unicode 0x85 character.
> 
> I'm not even sure where this character is within the xml source, but
was
> wondering if there isn't some kind processing instruction I can use to
> translate the 0x85 to some other acceptable value?


This sounds like you do not have correct encoding declared in your xml
file, like:

<?xml version="1.0" encoding="ISO...."?>


Vadim
 
> Rob
> 


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


problems with unicode 0x85

Posted by "Robert J. Lebowitz" <le...@finaltouch.com>.
I suspect that this is more of a generic XML question, but I have an error
showing up when I use the TRAXTransformer on one of my xml documents.

It doesn't like the presence of a unicode 0x85 character.

I'm not even sure where this character is within the xml source, but was
wondering if there isn't some kind processing instruction I can use to
translate the 0x85 to some other acceptable value?

Rob




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: I'd really love to POST forms...

Posted by Matthieu Beneteau <m....@quaternove.fr>.
Ok, my mistake...
I must confess I hadn't even tried (!), and it perfectly worked at the first
try.
My apologies...

Thanks Vadim !

Matthieu


> -----Message d'origine-----
> De : Vadim Gritsenko
> [mailto:vadim.gritsenko@verizon.netm.beneteau@quaternove.fr]
> Envoye : jeudi 14 mars 2002 19:54
> Objet : RE: I'd really love to POST forms...
>
>
> > From: Matthieu Benйteau [mailto:m.beneteau@quaternove.fr]
> >
> > Hi folks,
> >
> > I'm using Cocoon-2.0.1 with Tomcat-4.0.1.
> >
> > I'm working on a Cocoon-based editor that allows to edit and modify
> XML
> > files with a web browser. It uses several HTML forms.
> >
> > RequestGenerator is just fine to retrieve the parameters of a GET
> request.
> > But as my application is growing, my forms are getting bigger and I
> need to
> > submit them with the POST method.
>
> RequestGenerator *should* work with posted forms also. Please try it;
> get back if it does not work with patches ;) or bug report.
>
> Vadim
>
> > Unfortunately, it seems that the only generator dealing with POST is
> the
> > StreamGenerator, which expects some XML data. And I have no way to
> submit
> > the content of my forms as XML data.
> >
> > Does anyone know why there is no generator to make me happy?
> > I would really love to POST forms!...
> >
> >
> > Matthieu
> >
> >
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >
> > To unsubscribe, e-mail: <co...@xml.apache.org>
> > For additional commands, e-mail: <co...@xml.apache.org>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: I'd really love to POST forms...

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Matthieu Benйteau [mailto:m.beneteau@quaternove.fr]
> 
> Hi folks,
> 
> I'm using Cocoon-2.0.1 with Tomcat-4.0.1.
> 
> I'm working on a Cocoon-based editor that allows to edit and modify
XML
> files with a web browser. It uses several HTML forms.
> 
> RequestGenerator is just fine to retrieve the parameters of a GET
request.
> But as my application is growing, my forms are getting bigger and I
need to
> submit them with the POST method.

RequestGenerator *should* work with posted forms also. Please try it;
get back if it does not work with patches ;) or bug report.

Vadim
 
> Unfortunately, it seems that the only generator dealing with POST is
the
> StreamGenerator, which expects some XML data. And I have no way to
submit
> the content of my forms as XML data.
> 
> Does anyone know why there is no generator to make me happy?
> I would really love to POST forms!...
> 
> 
> Matthieu
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>