using both Xalan and Saxon with C3
Hi guys, Just wondering how I would configure a C3 project so I could use both Xalan and Saxon from my sitemap and java I currently took the approach to just create a file META-INF/services/javax.xml.transform.TransformerFactory With following content: net.sf.saxon.TransformerFactoryImpl But I guess that restricts me to always use Saxon by default? Robby - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: CForms Character Encoding
On 04/12/2012 13:08, Peter Sparkes wrote: On 04/12/2012 09:15, Peter Sparkes wrote: On 04/12/2012 08:46, Francesco Chicchiriccò wrote: On 04/12/2012 09:40, Peter Sparkes wrote: I am using C.2.11 I have a CForm implementation and there are, in the xml text, special characters such as: £, Â, ⅗ and â I am using UTF-8 encoding and such characters in the xml file are correctly displaced in the CForm and when the form is saved they are correctly saved in the xml file. However, I am building another CForm, within the same Cocoon application, this time using the JXTemplate Generator and I am having encoding problems; the above characters are not correctly saved in the xml file. In the sitemap I have: I suspect the locale setting but do not know how to set it to UTF-8 Hi Peter, did you take a look at [1] and [2] (for C2.2 but most concepts apply to C2.1 as well)? Regards. [1] http://wiki.apache.org/cocoon/RequestParameterEncoding [2] http://cocoon.apache.org/2.2/1366_1_1.html Hi Francesco, No, but I will now Thank you Peter Hi Francesco, All working now Thank you again You're welcome :-) Regard. -- Francesco Chicchiriccò ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http://people.apache.org/~ilgrosso/ - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: CForms Character Encoding
On 04/12/2012 09:15, Peter Sparkes wrote: On 04/12/2012 08:46, Francesco Chicchiriccò wrote: On 04/12/2012 09:40, Peter Sparkes wrote: I am using C.2.11 I have a CForm implementation and there are, in the xml text, special characters such as: £, Â, ⅗ and â I am using UTF-8 encoding and such characters in the xml file are correctly displaced in the CForm and when the form is saved they are correctly saved in the xml file. However, I am building another CForm, within the same Cocoon application, this time using the JXTemplate Generator and I am having encoding problems; the above characters are not correctly saved in the xml file. In the sitemap I have: I suspect the locale setting but do not know how to set it to UTF-8 Hi Peter, did you take a look at [1] and [2] (for C2.2 but most concepts apply to C2.1 as well)? Regards. [1] http://wiki.apache.org/cocoon/RequestParameterEncoding [2] http://cocoon.apache.org/2.2/1366_1_1.html Hi Francesco, No, but I will now Thank you Peter Hi Francesco, All working now Thank you again Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: CForms Character Encoding
On 04/12/2012 08:46, Francesco Chicchiriccò wrote: On 04/12/2012 09:40, Peter Sparkes wrote: I am using C.2.11 I have a CForm implementation and there are, in the xml text, special characters such as: £, Â, ⅗ and â I am using UTF-8 encoding and such characters in the xml file are correctly displaced in the CForm and when the form is saved they are correctly saved in the xml file. However, I am building another CForm, within the same Cocoon application, this time using the JXTemplate Generator and I am having encoding problems; the above characters are not correctly saved in the xml file. In the sitemap I have: I suspect the locale setting but do not know how to set it to UTF-8 Hi Peter, did you take a look at [1] and [2] (for C2.2 but most concepts apply to C2.1 as well)? Regards. [1] http://wiki.apache.org/cocoon/RequestParameterEncoding [2] http://cocoon.apache.org/2.2/1366_1_1.html Hi Francesco, No, but I will now Thank you Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: CForms Character Encoding
On 04/12/2012 09:40, Peter Sparkes wrote: I am using C.2.11 I have a CForm implementation and there are, in the xml text, special characters such as: £, Â, ⅗ and â I am using UTF-8 encoding and such characters in the xml file are correctly displaced in the CForm and when the form is saved they are correctly saved in the xml file. However, I am building another CForm, within the same Cocoon application, this time using the JXTemplate Generator and I am having encoding problems; the above characters are not correctly saved in the xml file. In the sitemap I have: I suspect the locale setting but do not know how to set it to UTF-8 Hi Peter, did you take a look at [1] and [2] (for C2.2 but most concepts apply to C2.1 as well)? Regards. [1] http://wiki.apache.org/cocoon/RequestParameterEncoding [2] http://cocoon.apache.org/2.2/1366_1_1.html -- Francesco Chicchiriccò ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http://people.apache.org/~ilgrosso/ - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
CForms Character Encoding
I am using C.2.11 I have a CForm implementation and there are, in the xml text, special characters such as: £, Â, ⅗ and â I am using UTF-8 encoding and such characters in the xml file are correctly displaced in the CForm and when the form is saved they are correctly saved in the xml file. However, I am building another CForm, within the same Cocoon application, this time using the JXTemplate Generator and I am having encoding problems; the above characters are not correctly saved in the xml file. In the sitemap I have: I suspect the locale setting but do not know how to set it to UTF-8 Help please Peter - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org