cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henning von Bargen <H.vonBar...@Triestram-Partner.de>
Subject AW: SQL processor problem
Date Fri, 19 May 2000 14:24:45 GMT
Try <?xml version="1.0" encoding="ISO8859-1" ?>
Hope this helps
Henning


> -----Ursprüngliche Nachricht-----
> Von:	Nacho [SMTP:nacho@siapi.es]
> Gesendet am:	Freitag, 19. Mai 2000 16:20
> An:	'cocoon-users@xml.apache.org'
> Betreff:	RE: SQL processor problem
> 
> 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

Mime
View raw message