Joerg Heinicke wrote:

Because they are already in the original input WML file?


... or because the WML DTD is expanded _inside_ the document by the XML parser ? Note that this also means that your server connects to wapforum.org (I guess it's the location of the WML DTD) to get it.

To circumvent this, you should consider using the entity resolver on your Cocoon installation to both avoid fetching the DTD from a remote server and provide a stripped-down WML DTD (at least without comments).

More on resolvers at http://xml.apache.org/cocoon/userdocs/concepts/catalog.html

Sylvain


Disabling is possible using a XSLT:


<xsl:template match="node()">
  <xsl:copy>
    <xsl:copy-of select="@*"/>
    <xsl:apply-templates select="node()"/>
  </xsl:copy>
</xsl:template>

<xsl:template match="comment()"/>

Regards,

Joerg

zze-MORY Nicolas FTRD/DMI/REN wrote:

when i have WML files in input of pipeline and i want to serialize it
with WML serializer i have many comment like that :

<!--================ Deck-level declarations
================--><!--================ Tasks
================--><!--================ postfield
================--><!--================ variables
================--><!--================ Card Fields
================--><!--================ Images
================--><!--================ Anchor
================--><!--================ Tables
================--><!--================ Text layout and line breaks
================--><!-- quotation mark --><!-- ampersand --><!--
apostrophe --><!-- less than --><!-- greater than --><!-- non-breaking
space --><!-- soft hyphen (discretionary hyphen) --><!--

Copyright Wireless Application Protocol Forum Ltd., 1998,1999.

All rights reserved.

-->>

Why ? is it possible to disable this comments ?

Thanks



--
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }



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



Reply via email to