cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: Yet another newbie boring question, sorry... (mounting -> compila tion error)
Date Fri, 08 Mar 2002 14:45:20 GMT
> From: TREGAN Fabien [mailto:fabien.tregan@airbus.aeromatra.com]
> 
> Thanks you, I added them all, it worked.
> 
> But I did'nt like that, so I removed them, and it still works... :)

Restart server and it will stop working again.

Vadim

> 
> [WHO sayed that Computer Sciences are Science ?]
> 
> >-----Message d'origine-----
> >De: Olivier Rossel [mailto:olivier.rossel@anyware-tech.com]
> >Date: vendredi 8 mars 2002 15:34
> >Ŕ: cocoon-users@xml.apache.org
> >Objet: Re: Yet another newbie boring question, sorry... (mounting ->
> >compila tion error)
> >
> >
> >TREGAN Fabien wrote:
> >
> >>I'm trying to mount my subsitemap in C2 :
> >>
> >>-Cocoon example are running well.
> >>
> >>-in cocoon/sitemap.xmap i haded :
> >>  	<map:match pattern="caw/*">
> >>		<map:mount uri-prefix="caw" check-reload="yes"
> >>src="caw/sitemap.xmap"/>
> >>  	</map:match>
> >>
> >>-in cocoon/caw/sitemap.xmap I have :
> >>
> >><?xml version="1.0"?>
> >><map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
> >>
> >>	<map:pipelines>
> >>		<map:pipeline>
> >>			<map:match pattern="*.xml">
> >>				<map:generate src="{1}.xml"/>
> >>				<map:transform src="simple.xsl"/>
> >>				<map:serialize/>
> >>			</map:match>
> >>		</map:pipeline>
> >>	</map:pipelines>
> >>
> >></map:sitemap>
> >>
> >>-Result :
> >>Generated .java file is uncomplete :
> >>
> >>It ends with :
> >>      /** Prepare patterns of PreparableMatchers. */
> >>      public void prepareMatchers() throws Exception {
> >>
> >>Wich give an exception...
> >>
> >>Any idea ?
> >>
> >>fabien.
> >>
> >>org.apache.cocoon.ProcessingException: Language Exception:
> >>org.apache.cocoon.components.language.LanguageException:
> >Error compiling
> >>sitemap_xmap:
> >>Line 213, column 54:  '}' expected.
> >>Line 0, column 0:
> >>1 error
> >>
> >>	at
> >>org.apache.cocoon.components.language.generator.ProgramGenerat
> >orImpl.createR
> >>esource(ProgramGeneratorImpl.java:338)
> >>	at
> >>org.apache.cocoon.components.language.generator.ProgramGenerat
> >orImpl.load(Pr
> >>ogramGeneratorImpl.java:294)
> >>	at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
> >>	at java.lang.Thread.run(Thread.java:484)
> >>org.apache.cocoon.components.language.LanguageException:
> >Error compiling
> >>sitemap_xmap:
> >>Line 213, column 54:  '}' expected.
> >>Line 0, column 0:
> >>1 error
> >>
> >>	at
> >>org.apache.cocoon.components.language.programming.java.JavaLan
> >guage.compile(
> >>JavaLanguage.java:244)
> >>	at
> >>org.apache.cocoon.components.language.programming.CompiledProg
> >rammingLanguag
> >>e.load(CompiledProgrammingLanguage.java:197)
> >>	at
> >>org.apache.cocoon.components.language.generator.ProgramGenerat
> >orImpl.generat
> >>eResource(ProgramGeneratorImpl.java:386)
> >>	at
> >>org.apache.cocoon.components.language.generator.ProgramGenerat
> >orImpl.createR
> >>esource(ProgramGeneratorImpl.java:331)
> >>	at
> >>org.apache.cocoon.components.language.generator.ProgramGenerat
> >orImpl.load(Pr
> >>ogramGeneratorImpl.java:294)
> >>	at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
> >>	at java.lang.Thread.run(Thread.java:484)
> >>
>
>>---------------------------------------------------------------------
> >>Please check that your question has not already been answered in the
> >>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >>
> >>To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> >>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> >>
> >We have has the same kind of problem.
> >We had to declarate a valid generator, a valid transfromer and a
valid
> >serializer at the beginning of the sitemap.
> >Then it went ok.
> >
> >
> >
> >---------------------------------------------------------------------
> >Please check that your question has not already been answered in the
> >FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >
> >To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> >For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> >
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>



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

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