You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Parmley, Scott C." <pa...@paradigmtech.com> on 2002/11/18 19:25:22 UTC
problem
Hello.
I am trying to include some generated xml from another object in an XSP docment using <xsp-util:include-expr>
Here's a code snippet to show you what I've done.
<vendor-table>
<xsp:logic>
String fxml = "";
try {
....
fxml = vendor.getVendorCollectionXML(sessionID, params);
}
catch(Throwable cause) {
cause.printStackTrace();
}
<xsp-util:include-expr><xsp-util:expr>fxml</xsp-util:expr></xsp-util:include-expr>
</xsp:logic>
</vendor-table>
......
The issue I am seeing is the following reported back to me by cocoon.
org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling vendor_results_xsp: Line 0, column 0: could not parse error message: Note: sun.tools.javac.Main has been deprecated. D:\temp\jboss\Jetty_0_0_0_0_8080__bq\cocoon-files\org\apache\cocoon\www\docs\vendor_results_xsp.java:216: ')' expected. XSPUtil.includeString(this.characters("fxml");
Am I missing something here?
Thanks,
-Scott
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: problem
Posted by Christian Haul <ha...@informatik.tu-darmstadt.de>.
Parmley, Scott C. wrote:
> Hello.
>
> I am trying to include some generated xml from another object in an XSP docment using <xsp-util:include-expr>
> Here's a code snippet to show you what I've done.
>
> <vendor-table>
> <xsp:logic>
> String fxml = "";
> try {
>
> ....
>
> fxml = vendor.getVendorCollectionXML(sessionID, params);
> }
> catch(Throwable cause) {
> cause.printStackTrace();
> }
> <xsp-util:include-expr><xsp-util:expr>fxml</xsp-util:expr></xsp-util:include-expr>
> </xsp:logic>
> </vendor-table>
>
> ......
>
>
> The issue I am seeing is the following reported back to me by cocoon.
> org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling vendor_results_xsp: Line 0, column 0: could not parse error message: Note: sun.tools.javac.Main has been deprecated. D:\temp\jboss\Jetty_0_0_0_0_8080__bq\cocoon-files\org\apache\cocoon\www\docs\vendor_results_xsp.java:216: ')' expected. XSPUtil.includeString(this.characters("fxml");
>
>
> Am I missing something here?
Try to add additional xsp:expr around the fxml.
Chris.
--
C h r i s t i a n H a u l
haul@informatik.tu-darmstadt.de
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>