Re: xsp-util:include-expr problem

2002-11-20 Thread Christian Haul
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-exprxsp-util:exprfxml/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
[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




xsp-util:include-expr problem

2002-11-18 Thread Parmley, Scott C.
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-exprxsp-util:exprfxml/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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]