cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Cabezuelo Vivo" <acv...@yahoo.com>
Subject Re: DOCTYPE problem
Date Fri, 01 Dec 2000 19:02:49 GMT
Thanks Robin,

I will post this to the Xerces list.

___
Antonio Cabezuelo

----- Original Message -----
From: Robin Green <greenrd@hotmail.com>
To: <antonio.cabezuelo@eresmas.com>
Cc: <cocoon-users@xml.apache.org>
Sent: Friday, December 01, 2000 6:04 PM
Subject: Re: DOCTYPE problem


> "Antonio Cabezuelo Vivo" <antonio.cabezuelo@eresmas.com> wrote:
> >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>
> >
>
> That must be a bug in the Xerces serializer - report it to the Xerces
> project.
>
>
>
>
____________________________________________________________________________
_________
> Get more from the Web.  FREE MSN Explorer download :
http://explorer.msn.com
>
>
> ---------------------------------------------------------------------
> 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