HTML Encoding using SQLProcessor (Cocoon)

HTML Encoding using SQLProcessor (Cocoon)

Post by Vlad Kuznetso » Thu, 09 Mar 2000 04:00:00

Hello All,

I have a problem with processing HTML through SQLProcessor (Cocoon 1.6).

I have HTML data in my Oracle database and when I am retreiving this data
using SQLProcessor, it shows me "<i>Hello<i>, buddy" instead of "Hello,
buddy" (where _Hello_ should be italicized)

SQLProcessor puts in my XML file this: "&lt;Hello&gt;, buddy", but I don't
want it to!

Any suggestions how can it be solved?

Thanks a lot,


1. Cocoon SQLProcessor problem


I'm having problems with the SQLProcessor function. I'm running Apache
1.3.11 with Jserv 1.1-2 and Cocoon 1.6 on Red Hat Linux 2.2.12-20 and I've
tried to create a simple test file and it appears that the tags for creating
the connection (as well as the <query> tag) don't seem to be recognized. For

Test file:

<?xml version="1.0" encoding="UTF-8"?>
<?cocoon-process type="sql"?>

<?xml-stylesheet href="sql_test.xsl" type="text/xsl"?>
<?cocoon-process type="xslt"?>

   <connection name="foo_con">


<query connection="foo_con">
select NAME from EMP


and what I get in the browser window is the following text line:

foobar foobar select NAME from EMP

What this tells me (and I could be wrong) is that the SQLProcessor is not
processing the tags and just spitting out the text in the tags and not
interpreting them. I've looked at the SQLProcessor code (which looks to be
right) but I haven't re-compiled it and put it into the jar (though I'm not
sure of the efficacy of this). Has anyone any ideas as too where to look?
I'm probably missing something obvious but... perhaps a second pair of eyes
will see clearer.


2. hidden files with gtar 2.43?

3. xml to html using xsl: How to preserve xml encoding ?

4. StreamMRU

5. Probs with automatic HTML encoding using Text property of node

6. Help: Where is "r_imag"?

7. transforming XML to HTML using ISO-8859-1 encoding

8. How to convert MFC based application to winnt service ?

9. XML -"Switch from current encoding to specified encoding not supported."...????using hebrew

10. Cocoon and different types of encoding

11. Cocoon 2: MYSQL, ESQL and character encoding

12. Cocoon configuration ( newbie questions

13. How do I generate XML in cocoon 2, as in cocoon 1.x?