Re: how to remove the DTD wriiten at the top ?

2002-07-01 Thread Sven Kitschke

Hi,

this seems to be some sort of Bug #5973. I've a similar
problem using the xinclude and the cinclude transformer.
I will send an extra email for this.

Sebastien SACARD wrote:

 > Vadim Gritsenko wrote:
 >
 >>> From: Sebastien SACARD [mailto:[EMAIL PROTECTED]]

[snip]

 >>> 
 >>>   >> src="org.apache.cocoon.serialization.HTMLSerializer">
 >>> ISO-8859-1
 >>> -//W3C//DTD HTML 4.0 Transitional//EN
 >> 
 >> http://www.w3.org/TR/REC-html40/loose.dtd> m>
 >>> true
 >>> 1
 >>>   
 >>>

[snip]

 >  "http://www.w3.org/TR/REC-html40/loose.dtd";>
 > 

Re: how to remove the DTD wriiten at the top ?

2002-06-25 Thread Sebastien SACARD

You're right when I remove the doctype and encoding elements in the 
serializer description, it works.
I though these tags were mandatory, but they are not.
Thx all for your help.

Geoff Howard wrote:

>There is definitely something horribly wrong there.  
>
>1) Does this happen if you get rid of , , and
> tags?
>2) What version of cocoon are you using?
>
>Geoff Howard
>
>>-Original Message-
>>From: Sebastien SACARD [mailto:[EMAIL PROTECTED]]
>>Sent: Monday, June 24, 2002 2:55 AM
>>To: [EMAIL PROTECTED]
>>Subject: Re: how to remove the DTD wriiten at the top ?
>>
>>
>>Vadim Gritsenko wrote:
>>
>>>>From: Sebastien SACARD [mailto:[EMAIL PROTECTED]]
>>>>
>>>>Hi,
>>>>
>>>>I can't get rid off the DTD declaration written on top of the HTML
>>>>
>>>pages
>>>
>>>>created with a default serializer :
>>>>
>>>>
>>>>  >>
>>>>src="org.apache.cocoon.serialization.HTMLSerializer">
>>>>ISO-8859-1
>>>>-//W3C//DTD HTML 4.0 Transitional//EN
>>>>
>>>
>>>
>>>http://www.w3.org/TR/REC-html40/loose.dtd>>
>>ctype-syste
>>
>>>m>
>>>
>>>>true
>>>>1
>>>>  
>>>>
>>>>I thought the  was doing the trick, 
>>>>
>>>It omits *XML* declaration. According to spec, this is:
>>>
>>> 
>>>
>>>
>>>>but it's not.
>>>>Is there somewhere else a parameter to define in order to 
>>>>
>>remove these
>>
>>>>30ko of datas off my pages ?
>>>>
>>>You mean 30 bytes?
>>>
>>>Try
>>>
>>>>
>>>>  >>
>>>>src="org.apache.cocoon.serialization.HTMLSerializer">
>>>>ISO-8859-1
>>>>true
>>>>  
>>>>
>>>Or, don't use HTML serializer then, use XML serializer. It will not
>>>write doctype.
>>>
>>>Vadim
>>>
>>>
>>>
>>>>Thanks a lot
>>>>
>>Hi all,
>>
>>Unfortunatly, these tips did not work. Even when I serialise to XML 
>>everything stay in the header of my page. I really mean it's 
>>about 30ko, 
>>not 30 bytes. Here is what is included in my page, maybe 
>>it'll help you 
>>to understand my problem :
>>
>>>"http://www.w3.org/TR/REC-html40/loose.dtd";>
>>
>>
>>
>>You see that it's pretty huge. Does everybody has this in serialised 
>>pages ? This appears with the HTML serialiser definition I 
>>wrote upper 
>>in this mail.
>>
>>Please help me !!
>>
>>>
>>>-
>>>Please check that your question  has not already been answered in the
>>>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>>>
>>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>>
>>-- 
>>#
>>Sébastien Sacard
>>Kelkoo.com - R&D team
>>Phone: +(33) 4 76 29 73 51
>>Email: [EMAIL PROTECTED]
>>Aim : KelkooXIII
>>#
>>
>>
>>
>>
>>-
>>Please check that your question  has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>

-- 
#
Sébastien Sacard
Kelkoo.com - R&D team
Phone: +(33) 4 76 29 73 51
Email: [EMAIL PROTECTED]
Aim : KelkooXIII
#




-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: how to remove the DTD wriiten at the top ?

2002-06-25 Thread Geoff Howard

There is definitely something horribly wrong there.  

1) Does this happen if you get rid of , , and
 tags?
