cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nacho <na...@siapi.es>
Subject RE: SQL processor problem
Date Fri, 19 May 2000 14:34:47 GMT
Thank for your help, but this not helps , i'm using an access database
for the try and the ODBC is coded in "windows-1251" or something like
this, well the question is ¿ why the only character encoding i gets from
cocoon is "UTF-8", i've missed and important information in my last
message this <snip> is from the begining of the xml i see with ie5:

--------------------------------cut here

  <?xml version="1.0" encoding="UTF-8" ?> 
- <root>
- <ROWSET>
- <ROW ID="0">
  
--------------------------------cut here


Any idea?

Saludos ,
Ignacio J. Ortega





> -----Mensaje original-----
> De: Henning von Bargen [mailto:H.vonBargen@Triestram-Partner.de]
> Enviado el: viernes 19 de mayo de 2000 16:25
> Para: cocoon-users@xml.apache.org
> Asunto: AW: SQL processor problem
> 
> 
> 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><Visi
> ble>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
> 
> ---------------------------------------------------------------------
> 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