cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Oropeza <rorop...@eud.com>
Subject Re: SQL processor problem
Date Fri, 19 May 2000 14:59:34 GMT
Ok.

Did you check your XML generated code from SQL Tag lib? Look at
<Text>Telefon?/Text>. It seems the &lt; sign before closing <TEXT> tag
is
missing. Maybe is the sql taglib encoding instead your xsp encoding.

Nacho wrote:

> Hola, Rafael:
>
> I dont know how to change this encoding, it gives me the same response
> regardless of the encoding ai put into my xml file... the xml file a use
> is ....
>
> ---------------------------------------------cut here
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <?cocoon-process type="sql"?>
> <?cocoon-format type="text/xml"?>
> <root>
>  <connectiondefs>
>   <connection name="foo_connection">
>    <driver>sun.jdbc.odbc.JdbcOdbcDriver</driver>
>    <dburl>jdbc:odbc:ECOM</dburl>
>    <!--<username>foo_user</username>
>    <password>foo_password</password>-->
>   </connection>
>  </connectiondefs>
> <query connection="foo_connection">
>   select * from menu
>  </query>
> </root>
> ---------------------------------------------cut here
>
> and the response is...... i've cut& paste this <snip></snip> from my
ie5
> browser getting the above URL
>
> ---------------------------------------------cut here
> - <ROW ID No se puede mostrar la página
> No se puede ver la entrada XML con la hoja de estilo XSL. Corrija el
> error y haga clic en Refresh button, or try again later.
>
> Se encontró un carácter no válido en el contenido del texto. Línea 21,
> posición 83
> ID="16"><IdMenu>17</IdMenu><IdCliente>1</IdCliente><Parent>1</Parent><Te
> xt>Telefon?/Text><Orden>4</Orden><IdFormato>3</IdFormato><Visible>0</Vis
> ible><Level>0</Level></ROW><ROW
> ------------------------------------------------------------------------
> ----------^
> ="14">
>   <IdMenu>15</IdMenu>
>   <IdCliente>1</IdCliente>
>   <Parent>13</Parent>
>   <Text>Modems</Text>
>   <Orden>1</Orden>
>   <Visible>0</Visible>
> ---------------------------------------------cut here
>
> Saludos ,
> Ignacio J. Ortega
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org

--
Rafael Alberto Oropeza Baudet

(52) All the fun is locking horns with impossibilities.
Claes Oldenburg



Mime
View raw message