cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Cabezuelo Vivo" <antonio.cabezu...@eresmas.com>
Subject Re: DOCTYPE problem
Date Wed, 29 Nov 2000 12:11:20 GMT
Thanks for your fast repply.

I have added the line you suggest and the problem remains.

Could you please send me the change you made to cocoon? Maybe I need it.

Thanks again,
___
Antonio Cabezuelo

----- Original Message -----
From: Antonios Peris <aperis@largemedium.com>
To: <cocoon-users@xml.apache.org>; Antonio Cabezuelo Vivo
<antonio.cabezuelo@eresmas.com>
Sent: Thursday, November 30, 2000 12:52 AM
Subject: Re: DOCTYPE problem


Nothing happens right?

Try adding this line at the beginning of your xml file:
<?cocoon-format type="text/xml"?>

I had a similar problem with different formatters. Also made a monor chance
in the Cocoon source code to make it work. Maybe you don' tneed to do it.

----- Original Message -----
From: "Antonio Cabezuelo Vivo" <antonio.cabezuelo@eresmas.com>
To: "cocoon" <cocoon-users@xml.apache.org>
Sent: Wednesday, November 29, 2000 12:28 PM
Subject: DOCTYPE problem


> Hello all,
>
> I have a litle problem with cocoon.
>
> I am trying to serve an xml file from cocoom without any transformation. I
> have changed the defoult transformer to text/xml.
>
> The xml file looks like this:
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <!DOCTYPE noticias [
>  <!ELEMENT noticias (noticia+)>
>  <!ELEMENT noticia
> (noticiaid,servicio,fecha,hora,categoria,guia,titulo,texto)>
>  <!ELEMENT noticiaid (#PCDATA)>
>  <!ELEMENT servicio (#PCDATA)>
>  <!ELEMENT fecha (#PCDATA)>
>  <!ELEMENT hora (#PCDATA)>
>  <!ELEMENT categoria (#PCDATA)>
>  <!ELEMENT guia (#PCDATA)>
>  <!ELEMENT titulo (#PCDATA)>
>  <!ELEMENT texto (#PCDATA)>
>  ]>
> <noticias>
>
>  <noticia>
> <noticiaid>1013626</noticiaid>
> <servicio>DEPORTES</servicio>
> <fecha>20001129</fecha>
> <hora>10:15</hora>
> <categoria>DEP</categoria>
> <guia>FUTBOL-EUROPA</guia>
> <titulo>VALENCIA Y MANCHESTER, EQUIPOS MENOS GOLEADOS LIGAS
> EUROPEAS</titulo>
> <texto>Valencia, 29 nov (EFE).- El Valencia se ha convertido en el equipo
> más sólido en defensa</texto>
> </noticia>
> </noticias>
>
> and the response from Cocoon looks like this:
>
>  <!ELEMENT noticias (noticia+)>
>  <!ELEMENT noticia
> (noticiaid,servicio,fecha,hora,categoria,guia,titulo,texto)>
>  <!ELEMENT noticiaid (#PCDATA)>
>  <!ELEMENT servicio (#PCDATA)>
>  <!ELEMENT fecha (#PCDATA)>
>  <!ELEMENT hora (#PCDATA)>
>  <!ELEMENT categoria (#PCDATA)>
>  <!ELEMENT guia (#PCDATA)>
>  <!ELEMENT titulo (#PCDATA)>
>  <!ELEMENT texto (#PCDATA)>
>  <?xml version="1.0" encoding="ISO-8859-1"?>
> <noticias>
>
>  <noticia>
> <noticiaid>1013626</noticiaid>
> <servicio>DEPORTES</servicio>
> <fecha>20001129</fecha>
> <hora>10:15</hora>
> <categoria>DEP</categoria>
> <guia>FUTBOL-EUROPA</guia>
> <titulo>VALENCIA Y MANCHESTER, EQUIPOS MENOS GOLEADOS LIGAS
> EUROPEAS</titulo>
> <texto>Valencia, 29 nov (EFE).- El Valencia se ha convertido en el equipo
> más sólido en defensa</texto>
> </noticia>
> </noticias>
>
>
> Does anybody have an idea of which could be the problem.
>
> I'm using:
> Cocoon 1.8
> Windows 98
> Apache 1.3.12
> JServ 1.1
>
> Thanks in advance.
> ___
> Antonio Cabezuelo
>
>
> ---------------------------------------------------------------------
> 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