From: cyril vidal (cyr.vidal@wanadoo.fr)
Date: 17/03/2002 - 21:32
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Bonjour,
J'ai enfin r=E9ussi, non sans certains efforts, =E0 afficher un document =
statique index.html par Cocoon. Ca marche tr=E8s bien par exemple avec =
le pipeline suivant:
<map:pipeline>
<map:match pattern=3D"index.html">
<map:read src=3D"static/index.html" mime-type=3D"text/html"/>
</map:match>
</map:pipeline>
Souhaitant d=E8s lors proc=E9der =E0 la transformation d'un document XML =
en PDF, j'ai utilis=E9 le pipeline suivant:
<map:pipeline>
<map:match pattern=3D"content/*.html">
<map:generate src=3D"content/{1}.xml"/>
<map:tranform src=3D"transforms/sonnet.fo.xsl"/>
<map:serialize type=3D"fo2pdf"/>
</map:match>
</map:pipeline>
Mais quand j'appelle l'adresse requise avec IE6 =
(http://localhost:8080/essai/content/sonnet.html), j'obtiens toujours le =
message suivant:
description org.apache.cocoon.ProcessingException: Language Exception: =
org.apache.cocoon.components.language.LanguageException: Error compiling =
sitemap_xmap: Line 570, column 63: '}' expected. Line 0, column 0: Note: =
C:\tomcat\work\localhost\essai\cocoon-files\org\apache\cocoon\www\sitemap=
_xmap.java uses or overrides a deprecated API. Recompile with =
"-deprecation" for details. 1 error, 1 warning=20
Cela dit-il quelque chose =E0 certains d'entre vous?
Merci pour vos r=E9ponses,
Cyril.
PS: en pi=E8ce jointe, le fichier sitemap.xmap au cas o=F9...
-- Binary/unsupported file stripped by Listar --
-- Type: application/octet-stream
-- File: sitemap.xmap
--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
Archive générée par hypermail 2.1.3 le 28/06/2004 - 11:06 UTC
webmaster@xmlfr.org
|