2) What version of cocoon are you using?

Geoff Howard

> -Original Message-
> From: Sebastien SACARD [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 24, 2002 2:55 AM
> To: [EMAIL PROTECTED]
> Subject: Re: how to remove the DTD wriiten at the top ?
> 
> 
> Vadim Gritsenko wrote:
> 
> >>From: Sebastien SACARD [mailto:[EMAIL PROTECTED]]
> >>
> >>Hi,
> >>
> >>I can't get rid off the DTD declaration written on top of the HTML
> >>
> >pages
> >
> >>created with a default serializer :
> >>
> >>
> >>>
> >>src="org.apache.cocoon.serialization.HTMLSerializer">
> >> ISO-8859-1
> >> -//W3C//DTD HTML 4.0 Transitional//EN
> >>
> >
> >
> >>
> >http://www.w3.org/TR/REC-html40/loose.dtd ctype-syste
> >m>
> >
> >> true
> >> 1
> >>   
> >>
> >>I thought the  was doing the trick, 
> >>
> >
> >It omits *XML* declaration. According to spec, this is:
> >
> >  
> >
> >
> >>but it's not.
> >>Is there somewhere else a parameter to define in order to 
> remove these
> >>30ko of datas off my pages ?
> >>
> >
> >You mean 30 bytes?
> >
> >Try
> >
> >>
> >>>
> >>src="org.apache.cocoon.serialization.HTMLSerializer">
> >> ISO-8859-1
> >> true
> >>   
> >>
> >
> >Or, don't use HTML serializer then, use XML serializer. It will not
> >write doctype.
> >
> >Vadim
> >
> > 
> >
> >>Thanks a lot
> >>
> Hi all,
> 
> Unfortunatly, these tips did not work. Even when I serialise to XML 
> everything stay in the header of my page. I really mean it's 
> about 30ko, 
> not 30 bytes. Here is what is included in my page, maybe 
> it'll help you 
> to understand my problem :
> 
>  "http://www.w3.org/TR/REC-html40/loose.dtd";>
> 
> 
> 
> You see that it's pretty huge. Does everybody has this in serialised 
> pages ? This appears with the HTML serialiser definition I 
> wrote upper 
> in this mail.
> 
> Please help me !!
> 
> >
> >
> >-
> >Please check that your question  has not already been answered in the
> >FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> >
> >To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> >For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >
> 
> -- 
> #
> Sébastien Sacard
> Kelkoo.com - R&D team
> Phone: +(33) 4 76 29 73 51
> Email: [EMAIL PROTECTED]
> Aim : KelkooXIII
> #
> 
> 
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: how to remove the DTD wriiten at the top ?

2002-06-23 Thread Sebastien SACARD

Vadim Gritsenko wrote:

>>From: Sebastien SACARD [mailto:[EMAIL PROTECTED]]
>>
>>Hi,
>>
>>I can't get rid off the DTD declaration written on top of the HTML
>>
>pages
>
>>created with a default serializer :
>>
>>
>>   
>>src="org.apache.cocoon.serialization.HTMLSerializer">
>> ISO-8859-1
>> -//W3C//DTD HTML 4.0 Transitional//EN
>>
>
>
>>
>http://www.w3.org/TR/REC-html40/loose.dtdm>
>
>> true
>> 1
>>   
>>
>>I thought the  was doing the trick, 
>>
>
>It omits *XML* declaration. According to spec, this is:
>
>  
>
>
>>but it's not.
>>Is there somewhere else a parameter to define in order to remove these
>>30ko of datas off my pages ?
>>
>
>You mean 30 bytes?
>
>Try
>
>>
>>   
>>src="org.apache.cocoon.serialization.HTMLSerializer">
>> ISO-8859-1
>> true
>>   
>>
>
>Or, don't use HTML serializer then, use XML serializer. It will not
>write doctype.
>
>Vadim
>
> 
>
>>Thanks a lot
>>
Hi all,

Unfortunatly, these tips did not work. Even when I serialise to XML 
everything stay in the header of my page. I really mean it's about 30ko, 
not 30 bytes. Here is what is included in my page, maybe it'll help you 
to understand my problem :

http://www.w3.org/TR/REC-html40/loose.dtd";>



You see that it's pretty huge. Does everybody has this in serialised 
pages ? This appears with the HTML serialiser definition I wrote upper 
in this mail.

Please help me !!

>
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>

-- 
#
Sébastien Sacard
Kelkoo.com - R&D team
Phone: +(33) 4 76 29 73 51
Email: [EMAIL PROTECTED]
Aim : KelkooXIII
#




-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>