Re: Again: forgotten namespaces problem
Why not just add a parameter which removes them or not, big deal. No reason for Yet Another Class. -Andy On 6/2/03 9:34 AM, Geoff Howard [EMAIL PROTECTED] wrote: At 08:57 AM 6/2/2003, you wrote: Seem not convinced? HTMLserializer that generates wrong output does not convince the programmer? I mean, I can understand, if there is nobody who has time or the capabilities to solve this bug, but not beeing convinced sounds a little strange to me. Don't tell me, tell the xalan babes: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19933 And read that last comment: even the W3C seems to think that HTML documents should contain the namespaces. quote-from-wiki So... what I ended up doing was extending the HTMLSerializer (or whatever serializer you're using for your pipelines), and overriding the startPrefixMapping and endPrefixMapping methods to do nothing, effectively removing all namespaces from my HTML. This also had the added benefit of having no performance penalties (and theoretically, a ever-so-slight speedup since we no longer process namespaces in our serializer). /quote-from-wiki I have done exactly this before -- does this still work from a purely technical perspective? If so, why wouldn't we just define an NoNsHTMLSerializer which extends HTMLSerializer and overrides just those two methods? Then, it's a user decision whether these namespaces belong in real-world html. Geoff Howard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Andrew C. Oliver http://www.superlinksoftware.com/poi.jsp Custom enhancements and Commercial Implementation for Jakarta POI http://jakarta.apache.org/poi For Java and Excel, Got POI? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Again: forgotten namespaces problem
Bla bla bla bla submit a patch bla bla bla bla -andy On 6/3/03 8:02 AM, Alexander Schatten [EMAIL PROTECTED] wrote: Conal Tuohy wrote: Andrew C. Oliver wrote: Why not just add a parameter which removes them or not, big deal. No reason for Yet Another Class. Why provide an _option_ for people to output invalid HTML? Seriously, isn't it _always_ a bug to output namespaces in the HTML? What are the use cases for HTML + namespaces?? Is anyone actually using this feature to output HTML with namespace attributes for some obscure purpose? this is what I try to argue for days. some think obviously that it should be possible to produce invalid HTML, I do not know why. however, I would be really glad if it would be possible to generate valid HTML automatically without needing to write additional stylesheets... alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Andrew C. Oliver http://www.superlinksoftware.com/poi.jsp Custom enhancements and Commercial Implementation for Jakarta POI http://jakarta.apache.org/poi For Java and Excel, Got POI? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: writing excel files with merge and coloured cells
Yes the colors work. I do not think I ever implemented merged cells at the serializer level. -Andy Rapcewicz, Chris wrote: Hi, I am currently running Cocoon 2.0.4 on Tomcat 4.1 and I am interested in creating excel files which have coloured cells and also cells that are merged. I tried generating an xml from gnumeric and using this, but found that neither the coloured cells nor the merged cells were present. Before I start trying to debug, I was wondering if this functionality is supported? Thanks, Chris. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: writing excel files with merge and coloured cells
Thats single threaded btw. See what happens if a few people hit it at once. Gerald Michalitz wrote: I am using the bsf (bean scripting framework) in with I use vb and object rexx to create excel and use existing excel files with this you can use ole objects like excel to work with a little sample code: xml-file ?xml version=1.0? !DOCTYPE page [ !ELEMENT page (title?, content) !ELEMENT title (#PCDATA) !ELEMENT content (para+, konto) !ELEMENT para (#PCDATA) !ELEMENT account (#PCDATA) !ATTLIST account number CDATA #REQUIRED ] ?xml-stylesheet type=text/xsl? page titleXSL-Transformation of a XML-file to a HTML-file or to a PDF-file/title content paraThis is an example:/para account number=27/ /content /page xls file !--The component and its script are in the lxslt namespace and define the implementation of the extension.-- lxslt:component prefix=my-ext functions=something lxslt:script lang=rexx ![CDATA[ /* something rexx - [Object] Rexx, ---gm, 2003-03-06, pitten - austria*/ My_Excel = .OLEObject~New(Excel.Application) infile = e:\allesmist\dvoexport.xls My_Excel~WorkBooks~Open(infile) row = 1 column = 'B' number = My_Excel~Cells(row,column)~Value return The amount is= number My_Excel~WorkBooks~Close ::requires OREXXOLE.CLS ]] /lxslt:script /lxslt:component xsl:template match=account xsl:value-of select=my-ext:something(string(@account))/ /xsl:template /xsl:stylesheet with object rexx or vb or js you can do all what excel/word can do gerald -Ursprüngliche Nachricht- *Von:* Rapcewicz, Chris [mailto:[EMAIL PROTECTED] *Gesendet:* Donnerstag, 6. März 2003 21:28 *An:* '[EMAIL PROTECTED]' *Betreff:* writing excel files with merge and coloured cells Hi, I am currently running Cocoon 2.0.4 on Tomcat 4.1 and I am interested in creating excel files which have coloured cells and also cells that are merged. I tried generating an xml from gnumeric and using this, but found that neither the coloured cells nor the merged cells were present. Before I start trying to debug, I was wondering if this functionality is supported? Thanks, Chris. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cocoon the solution?
The best thing to do to change this is contribute to the Jakarta POI project's HDF component. jakarta.apache.org/poi -- HDF is in its infancy but with contribution could be successful for Cooon serializers and generators to transform between the formats! Darren Petrie wrote: Cocoon would definately be a good choice technically. However what you'll have to fight is the mindset of people desiring to use MS Word as their authoring tool. You could try to use a tool such as DocSoft's (http://www.docsoft.com) Word-to-XML converter. However it creates generic presentation XML and therefore you'll lose the control over the look and feel of the site. I'm in the same battle now of trying to integrate an XML editor for people to author with into our business process. People are comfortable with Word and resist change. Darren On Friday, January 3, 2003, at 12:43 PM, Ines Robbers wrote: Hello! I am wondering whether Cocoon is the solution to my problem: I am working for a university who wants me to redesign their homepage. It has to be accessible to everyone (i.e. needs to conform to the Web Accessibility Guidelines) and be dead easy in maintanance. The problems I have encountered so far are: There will be many different people who will edit, update, maintain or expand the pages. These people in most cases have never seen an html code. In fact what they love to do is saving a word doc into html and loading it onto the server. But all pages are supposed to be in valid XHTML, controled by CSS. Is this a case for Cocoon? Could secretaries load up their word docs (and whatever else they get into their hands) and the rest Cocoon does for them? I.e. generate XML from Word and tranform it into valid, accessible XHTML code? I would be grateful for your opinions! Do you know of any university who is using Cocoon? Ines - 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] Darren Petrie [EMAIL PROTECTED] - 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] - 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]
Re: Source aggregation by XInclude
Joerg Heinicke wrote: Timothy Larson wrote: You coulde try the caching version of the cinclude transformer in place of the non-caching xinclude transformer. See http://xml.apache.org/cocoon/userdocs/transformers/cinclude-transformer.html The only problem I see is that the cinclude transformer does not seem to have the xpath features that the xinclude transformer has. Tim Some time ago someone wanted to combine the better code of CInclude with the more functionality of XInclude to one IncludeTransformer. Is this still on somebody's to do list? Or what's the status? Yes. Renewed interest. It is but the approach that will change ;-) Joerg - 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] - 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]
Re: [HSSF][POI] Gnumeric Conversion Question
ahh. I meant the unix diff command .. . diff file1 file2 If you're on winblows (which makes me wonder how you're running gnumeric) you can get cygwin (www.cygwin.com) which has most of your friendly unix tools. Makes winblows usablebetween crashes. Danny Mui wrote: No i was being silly.. manual diff == eyeballing :) Andrew C. Oliver wrote: diff doesn't work? How odd! Danny Mui wrote: Thanks for sharing my manual diff doesn't seem to be working too well /grin. Will bring back what I can come up with. danny Andrew C. Oliver wrote: I have a very scientific method for doing this. Open Gnumeric. Create a sheet with some garbage in it (but from scratch). Save it ungzip it (if its gzipped) open that same sheet create a merged cell (change nothing else) save it as something else ungzip it (if gzipped) diff 1.xml 2.xml - 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] - 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] - 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] - 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]
Re: [HSSF][POI] Gnumeric Conversion Question
I have a very scientific method for doing this. Open Gnumeric. Create a sheet with some garbage in it (but from scratch). Save it ungzip it (if its gzipped) open that same sheet create a merged cell (change nothing else) save it as something else ungzip it (if gzipped) diff 1.xml 2.xml Thats what it does. ;-) I've not looked at this recently, but if I recall its pretty straightforward. Danny Mui wrote: Thanks for your quick reply Andrew! Do you have an inkling on how gnumeric interprets merged fields? I'd rather build that support into the serializer than tagging individual cells that I'm going through now. I'd prefer to not delve into gnumeric's source (im a java weeny) if you've already looked at it. But since it's a holiday I'll inspect the xml some more :). thanks. danny Andrew C. Oliver wrote: Danny Mui wrote: Using latest Cocoon from CVS and HSSFSerializer separately (not from within cocoon). When setting up merged fields in gnumeric, the HSSF translation does not seem to carry them through to the Excel side. Yes this isn't implemented in the serializer yet. It is supported by HSSF. I saw the rows/cols attributes in the gnumeric dtd but gnumeric doesn't generate those attributes. I updated EPCell.java (will submit to bugzilla shortly) to support merged fields but it's a bit of a manual effort to tag cells to be merged (and error prone). yes. If its a workable solution I'll apply it. -Andy Am I missing something? I hope to be enlightened! danny - 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] - 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] - 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] - 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]
Re: [HSSF][POI] Gnumeric Conversion Question
diff doesn't work? How odd! Danny Mui wrote: Thanks for sharing my manual diff doesn't seem to be working too well /grin. Will bring back what I can come up with. danny Andrew C. Oliver wrote: I have a very scientific method for doing this. Open Gnumeric. Create a sheet with some garbage in it (but from scratch). Save it ungzip it (if its gzipped) open that same sheet create a merged cell (change nothing else) save it as something else ungzip it (if gzipped) diff 1.xml 2.xml - 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] - 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]
Re: Serializing XML data to Excel format
Use POI: jakarta.apache.org/poi specifically POI::HSSF. -Andy nandipinto wrote: Hi Chris, I've check this one, but what I need to know is how to use the API (java class) directly in the my java program. I know there is one java class called HSSFSerializer, but it only has the method : setOutputStream(java.io.OutputStream), how do I set the input stream (which I think is the XML file), call another methods, etc? thanks, nandipinto. - Original Message - From: Shaw, Chris [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 4:08 PM Subject: RE: Serializing XML data to Excel format Hi, Take a look at: http://xml.apache.org/cocoon/userdocs/serializers/xls-serializer.html Works quite well. Chris -=-=-= -Original Message- From: nandipinto [mailto:[EMAIL PROTECTED]] Sent: Tuesday 26 November 2002 10:15 To: [EMAIL PROTECTED] Subject: Serializing XML data to Excel format Hi all, How do I serialize XML data into Excel format using the Cocoon API directly? Thanks for your help. regards, nandipinto. - 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] Any e-mail message from the European Central Bank (ECB) is sent in good faith but shall neither be binding nor construed as constituting a commitment by the ECB except where provided for in a written agreement. This e-mail is intended only for the use of the recipient(s) named above. Any unauthorised disclosure, use or dissemination, either in whole or in part, is prohibited. If you have received this e-mail in error, please notify the sender immediately via e-mail and delete this e-mail from your system. - 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] - 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] - 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]
Re: Serializing XML data to Excel format
I'll try to get to that tonight if the HEAD is in currently in working order. I'll probably upgrade things to the latest stable dev build too. -Andy Yury Mikhienko wrote: Excuse me by jump, but I have to reask old question: Does HSSFSerializer support non-english characters now? Thanx for advise. - 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]
Re: [OT] Microsoft 'Avalon' Framework for Longhorn
now THAT smells like a clear trademark violation... Tony Collen wrote: Heh, found this interesting.. I wonder how many other frameworks out there are named 'Avalon' ;) Tony - Microsoft Chairman Bill Gates has promised for years how Windows will allow consumers to access information at your fingertips. With Longhorn, the next version of Windows due out in 2005, the company will take its first serious stab at delivering on Gates' vision. And a new application programming interface (API) framework, code-named Avalon, will be at the core of Longhorn's new information-access architecture, according to sources. http://www.wininsider.com/news/comments.aspx?mid=1849 - 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] - 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]
[Fwd: [Juglist] Monday night - Introduction to Cocoon 2.0]
(forwarding to POI only because I'll briefly cover the HSSF Serializer [XLS/Excel] and be glad to answer any questions) -- http://www.superlinksoftware.com - software solutions for business http://jakarta.apache.org/poi - Excel/Word/OLE 2 Compound Document in Java http://krysalis.sourceforge.net/centipede - the best build/project structure a guy/gal could have! - Make Ant simple on complex Projects! The avalanche has already started. It is too late for the pebbles to vote. -Ambassador Kosh ---BeginMessage--- I haven't seen a meeting notice for this month posted recently, so, I've taken the liberty and am posting this reminder. --Ed Triangle Java Users Group Presents: Introduction to Cocoon 2.0 presented by Conrad D'Cruz and Andrew Oliver Monday, October 21, 2002 6:30 PM - 9:00 PM MCNC Auditorium 3021 Cornwallis Road Research Triangle Park, North Carolina Abstract: Apache Cocoon is a web publishing framework that uses Java, XML, and XSLT technologies to create server applications. Using pipelined SAX processing, the applications can be designed for performance and scalability. Cocoon 2.0 supports a strong separation of concerns: content, logic, and style, has a centralized configuration system, and provides a sophisticated caching system. In this presentation we will cover the basics of Cocoon and provide a detailed demonstration of each of the salient features of Cocoon 2.0. About Speakers: Conrad D'Cruz works as a Senior Applications Engineer and designs and implements server side J2EE applications for CRM web sites. He has been an active member of the Triangle JUG since 1998 and recently co-authored a book on Cocoon 2.0 published by Sybex in October 2002. He has since recovered from the ordeal of writing the book and would now like to give others the benefits of his experiences over the past 8 months. Andrew Oliver is a professional cat herder by trade who moonlights as an independent software developer (http://www.superlinksoftware.com). When he's not working on a contract doing something web and/or database related, he's hacking on the Apache POI project (http://jakarta.apache.org) which he co-founded or is hacking on Cocoon or playing with a new language called 'D' (http://www.opend.org). You can read more about Andy and his random ramblings here: http://www.trilug.org/~acoliver/. Andy is the current Triangle Java Users Group speaker coordinator, secretary, and acting treasurer. Agenda: 6:30 - 7:00 PM -- Meet, Talk, Snacks 7:00 - 7:15 -- JUG Business and Announcements 7:15 - 8:15 -- Presentation 8:15 - 8:30 -- Discussion with Presenter 9:00 - Doors close Admission: Paid-up members of TriJUG may attend without additional charge. Non members are asked to pay $5 per meeting. But, if you are either a full time student or unemployed, then we ask only $2 per meeting. DIRECTIONS to MCNC: From Raleigh: Take I-40 West toward Durham and Chapel Hill. You will enter RTP. Where I-40 splits, bear right onto the Durham Freeway North (Highway 147). Take the Cornwallis Road Exit. At the end of the exit ramp, bear right - cross back over the Freeway. MCNC is located approximately 3/4 mile on the right. From Durham: Get on the Durham Freeway South (Highway 147). Take the Cornwallis Road exit. At the end of the ramp, bear right - MCNC is approximately 3/4 mile on right. http://www.trijug.org/ ___ Juglist mailing list [EMAIL PROTECTED] http://lists.denveronline.net/mailman/listinfo/juglist ---End Message--- - 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]
Re: XLS serializer and non-english characters
There is a minor problem I have not had time to correct yet. encoding is an attribute, but if its set the serializer should check that its non-us/uk/aus and in that case set encoding to 16-bit. However currently it just assumes 8-bit. I'm under a mountain of to-dos but thats at the top of my cocoon list. -Andy On Wed, 2002-10-16 at 07:10, Yury Mikhienko wrote: Hello folks! Can I use non-english characters in xls document (dynamically generated by HSSFSerializer)? I'm trying the following configuration: map:serializer name=xls src=org.apache.cocoon.serialization.HSSFSerializer mime-type=application/vnd.ms-excel encodingKOI8-R/encoding /map:serializer but it doesn't work :((( I have the following symbols (C8=3 2 #:@08=0) in document instead russian text :((( Can anyone help me? Thanks. -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - 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] -- http://www.superlinksoftware.com - software solutions for business http://jakarta.apache.org/poi - Excel/Word/OLE 2 Compound Document in Java http://krysalis.sourceforge.net/centipede - the best build/project structure a guy/gal could have! - Make Ant simple on complex Projects! The avalanche has already started. It is too late for the pebbles to vote. -Ambassador Kosh - 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]
Re: Cocoon : Content Transformation from WORD/PDF/EXCEL to XML
Rajesh Parekh wrote: Hi, I have a requirement to convert hundreds of unstructured documents in WORD/PDF/TXT/EMAIL formats into a structured repository of XML Metadata of the document and the documents itself. I need to parse each of these documents and extract the relevant information to build a XML metadata document for each document. The XML structured metadata of the underlying document will contain fields like Keywords, Category, Doc Name, Author etc. *Is it possible to use Cocoon and or POI to do this. And if yes how to use Cocoon to do the extraction. * Pieces of this yes and no. Right now you'd need to use POI directly as we've not written a Cocoon generator for Excel yet and our read support for Word is at best very immature hence there is no Serializer or Generator for it. I'm not sure Cocoon is appropriate for what you want to do to be honest. But definetly join the POI list if your interested in helping develop the word port I'm sure you could suit your needs so far as Excel/Doc go. -Andy I am new to Cocoon, and trying to understand the world of transformers/generators etc. Also could I use Lucene to index the XML documents and build a search engine around it. I would like to know about the possible ways to do this. regards rajesh. - 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]
Re: [Summary] Writing an action using XSP
THANK YOU THANK YOU THANK YOU THANK YOU!!! You totally and completely rock! Words do not express how much you rock. Now if someone can figure out how to get this working with XMLForm I'll be elated ;-) -Andy Litrik De Roy wrote: Hello All, I have written a small summary that explains how you can write your own action using XSP. It is in the Cocoon Wiki at http://outerthought.net/wiki/Wiki.jsp?page=XSPAction Litrik De Roy www.litrik.com - 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] - 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]
Re: CInclude bug???
Incorrect. This is a bug and the @select does work in Cocoon 2.1.x. I have a fix on my local drive but I haven't submitted it yet. Will do so very soon. -Andy Per Kreipke wrote: Apurva, to make the long story short: the output has the whole xml file after the section of the xml file i want to include. i.e cinclude:include src=../../commons/contents/ATTRIBUTES.xml select=data/AGE/* / outputs: ?xml version=1.0 encoding=UTF-8? age data age !-- this is what i want -- data !-- this is what i DONT want -- dt text dt age data age /data Am i doin something wrong or is it a bug?? Not a bug. CInclude does not support selecting just a portion of your XML model (and neither does XInclude). E.g. your @select above does nothing. To do what you want to do, just add a XSLT tranformer _after_ your CInclude, then in that XSLT logic either: - match the elements you want with identity templates, - or, create a generic identity template and use empty matchers for the elements you _don't_ want. XSLT makes a clean, generic filtering language. Note: Cocoon's FilterTransformer does something similar but in a very restricted way (it basically only is used for paging through data models). Per - 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] - 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]
Re: CInclude bug???
And CInclude does support @select now. Per Kreipke wrote: Apurva, I need more sleep: XInclude _does_ in fact allow you to subselect using XPointer syntax. See http://xml.apache.org/cocoon/userdocs/transformers/xinclude-transformer.html for details. Requires sitemap change. -Original Message- From: Per Kreipke [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 25, 2002 11:41 PM To: [EMAIL PROTECTED] Subject: RE: CInclude bug??? Apurva, to make the long story short: the output has the whole xml file after the section of the xml file i want to include. i.e cinclude:include src=../../commons/contents/ATTRIBUTES.xml select=data/AGE/* / outputs: ?xml version=1.0 encoding=UTF-8? age data age !-- this is what i want -- data !-- this is what i DONT want -- dt text dt age data age /data Am i doin something wrong or is it a bug?? Not a bug. CInclude does not support selecting just a portion of your XML model (and neither does XInclude). E.g. your @select above does nothing. To do what you want to do, just add a XSLT tranformer _after_ your CInclude, then in that XSLT logic either: - match the elements you want with identity templates, - or, create a generic identity template and use empty matchers for the elements you _don't_ want. XSLT makes a clean, generic filtering language. Note: Cocoon's FilterTransformer does something similar but in a very restricted way (it basically only is used for paging through data models). Per - 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] - 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] - 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]
Re: CInclude bug??? (And my upcoming patch)
Patches *should* be submitted to Bugzilla and hence you should catch the postings here. You could also join the Cocoon-cvs mailing list (see webpage for details) or catch it on gmane.org (news-mail-news bridge). The CVS list is commits, the bugzilla mails are patches. Its a one liner if you want to fix it yourself and recompile: (someone pointed this out to me but I thought they were wrongsorry I was wrong) in xml-cocoon2/src/java/org/apache/cocoon/transformation/CIncludeTransformer.java: } else { // do nothing, will result in the inclusion of the whole // document } this.sourceResolver.toSAX(source, consumer); should read: } else { // Normal flow this will result in the inclusion of the whole // document this.sourceResolver.toSAX(source, consumer); } I've tested it locally and it works nicely. In a few weeks I'm going to do some serious refactoring of both of these to use the same code base as folows: CIncludeTransformer - inherit from IncludeTransformer XIncludeTransformer / XInclude and CInclude transformers will be deprecated, and you'll be able to just use the IncludeTransformer for either. The behavior will be different based on how you configure the IncludeTransformer or the inherited versions (for backward compatibility) will automatically configure it for that behavior). I'll also submit a set of unit tests for these. If I have time (read: if the task is more exciting than whichever task I'm procrastinating) I'll upgrade the XIncludeTransformer to match the current specification. Thanks, -Andy apurva zaveri wrote: Thats great Andy! Let us know when you submit the fix. Also is there a way one can find out every time a new fix or a patch is submitted??? I am still quite new to cocoon. -Apurva --- Andrew C. Oliver [EMAIL PROTECTED] wrote: Incorrect. This is a bug and the @select does work in Cocoon 2.1.x. I have a fix on my local drive but I haven't submitted it yet. Will do so very soon. -Andy Per Kreipke wrote: Apurva, to make the long story short: the output has the whole xml file after the section of the xml file i want to include. i.e cinclude:include src=../../commons/contents/ATTRIBUTES.xml select=data/AGE/* / outputs: ?xml version=1.0 encoding=UTF-8? age data age !-- this is what i want -- data !-- this is what i DONT want -- dt text dt age data age /data Am i doin something wrong or is it a bug?? Not a bug. CInclude does not support selecting just a portion of your XML model (and neither does XInclude). E.g. your @select above does nothing. To do what you want to do, just add a XSLT tranformer _after_ your CInclude, then in that XSLT logic either: - match the elements you want with identity templates, - or, create a generic identity template and use empty matchers for the elements you _don't_ want. XSLT makes a clean, generic filtering language. Note: Cocoon's FilterTransformer does something similar but in a very restricted way (it basically only is used for paging through data models). Per - 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] - 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] __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com - 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] - 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]
Re: CInclude bug???
That is weird. It doesn't happen after the fix (I've got both static and dynamic includes) -Andy apurva zaveri wrote: One more wierd finding: This is another place where I am experimneting with CInclude. cinclude:include src=cocoon://commons/contents/emp_table.xml select=data/dept/* / the @select in this CInclude transformer works exactly the way it should. And it is no different from the previous case. The only difference is that the previous case had a fileGenerator with a static xml file (ATTRIBUTES.xml) wherease over here (emp_table.xml) is a cocoon pipeline that has a generator (not a fileGenerator like in previous case) but a ServletGenerator that generates xml from a database using an predefined SQL query. But why should that difference matter? @select in CInclude transformer does works corretly with a ServletGenerator behind it but if fileGenerator is behind it, it does not work. Is that the nature of the bug??? -Apurva --- apurva zaveri [EMAIL PROTECTED] wrote: Thats great Andy! Let us know when you submit the fix. Also is there a way one can find out every time a new fix or a patch is submitted??? I am still quite new to cocoon. -Apurva --- Andrew C. Oliver [EMAIL PROTECTED] wrote: Incorrect. This is a bug and the @select does work in Cocoon 2.1.x. I have a fix on my local drive but I haven't submitted it yet. Will do so very soon. -Andy Per Kreipke wrote: Apurva, to make the long story short: the output has the whole xml file after the section of the xml file i want to include. i.e cinclude:include src=../../commons/contents/ATTRIBUTES.xml select=data/AGE/* / outputs: ?xml version=1.0 encoding=UTF-8? age data age !-- this is what i want -- data !-- this is what i DONT want -- dt text dt age data age /data Am i doin something wrong or is it a bug?? Not a bug. CInclude does not support selecting just a portion of your XML model (and neither does XInclude). E.g. your @select above does nothing. To do what you want to do, just add a XSLT tranformer _after_ your CInclude, then in that XSLT logic either: - match the elements you want with identity templates, - or, create a generic identity template and use empty matchers for the elements you _don't_ want. XSLT makes a clean, generic filtering language. Note: Cocoon's FilterTransformer does something similar but in a very restricted way (it basically only is used for paging through data models). Per - 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] - 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] __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com - 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] __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com - 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] - 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]
Re: CInclude bug???
Will do. For now see: http://outerthought.net/wiki/Wiki.jsp I could have sworn I did it, but I must have left the documentation dir out of my patch. In 3 weeks when I send in my refactoring of CInclude/XInclude I'll submit that as well. -Andy Per Kreipke wrote: Incorrect. This is a bug and the @select does work in Cocoon 2.1.x. Ah. I have a fix on my local drive but I haven't submitted it yet. Will do so very soon. While you're at it, how about updating: http://xml.apache.org/cocoon/userdocs/transformers/cinclude-transformer.html on which I based my answer. Per to make the long story short: the output has the whole xml file after the section of the xml file i want to include. i.e cinclude:include src=../../commons/contents/ATTRIBUTES.xml select=data/AGE/* / outputs: ?xml version=1.0 encoding=UTF-8? age data age !-- this is what i want -- data !-- this is what i DONT want -- dt text dt age data age /data Am i doin something wrong or is it a bug?? Not a bug. CInclude does not support selecting just a portion of your XML model (and neither does XInclude). E.g. your @select above does nothing. To do what you want to do, just add a XSLT tranformer _after_ your CInclude, then in that XSLT logic either: - match the elements you want with identity templates, - or, create a generic identity template and use empty matchers for the elements you _don't_ want. XSLT makes a clean, generic filtering language. Note: Cocoon's FilterTransformer does something similar but in a very restricted way (it basically only is used for paging through data models). Per - 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] - 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] - 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] - 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]
Re: CInclude bug???
Specifically: http://outerthought.net/wiki/Wiki.jsp?page=CInclude -Andy Andrew C. Oliver wrote: Will do. For now see: http://outerthought.net/wiki/Wiki.jsp I could have sworn I did it, but I must have left the documentation dir out of my patch. In 3 weeks when I send in my refactoring of CInclude/XInclude I'll submit that as well. -Andy Per Kreipke wrote: Incorrect. This is a bug and the @select does work in Cocoon 2.1.x. Ah. I have a fix on my local drive but I haven't submitted it yet. Will do so very soon. While you're at it, how about updating: http://xml.apache.org/cocoon/userdocs/transformers/cinclude-transformer.html on which I based my answer. Per to make the long story short: the output has the whole xml file after the section of the xml file i want to include. i.e cinclude:include src=../../commons/contents/ATTRIBUTES.xml select=data/AGE/* / outputs: ?xml version=1.0 encoding=UTF-8? age data age !-- this is what i want -- data !-- this is what i DONT want -- dt text dt age data age /data Am i doin something wrong or is it a bug?? Not a bug. CInclude does not support selecting just a portion of your XML model (and neither does XInclude). E.g. your @select above does nothing. To do what you want to do, just add a XSLT tranformer _after_ your CInclude, then in that XSLT logic either: - match the elements you want with identity templates, - or, create a generic identity template and use empty matchers for the elements you _don't_ want. XSLT makes a clean, generic filtering language. Note: Cocoon's FilterTransformer does something similar but in a very restricted way (it basically only is used for paging through data models). Per - 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] - 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] - 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] - 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] - 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]
Loading data in an Action with XMLForm
Hi all, I'm trying to make all the forms on www.superlinksoftware.com/cocoon/samples/bringmethis/ support a modify mode. In order to do that I need to let the user enter his name and password, submit, and then retrieve the rest of the data and populate it into the next page's form. I've been trying to do this by putting a call to getForm().setValue(/street,123 cherry tree lane) in the call to public Map perform(); but that doesn't seem to be working. Nor does ((UserBean)getForm().getModel()).setStreet(123 cherry tree lane). So how do I populate data in the next form during the process of the previous? Thank you kindly, -Andy Relevant excerpts: /** * Invoked after form population * * Semanticly similar to Struts Action.perform() * * Take appropriate action based on the command * */ public Map perform () { // get the actual model which this Form encapsulates // and apply additional buziness logic to the model UserBean jBean = (UserBean) getForm().getModel(); //jBean.incrementCount(); // set the page control flow parameter // according to the validation result if ( getCommand().equals( CMD_NEXT ) getForm().getViolations () != null ) { // errors, back to the same page return page( getFormView() ); } else { // validation passed // continue with control flow // clear validation left overs in case the user // did not press the Next button getForm().clearViolations(); // get the user submitted command (through a submit button) String command = getCommand(); // get the form view which was submitted String formView = getFormView(); if ( formView.equals ( VIEW_BUYERREG ) ) { if ( command.equals( CMD_NEXT ) isModify() == false ) { return page( VIEW_CONFIRM ); } else if (command.equals( CMD_NEXT ) ) { UserBean bean = (UserBean) getForm().getModel(); if ( loadBuyerReg(bean) ) { Map page = page(VIEW_BUYERREG); page.put(/email,[EMAIL PROTECTED]); return page; } else { return page(VIEW_MODIFY); } } } // apply control flow rules if ( formView.equals ( VIEW_CONFIRM ) ) { if ( command.equals( CMD_NEXT ) ) { try {registerUser(jBean);} catch (Exception e) { e.printStackTrace(); return page( VIEW_FAILED ); } return page( VIEW_THANKS ); } } } // should never reach this statement return page( VIEW_BUYERREG ); } private boolean loadBuyerReg(UserBean userbean) { Form form = getForm(); userbean.setUserName(BlaBla); form.setValue(/userName,blabla); userbean.setEmail([EMAIL PROTECTED]); form.setValue(/email,[EMAIL PROTECTED]); form.save ( getObjectModel(), getFormScope() ); userbean.setStreet(123 bla); userbean.setState(FL); userbean.setZip(13456); return true; } - 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]
Re: SQLTransformer good, ESQL bad
From the information provided it is not immediately apparent to me what your problem is. But from crude benchmarking I've done.. ESQL is SIGNIFICANTLY faster than the SQLTransformer.. To experience this, use apbench on the http://localhost:8080/cocoon/samples/poi/statetax.xls and statetax2.xls (filenames are approximate) examples that come with cocoon. The statetax2 example is more complicated and has groupings and stuff, but its STILL several times faster than the SQLTransformer version. I found my results to be consistent when used other ways as well. SQLTransformer is slow. -Andy On Sat, 2002-08-17 at 17:13, Jan Willem Penterman wrote: I'm sorry to the spam the list like this, but now I've got the feeling I'm really getting somewhere: I've set up cocoon-2.0.3 binary release for j2sdk1.4 and added a pool for MySQL Connector/J . Now I've actually managed to get some row data from a MySQL database using SQLTransformer! But with ESQL it still fails in: org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error opening connection to dburl: : No suitable driver Now besides being curious about solving this error, I'd like to know why or why not I should stickt with SQLTransformer. In other words, why should I care about ESQL? JW P.s. I'm not going to post the pool setup, since SQLTransformer clearly got a connection from it so it works. query.xsp: -- ?xml version=1.0? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; root esql:connection esql:execute-query !-- connection information -- esql:poolmysql/esql:pool !-- SQL query -- esql:query select something from that /esql:query !-- result processing elements -- esql:results esql:row-results that esql:get-columns/ /that /esql:row-results /esql:results esql:update-results/ esql:no-results/ esql:error-results/ /esql:execute-query /esql:connection /root /xsp:page sitemap.xmap: (this is a subsitemap of cocoon/sitemap.xmap) - ?xml version=1.0? !-- sitemap for mysqltest -- map:sitemap xmlns:map=http://apache.org/cocoon/sitemap/1.0; !-- === Components === -- map:components map:generators default=file map:generator label=content,data logger=sitemap.generator.serverpages name=serverpages pool-grow=2 pool-max=32 pool-min=4 src=org.apache.cocoon.generation.ServerPagesGenerator/ /map:generators map:transformers default=xslt/ map:readers default=resource/ map:serializers default=html/ map:selectors default=browser/ map:matchers default=wildcard map:matcher name=wildcard src=org.apache.cocoon.matching.WildcardURIMatcherFactory/ /map:matchers /map:components !-- === Pipelines === -- map:pipelines map:pipeline map:match pattern=index.html map:read src=documents/static/index.html mime-type=text/html/ /map:match map:match pattern=esqltest.xml map:generate src=logic/query.xsp type=serverpages/ map:serialize type=xml/ /map:match map:match pattern=sqlttest.xml map:generate src=documents/mysqltest.xml/ map:transform type=sql map:parameter name=use-connection value=mysql/ /map:transform map:serialize type=xml/ /map:match /map:pipeline /map:pipelines /map:sitemap - 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] -- http://www.superlinksoftware.com - software solutions for business http://jakarta.apache.org/poi - Excel/Word/OLE 2 Compound Document in Java http://krysalis.sourceforge.net/centipede - the best build/project structure a guy/gal could
Re: sexy open source
Hey, come on, today is offtopic day! See all these messages fly? None of them are Cocoon related ;-P In that case in response to a previous posted, I'd like to offer this gem: EJBs in factwellthey suck. -Andy - 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]
Re: sexy open source
Why don't forget that you need Jakarta POI to output to Excel or the HSSF Serializer for Cocoon. ;-) -Andy Vegan Portal wrote: Hi Andreas, --- Andreas Hochsteger [EMAIL PROTECTED] schrieb: * UML Modeling: ArgoUML (http://argouml.tigris.org/) * Version Control System: CVS (http://www.cvshome.org/) Subversion (http://subversion.tigris.org/) (!!!) * IDE: Eclipse (http://www.eclipse.org/) Netbeans (http://www.netbeans.org/) * Job Scheduling: Quartz (http://www.part.net/quartz.html) * Workflow Management (continued): OSWorkflow (http://www.opensymphony.com/osworkflow/) * Search Engine: Apache Lucene (http://jakarta.apache.org/lucene/) * Regression Testing: JUnit (http://www.junit.org/) JXUnit (http://jxunit.sourceforge.net/) JMeter (http://jakarta.apache.org/jmeter) * Build Framework: Ant (http://jakarta.apache.org/ant/) Krysalis Centipede (http://www.krysalis.org/centipede/) * Project Site Management: Apache Forrest (http://xml.apache.org/forrest/) Thank you for jumping in! Almost all of your proposals I know already, some are on my (getting long) task list to download and test out. All are probably of great use to establish open source based development company. I've kept them out in my initial post, because it would be twice that long mentioning them. Some Remarks: ArgoUML seems to be dead as open source, evolving to free and/or commercial Poseidon edtions available at www.gentleware.com. Nevertheless, it is probably the most evolved (almost) freely available UML engine with some very interesting features (critiques, for example) not available elsewhere. Even in free edition, it produces XMI, that could be further processed with open source to generate DB, EJBs and documentation. That's why I've mentioned it. Getting little angry here, I just don't understand why open www.omg.org specifications don't go also open or free regarding their implementation in leading products like Together, Rational or Embarcadero, just to get more customers for consulting, the key concept behind sale of open source. That's why I recommend free yer lame Poseidon, because I think the UML-based engineering is of great use in almost every serious project. Regarding Lucene, I'm definitely eager to use it as advanced search engine in Cocoon, I hope it easy to be integrated. I had not to do any testing so far, but I'll definitelly have to look at engines proposed from you above, regarding how far are they able to benchmark various possible Cocoon configurations and placement inside oher frmeworks. If I find some more projects in my huge unmanaged link mail folder I'll let you know ;-) Well, I thought I'm quite experienced with actual open source roadmap, but I see there are many applications I was not aware of, so keep on posting your proposals, possibly with short comment on them. Eager for your next responses, Peter. __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de - 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] - 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]
Re: [Fwd: Encoding in HSSF (XLS) Serializer]
You know... I don't think it does yet. It would make sense to set the underlying encoding to unicode (16-bit) if per chance the locale isn't set to us/uk/austrailia. (we use the locale for numbers) I'll fix this when I get a chance if someone else doesn't beat me to it. (Its a very simple fix) -Andy Nicola Ken Barozzi wrote: Original Message Subject: Encoding in HSSF (XLS) Serializer Date: Thu, 15 Aug 2002 16:16:14 +0500 From: Hiloliddin Karimov [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Hi I try to use HSSF (XLS) Serializer for creating a spreadsheet in the Excel. I have problem with cyrillic character, when I try show it I get other letters. Is there an encoding on HSSFSerializer? Any ideas, tips, or help would be greatly appreciated. Thanks very much! Hill (Cocoon-User) ?xml version=1.0 encoding=windows-1251? Tomcat 4.0; Cocoon 2.1 dev; Java SDK 1.4; - 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]
Re: Cinclude crashing catalina...?
Sorry. The pipeline you included didn't have it. Alexander Smirnoff wrote: Of cause I included transformer! Even if I don't, - it should not crash the server... As I understand from mail archive it should work with cocoon:/ protocol. But it works fine with static xml files and *crash* catalina if I use cocoon:/ protocol... Alex. - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 13, 2002 4:04 PM Subject: Re: Cinclude crashing catalina...? You have to include the cinclude or xinclude transformer in your pipeline. Instructions for CInclude may be found here: http://outerthought.net/wiki/Wiki.jsp?page=AddCIncludeToMinimalSitemap Alexander Smirnoff wrote: FYI. The same thing happenning with xinclude... - Original Message - *From:* Alexander Smirnoff mailto:[EMAIL PROTECTED] *To:* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] *Sent:* Tuesday, August 13, 2002 3:26 PM *Subject:* Cinclude crashing catalina...? I do not know exactly what happening, it is first time I experimenting with cinclude, but it seems crashing Tomcat 4.0.1. Cocoon 2.0.2 has declared in source xml: cinclude:include src=cocoon:/message/ with correspondent pipeline: map:match pattern=message map:generate src=xsp/message.xsp type=serverpages/ map:serialize type=xml/ /map:match Logs are clean in Catalina as well as in Cocoon... Alex. - 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] - 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] - 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]
Re: How to Lock and specify the Width of Cells using POI..
You cannot currently lock cells (assuming you mean ether protect via encryption or freeze in place). Look at: http://xml.apache.org/cocoon/userdocs/serializers/xls-serializer.html Specifically gmr:ColInfo as well as the webapp/cocoon/samples/poi examples (under Legacy Formats from the menu). -Andy Kommineni, Sateesh (IndSys) wrote: Hi, I am using POI's HSSF implementation for generating Excel Sheets from my Java Program. How can we lock the Cells in a sheet and how to specify the Width of the Cell.. Pls let me know how to achieve the above details... Thanks a lot... -Sateesh THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are notified that any dissemination, distribution or copy of this communication is strictly Prohibited. If you have received this message by error, please notify us immediately, return the original mail to the sender and delete the message from your system. - 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] - 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]
Re: Excel generator
Sven Kuenzler wrote: About the Source vs Generator issue: I found a post by Sylvain [1]. It does not separate the Source and Generator concepts completely but the bottom line seems to be - If you have a format with some natural xml respresentation, it's a source (Like Excel-MS's Excel-XML?) Its not *that* natural. There is an amount of parsing/etc that would have to happen. - If you have a binary format which needs to be parsed to XML, it's a generator (Like XLS - Gnumeric?) makes sense. Sven [1] http://marc.theaimsgroup.com/?l=xml-cocoon-devm=102576977207135w=2 Andrew C. Oliver schrieb: Explain, elaborate. 2 Why would you want to do it at the transformation point? Sven Kuenzler wrote: Something that just came to me thinking of the dicussion about an ExcelGenerator: What about implementing it as (Writeable)Source instead? That way you could use it with SourceWritingTransformer and friends, not only as pipeline starting point. Sven - 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] - 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] - 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] - 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]
Re: how to generate Excel
Have you looked at the examples? Samples-Legacy Format or under webapp/cocoon/samples/poi/ or the docs - http://xml.apache.org/cocoon/userdocs/serializers/xls-serializer.html -Andy Abhishek Goel wrote: Hi, I am having a xml file ,xslt for that xml. Could any one suggest me how to define a pipeline for generating an excel sheet from this xml. Regards Abhishek - 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] - 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]
Re: Excel generator (Vadim Autoresponder please read)
Sven Kuenzler wrote: Good question. ATM, I only could give artificial scenarios. The real use case I had in mind was the application where I used the Serializer out of Cocoon. This application produces an Excel sheet which is sent out by Email. So it is not direct a response but a side effect to the request. In C2 this is called a sink (or will be). Okay I got that part...but it sounds kind of like an action to me. If I wanted to port that app to Cocoon, I thought of using a Transformer. Then again, probalby I would not really need a WriteableSource for that. IIRC, there is a Transformer which could take a Serializer to produce the Excel output. Okay so the issue is that you have *two* outputs of sort. One is to email, one is to the browser. The Excel is to email and probably HTML to the browser. In my mind this doesn't justify *breaking* the logical model of the sitemap. It seems you need an Action that makes a seperate internal request of sorts and emails the output. So the action would make a request to a different pipeline and email that, where the user response would be in HTML. Does that not sound reasonable? Any thoughts from you Vadim? Sven Andrew C. Oliver schrieb: Explain, elaborate. 2 Why would you want to do it at the transformation point? Sven Kuenzler wrote: Something that just came to me thinking of the dicussion about an ExcelGenerator: What about implementing it as (Writeable)Source instead? That way you could use it with SourceWritingTransformer and friends, not only as pipeline starting point. Sven - 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] - 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] - 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] - 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]
Re: Excel generator
Explain, elaborate. 2 Why would you want to do it at the transformation point? Sven Kuenzler wrote: Something that just came to me thinking of the dicussion about an ExcelGenerator: What about implementing it as (Writeable)Source instead? That way you could use it with SourceWritingTransformer and friends, not only as pipeline starting point. Sven - 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] - 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]
Re: Excel generator
Ryan do note that the HSSFSerializer is already part of cocoon: http://xml.apache.org/cocoon/userdocs/serializers/xls-serializer.html -Andy Ryan Hoegg wrote: Hi, You might check out the POI project (hunt around for the HSSF stuff). They claim to be working on Generators and Serializers for Cocoon for all the formats. http://jakarta.apache.org/poi/index.html Ryan Michael Wechner wrote: Hi Is there an Excel Generator, which creates from an Excel (xls) file some XML? Or what approach would you take to convert existing Excel documents into some useful XML? Thanks a lot Michael - 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] - 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] - 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]
Re: Excel generator
[EMAIL PROTECTED] wrote: Yeah in short: Its a Cocoon Serializer. While I appreciate this feedback, I personally have no use cases for the Serializer outside of Cocoon. ??? you don't ;-) the use case is very simple: create a xls-file out of an gnumeric-file. ;-) don't see any cocoon stuff here. i guess that would be like m$ saying there is no use case for calculation outside excel. but ok. i guess i know what you mean. I mean currently, I don't personally have any uses for the serializer outside of Cocoon. HA, I'll be writing that Excel calculation engine soon. This makes it impossible for me to support a non-cocoon version of the Serializer. It would take a motivated individual who knew what to do in order to support such a project. My continued personal interest is in generating reports via Cocoon and the HSSF Serializer. i would like to do that, but since i realy dont have any clue about the inner workings of cocoon this seems almost impossible for me at the moment. Look at the StateTax2 sample. under Welome-Legacy Formats. Cool! Would you mind writing up a case study for POI? http://jakarta.apache.org/poi/casestudies.html i'll see that i'll have time somewhere within the next 3-4 weeks (granted that the custumer oks this). Cool! Well tell them that I'll send them a T-Shirt (yourself as well) once we decide on a logo and I get the shirts printed. I'll look through what Sven did. My only concern is whether you'll end up with Cocoon anyhow as your project scales up. this might be the case indeed. but at the moment and for the foreseeable future (3-6 month) this wont happen and so the discussion is a moot one. humm.. Well one thing I don't recommend is generating the gnumeric format directly once you know what you're doing. Meaning come up with an interim format. this isn't possible either cause the invoice-format is still very young and there are a lot of changes going on for the next several months. it is impractical to let those changes be made by programmers. the people from the billing-dept. should do them but i simply cannot force them to programm a bill in some xml-format. the maximum i can give them is linux-box with gnumeric installed on it (and even this is not so simple since this is a windowsshop). Wha? Its not stored in the database? You see with XSP/ESQL, you could query it from the database, output XML, transform it via your stylesheets and serialize it via HSSF Serializer. How are you currently getting them out in XML? on the otherhand transforming a given gnumeric-file into an stylesheet is realy no fun and very brittle to do. Look at the HSSF Serializer doc that explains what it actually cares about. makes it into a Gnumeric workbook. but what i want to do later to is to create a pdf-file instead of an excel- file. i'll be using xsl-fo for that and i see some hard times coming to first create an xsl-fo file out of gnumeric. I don't think it has to be if you do as above. as said before the only practical solution is to get an allready formated gnumeric-file from the billing-dept. humm... You prefer this to the Excel xml format? havent had a look on xls-xml. ciao robertj Robert Kuzelj Gaissacherstrasse 7 email: [EMAIL PROTECTED] 81371 Muenchentel: 0177/5302230 the trinity of desirables of (software) architecture: Firmitas, Utilitas, Venustas (marcus vitruvius 20 BC) strength, utility, beauty - 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] - 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]
Re: [Morphos] Starting the code :-) (was Re: Excel generator)
I would suggest a seperate mailing list for this, perhaps on krysalis in addition to the commons mailing list, as there is no way in hell I'm subscribing to the commons mailing list ever again because the volume is soo great that it would triple my current email volume and probably bring my ISPs flaky email server down anyhow! Others probably feel similar. Andy, the discussion has been going on already on that list, so I would really like to continue there. I promise that I will make the mails prepended with [Morphos], so you can filter them. Dude, you don't understand. I'm only getting like 50% of my emails, in part due to the amount of traffic I get. I physically cannot subscribe to commons. If I do that I'd pretty much never get any mail from anywhere else. The traffic on Commons is REDICULOUS. There's no way we can split it? I mean I just can't. I tried to help my LUG get a SMTP server set up but they're all a bunch of Sysadmin types who are trying to set up a REALLY COOL SMTP server (still trying after 6 months) rather than a functional one in the near future! I intend to set up my own SMTP server on my server, but it won't be in the near future. Regardless, I know a couple other people (of your acquantenance) who might help out if the list were seperate. Hell we created a list for cocoon-doc From there we can plan an approach for the generator. This was exactly the proposed plan. yes. It would probably be faster too, my patches get applied too slow to work on it very efficiently here. (no offense) Yup, it's time :-) Who managed to make the serializer work out of Cocoon, can you please send me the zip? I can thus checkin preliminary stuff in CVS. Thanks :-) - 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]
Re: Excel generator
Manos Batsis wrote: From: Michael Wechner [mailto:[EMAIL PROTECTED]] Therefore I thought it would be nice if he is sending me his Excel and I generate an XML, which I can modify , and then I serialize it back into Excel, such that he can work on it. Although I don't like dealing with M$ stuff, a nice idea is utilizing the office 2002 XML formats, specifically the one of Excel. Just my 0.02 or less. Manos Explain the advantage? This is what I brought up, so far its unanimous the other direction. Why would you prefer this over an XSLT page that accomplishes the same thing? -Andy - 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] - 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]
Re: Excel generator
Manos Batsis wrote: From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]] Although I don't like dealing with M$ stuff, a nice idea is utilizing the office 2002 XML formats, specifically the one of Excel. Explain the advantage? This is what I brought up, so far its unanimous the other direction. Why would you prefer this over an XSLT page that accomplishes the same thing? I'm not sure we understand each other here. What I had in mind is removing the work needed to produce XML from Excel files and just use the XML output abilities of the application. One can use that XML directly with the Excel application or use XSLT to produce a web-based interface. Okay. So do that. That doesn't have much to do with the HSSF Serializer/Generator does it? Not sure what the argument here is. Manos - 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] - 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]
Re: Excel generator
Nicola Ken Barozzi wrote: Geoff Howard wrote: I didn't think there was, but the POI site (http://jakarta.apache.org/poi/) claims that there is, so you may want to check more carefully in scratchpad. I assume you know about the transformers and serializers for Excel format using the POI/HSSF work from Apache Jakarta. Using their work, it should be fairly easy to create a generator if one doesn't already exist in scratchpad. It's already in the core, and is also already in 2.0.3, with examples. Wait I'm confused. Here I was posting a long old response about why I haven't done a generator, and he meant serializer.doh. - 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]
Re: Excel generator
But the more important part of my answer was What do you want on your generator, and what do you wish you had on your serializer -- would you like fries too? Meaning I need ideas! I'm on the fence, I want some input. -Andy Sven Kuenzler wrote: Is there an Excel Generator, which creates *from* an Excel (xls) file some XML? Or what approach would you take to convert existing Excel documents into some useful XML? I think the previous responses missed the *from* (my emphasis) :-) So, read Andy's answer on the dev list. In short: No, there is no HSSFGenerator (yet). Sven - 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] - 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]
Re: Excel generator
Geoff Howard wrote: Well, I'll make a stab at what I would think could be useful for a generator from an excel file. I can think of two logical directions people would want to go. 1) If you are serializing to some display format (html, pdf, etc) you'd want to reproduce the data and formatting as it would appear viewed in, or printed from excel. You can of course do an approximation of this in any format via a stylesheet. Granted it won't look *eactly* the same due to differences (HTML borders are vastly different from Excel's). 2) If you are using excel as a make-shift database, you would want to preserve the data structure so that it can be transformed and acted on or displayed. Yes. I would assume that both of these uses could be accomplished by just outputting the format that would have created the same style sheet to begin with, except possibly for the option to output formula results instead of the formulas. Most users would assume the formats and behaviour to be close to symetric - if start with an .xls file, run it through the generator and serializer, I ought to wind up pretty close to where I started if not exactly where I started. great. Does that work for a discussion starter? Yes so the question I guess is assuming you can transform it via XSLT to whatever you like given the effort. What format (XML tag format) makes most since? Preserving the gnumeric compatibility? A custom format that makes more sense? Striving for Excel 2000 XML format compatibility? Currently the serializer shares the gnumeric tag language. -Andy Geoff -Original Message- From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 9:57 AM To: [EMAIL PROTECTED] Subject: Re: Excel generator But the more important part of my answer was What do you want on your generator, and what do you wish you had on your serializer -- would you like fries too? Meaning I need ideas! I'm on the fence, I want some input. -Andy Sven Kuenzler wrote: Is there an Excel Generator, which creates *from* an Excel (xls) file some XML? Or what approach would you take to convert existing Excel documents into some useful XML? I think the previous responses missed the *from* (my emphasis) :-) So, read Andy's answer on the dev list. In short: No, there is no HSSFGenerator (yet). Sven - 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] - 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] - 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] - 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]
Re: Excel generator
Yes, and it may be good to provide a standard out of the box stylesheet that does this. Well we do have some samples, but its been limited at the moment by kind of a chicken and the egg scenario. The serializer is there, the samples are there but we can't more because we don't have any usage scenarios except for mine (translation: lots of people are using POI but few people are using the serializer). But that may in itself be the reaons that we don't. Are you using the serializer? For what? how? ...and then bug reports and requests could drive the development a bit more. Yes so the question I guess is assuming you can transform it via XSLT to whatever you like given the effort. What format (XML tag format) makes most since? Preserving the gnumeric compatibility? A custom format that makes more sense? Striving for Excel 2000 XML format compatibility? Currently the serializer shares the gnumeric tag language. I haven't been able to find the current gnumeric tag language documented either at gnome.org, or at the poi site at jakarta. If the new native Excel http://xml.apache.org/cocoon/userdocs/serializers/xls-serializer.html http://cvs.gnome.org/lxr/source/gnumeric/gnumeric.xsd http://www.object-refinery.com/jworkbook/index.html ftp://213.253.31.132/jworkbook/gnumeric-xml.pdf (Just reappeared after being gone for awhile, I'll put this in the docs soon) format is great, that'd be worth considering, but I don't see much of a Well it actually kinda sucks and is probably hard to hand generate. It probably actually sucks more than the Gnumeric format, but it more cleanly maps to the file format. reason that it would matter what the intermediate format is - you either want to go from an excel spreadsheet or to an excel spreadsheet (or both), but what it is in the middle doesn't matter much (except for those writing any transformation process in the middle). The only vote for the new native excel xml would be that the total universe of people who will be familiar with it will likely vastly out number those familiar with gnumeric. Great feedback. I appreciate it! Thanks, -Andy Geoff - 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] - 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]
Re: building 2.0.3
Mike, So since Cocoon is a servlet this means you need servlet.jar in order to build Cocoon. -Andy Carsten Ziegeler wrote: Hi Mike, you did nothing wrong, except that you found a bug ;) No, seriously, thanks for finding this problem, I will fix it for the next release. Thanks Carsten Carsten Ziegeler Chief Architect Open Source Group, SN AG -- Cocoon Consulting, Training and Projects -- mailto:[EMAIL PROTECTED] http://www.s-und-n.de http://ziegeler.bei.t-online.de -Original Message- From: Mike Ash [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 8:01 PM To: '[EMAIL PROTECTED]' Subject: building 2.0.3 If I remove all of the optional jars and try to build I get errors about not finding the servlet stuff, in the optional directory is the servlet jar. So my question is should the servlet jar be in the core directory or am I doing something wrong? - 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] - 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]
Re: Debugging buggy XSL code
Hi Lajos, Generally you can have these errors spit out on a nice error page, but you probably also see errors regarding not being able to find some error stylesheet thing. I believe its called error2html.xsl or maybe error2document.xsl. You'll notice cocoon is looking for this somewhere other than where it actually is located. If you copy this to where it is looking for it then you'll get a pretty helpful error page. I'm not sure if this is a bug or what, but its certainly annoying. thanks, -Andy Lajos Moczar wrote: Hi all - At various times (or versions), I though I have seen Cocoon spit out messages about XSL errors, like The element type xsl:if must be terminated by a matching end-tag. In 2.0.2, these messages come at the Tomcat console window or logs. Wouldn't it be helpful to capture these messages and add them to Cocoon error page? It would certainly help me - the Transform error: null pointer exception doesn't mean very much. If someone has an idea of where the change needs to be made, unless it has already been done, I'll gladly look into doing it. Regards, Lajos - 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]
Re: HSSFSerializer
Yes...note HSSF logging decreases performance by at least 100x [EMAIL PROTECTED] wrote: hallo sven, i tried it. works very well. thanks. just one more question: how can i deactivate the log-msgs? ciao robertj Robert Kuzelj Gaissacherstrasse 7 email: [EMAIL PROTECTED] 81371 Muenchentel: 0177/5302230 the trinity of desirables of (software) architecture: Firmitas, Utilitas, Venustas (marcus vitruvius 20 BC) strength, utility, beauty - Original Message - From: Sven Kuenzler [EMAIL PROTECTED] Newsgroups: gmane.text.xml.cocoon.user To: [EMAIL PROTECTED] Sent: Monday, July 15, 2002 5:00 PM Subject: Re: HSSFSerializer Sven Kuenzler schrieb: [EMAIL PROTECTED] wrote: i want to use the HSSFSerializer which if i have understood correctly serializes an gnumeric (xml) - document into a excel-file. the problem is that i solely want to use this class without all the other cocoon-stuff. is that possible? I have done this. If you can wait until tuesday, I could post a code snippet. Otherwise, search the dev-list for the away mission thread ;-) I have uploaded http://www.tzi.de/~svenk/poimorpher.zip The project structure was ripped of an old project of mine, so it may need some adjustments. Normally, build test should generate a poimorpher.jar and two test Excel files in a work directory. If so, have a look at morphos.poi.test.HSSF to learn how this can be deployed in your app. This package was done to prepare migration of the Gnumeric2Excel stuff into a Jakarta commons project. As it stands, I only stripped off the Cocoon interfaces and removed some of the Avalon contracts (which mostly weren't executed anyway). Let me know if this works for you. Sven - 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] - 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] - 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]
Re: Java packages
cocoon/WEB-INF/classes or cocoon/WEB-INF/libs (for jar files) -Andy Robert Bourdeau wrote: I think there was a thread on this, BUT it appears that the cocoon-users archive is not indexed, there is no web archive, and I can't keep all the Cocoon-user messages. So, apologies in advance if this question was recently asked. (I did check the FAQ, nothing there). Ok, I want to utilize application specific java classes in my XSPs that, using JSP, I would normally location within the appdir/WEB-INF directory. I'm quite familiar with the Tomcat 4 class loaders, but Cocoon is its own Tomcat servlet, so it would seem that I'm forced to utilize a WEB-INF directory within the cocoon dir? Suggestions or pointers? Using: Cocoon 2.0.1-dev Tomcat 4.0.1, Apache 1.3.24 with WARP JDK 1.3.1 Solaris 2.7 on a Sparc platform Thanks --- Bob - 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] - 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]
Re: passing a value into an XML form from somewhere else
I still don't think I'm explaining this correctly.. I want to get the value of an HTTPRequest parameter that called the XMLForm but was *not* part of the XMLForm into the XMLForm or into the bean. http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffer.html?itemNo=3 So when I call that, I want the (not hidden now, but hopefully will be again) itemNo to be populated with the 3. From the form, how do I get itemNo into the model or the form, without making the calling screen part of the XMLForm? -Andy Ivelin Ivanov wrote: I assume your cinclude transformer substitures the actual value. This is what you could do: xf:hidden ref=myprop xf:valueci:include link=.../xf:value /xf:hidden Now after cinclude substitues the value, the XMLFormTransformer will not (should not) use the value of the bean property, but the explicitly specified value in the markup instead. How is that? Ivelin Ivanov wrote: Seems like you extended the framework to support xmlform-model ;) This has been discussed before, maybe we should check it in. I didn't do it... It must already be there...? Of course this is a little delicate, because the model can be a DOM node. As to your question, why don't you use xf:hidden? See the most recent XMLForm demo. Right, but how do I get the value into the hidden from OUTSIDE the xmlform pipeline? meaning how do I pass a parameter into the xmlfrom-based pipeline and get it INTO the xmlfrom. I made it textbox so I could see it was always 0 instead of 3. -Andy Ivelin - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 14, 2002 6:58 PM Subject: Re: passing a value into an XML form from somewhere else Sure. here is the offer action (which loads the form) map:match pattern=action/postoffer.html map:act type=OfferAction map:parameter name=xmlform-id value=offer-form/ map:parameter name=xmlform-scope value=session/ map:parameter name=xmlform-model value=OfferBean/ map:generate src=content/form/{page}.xml/ map:transform type=cinclude/ map:transform type=xmlform label=xml/ map:transform src=stylesheets/form2html.xsl/ map:transform src=context://stylesheets/xmlform/xmlform2html.xsl/ map:serialize type=html/ /map:act /map:match here is the url which calls it http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffe r .html?itemNo=3 Where the screen calling the form is not itself an XML form. However it needs to pass a parameter to be stored in a hidden field (or otherwise poke it into the OfferBean attached to the form). You can actually go here: http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antiqu e s/3.html?category=Antiques and see what I mean (click on Make An Offer) -Andy Ivelin Ivanov wrote: Myabe I misunderstand the problem. Can you send your sitemap and some more details. - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 14, 2002 5:39 PM Subject: Re: passing a value into an XML form from somewhere else Ivelin Ivanov wrote: The name of the parameter has to represent the XPath to the bean property. See the html source of an xmlform page to see how element names are translated into widgets @name attributes. Does this help? I don't think so. I need to pass the data into the pipeline from outside. If I just pass the same parameter as a propery it is not picking it up. Or at least its not ending up in the form. -Andy Ivelin - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 14, 2002 11:50 AM Subject: Q: passing a value into an XML form from somewhere else Hi All, I've got a situation where I have multiple items on a dynamically generated page and I want to be able to allow the user to click on a link and post an offer on them. So for instance on http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Anti q u e s/3.html I want to be able to have the user click make an offer http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postof f e r .html?itemNo=3 which will pass to an XMLForm based action. The problem is I need itemNo to end up in my OfferBean.java along with the user populated fields in the form. How do I take an http parameter and get it into the bean attached to an XMLForm? Thanks, Andy
Re: Monday Night: Free POI, lots of Pizza, And all the info you cantakein one night about POI and the C
Derek Hohls wrote: Any chance that *all* the links off of: http://www.trilug.org/~acoliver/poiPres18.html could be updated to point to a 'non localhost' machine (eg cvs.apache.org) Thanks! The 8080 links point to a local installation of Cocoon. Is there a remote installation of Cocoon that I should point them to? I'd point them at my server but the POI samples aren't working at the moment, I'm waiting for my patches to upgrade to the latest POI and for the problems in the head to be fixed before upgrading my server. Sorry, -Andy PS. Just install Tomcat and Cocoon and the links will work :-) [EMAIL PROTECTED] 13/07/2002 04:37:25 http://www.trijug.org/ - Monday night, if you're not doing too much and you live on the US East coast, why not come on down (or up to North Carolina), we'll have lots of nutritious Hawaiian poi! We'll have pizza, pop as well for those of you who are not into eating mushed tarro root. We'll go over the POI project, how to use it, what it is, etc. We'll tackle some basics of Cocoon (as applies to using the HSSF Serializer and reporting), and I'll answer lots of questions. We should have some great information sources on hand. You'll have me (your humble poi-servant), Marc Johnson (who won't come on stage but you might be able to corner him before or afterwards) and author of an upcoming book, Conrad D'Cruz, who can talk to you in more detail about Cocoon, life, the universe and everything. Hope to see anyone who can make it! -Andy - 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] - 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] - 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]
Re: passing a value into an XML form from somewhere else
can I do ?/itemno=x okay, I'll try it. Ivelin Ivanov wrote: The name of the itemNo attribute has to have a / prefix: /itemNo. I will make a change in the Form impl to tolerate parameters without leading /. Send me the code of your action if this doesn't work. Ivelin - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 15, 2002 8:37 AM Subject: Re: passing a value into an XML form from somewhere else I still don't think I'm explaining this correctly.. I want to get the value of an HTTPRequest parameter that called the XMLForm but was *not* part of the XMLForm into the XMLForm or into the bean. http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffer .html?itemNo=3 So when I call that, I want the (not hidden now, but hopefully will be again) itemNo to be populated with the 3. From the form, how do I get itemNo into the model or the form, without making the calling screen part of the XMLForm? -Andy Ivelin Ivanov wrote: I assume your cinclude transformer substitures the actual value. This is what you could do: xf:hidden ref=myprop xf:valueci:include link=.../xf:value /xf:hidden Now after cinclude substitues the value, the XMLFormTransformer will not (should not) use the value of the bean property, but the explicitly specified value in the markup instead. How is that? Ivelin Ivanov wrote: Seems like you extended the framework to support xmlform-model ;) This has been discussed before, maybe we should check it in. I didn't do it... It must already be there...? Of course this is a little delicate, because the model can be a DOM node. As to your question, why don't you use xf:hidden? See the most recent XMLForm demo. Right, but how do I get the value into the hidden from OUTSIDE the xmlform pipeline? meaning how do I pass a parameter into the xmlfrom-based pipeline and get it INTO the xmlfrom. I made it textbox so I could see it was always 0 instead of 3. -Andy Ivelin - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 14, 2002 6:58 PM Subject: Re: passing a value into an XML form from somewhere else Sure. here is the offer action (which loads the form) map:match pattern=action/postoffer.html map:act type=OfferAction map:parameter name=xmlform-id value=offer-form/ map:parameter name=xmlform-scope value=session/ map:parameter name=xmlform-model value=OfferBean/ map:generate src=content/form/{page}.xml/ map:transform type=cinclude/ map:transform type=xmlform label=xml/ map:transform src=stylesheets/form2html.xsl/ map:transform src=context://stylesheets/xmlform/xmlform2html.xsl/ map:serialize type=html/ /map:act /map:match here is the url which calls it http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoff e r .html?itemNo=3 Where the screen calling the form is not itself an XML form. However it needs to pass a parameter to be stored in a hidden field (or otherwise poke it into the OfferBean attached to the form). You can actually go here: http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antiq u e s/3.html?category=Antiques and see what I mean (click on Make An Offer) -Andy Ivelin Ivanov wrote: Myabe I misunderstand the problem. Can you send your sitemap and some more details. - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 14, 2002 5:39 PM Subject: Re: passing a value into an XML form from somewhere else Ivelin Ivanov wrote: The name of the parameter has to represent the XPath to the bean property. See the html source of an xmlform page to see how element names are translated into widgets @name attributes. Does this help? I don't think so. I need to pass the data into the pipeline from outside. If I just pass the same parameter as a propery it is not picking it up. Or at least its not ending up in the form. -Andy Ivelin - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 14, 2002 11:50 AM Subject: Q: passing a value into an XML form from somewhere else Hi All, I've got a situation where I have multiple items on a dynamically generated page and I want to be able to allow the user to click on a link and post an offer on them. So for instance
Q: passing a value into an XML form from somewhere else
Hi All, I've got a situation where I have multiple items on a dynamically generated page and I want to be able to allow the user to click on a link and post an offer on them. So for instance on http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antiques/3.html I want to be able to have the user click make an offer http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffer.html?itemNo=3 which will pass to an XMLForm based action. The problem is I need itemNo to end up in my OfferBean.java along with the user populated fields in the form. How do I take an http parameter and get it into the bean attached to an XMLForm? Thanks, Andy - 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]
[Fwd: Q: passing a value into an XML form from somewhere else]
---BeginMessage--- Hi All, I've got a situation where I have multiple items on a dynamically generated page and I want to be able to allow the user to click on a link and post an offer on them. So for instance on http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antiques/3.html I want to be able to have the user click make an offer http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffer.html?itemNo=3 which will pass to an XMLForm based action. The problem is I need itemNo to end up in my OfferBean.java along with the user populated fields in the form. How do I take an http parameter and get it into the bean attached to an XMLForm? Thanks, Andy ---End Message--- - 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]
Re: Looking for help in the upcomming release
Giacomo Pati wrote: On Fri, 12 Jul 2002, Carsten Ziegeler wrote: Just an update to the procedure: If you use the latest CVS step 3 - setting the targetted jvm - is done now automatically by the build system. It detects the compiler version you use and chooses by itself the correct target. So, everything is getting easier. Nice work, Carsten. +1 Giacomo - 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] - 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]
Re: passing a value into an XML form from somewhere else
Ivelin Ivanov wrote: The name of the parameter has to represent the XPath to the bean property. See the html source of an xmlform page to see how element names are translated into widgets @name attributes. Does this help? I don't think so. I need to pass the data into the pipeline from outside. If I just pass the same parameter as a propery it is not picking it up. Or at least its not ending up in the form. -Andy Ivelin - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 14, 2002 11:50 AM Subject: Q: passing a value into an XML form from somewhere else Hi All, I've got a situation where I have multiple items on a dynamically generated page and I want to be able to allow the user to click on a link and post an offer on them. So for instance on http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antique s/3.html I want to be able to have the user click make an offer http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffer .html?itemNo=3 which will pass to an XMLForm based action. The problem is I need itemNo to end up in my OfferBean.java along with the user populated fields in the form. How do I take an http parameter and get it into the bean attached to an XMLForm? Thanks, Andy - 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] - 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] - 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]
Re: passing a value into an XML form from somewhere else
Sure. here is the offer action (which loads the form) map:match pattern=action/postoffer.html map:act type=OfferAction map:parameter name=xmlform-id value=offer-form/ map:parameter name=xmlform-scope value=session/ map:parameter name=xmlform-model value=OfferBean/ map:generate src=content/form/{page}.xml/ map:transform type=cinclude/ map:transform type=xmlform label=xml/ map:transform src=stylesheets/form2html.xsl/ map:transform src=context://stylesheets/xmlform/xmlform2html.xsl/ map:serialize type=html/ /map:act /map:match here is the url which calls it http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffer.html?itemNo=3 Where the screen calling the form is not itself an XML form. However it needs to pass a parameter to be stored in a hidden field (or otherwise poke it into the OfferBean attached to the form). You can actually go here: http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antiques/3.html?category=Antiques and see what I mean (click on Make An Offer) -Andy Ivelin Ivanov wrote: Myabe I misunderstand the problem. Can you send your sitemap and some more details. - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 14, 2002 5:39 PM Subject: Re: passing a value into an XML form from somewhere else Ivelin Ivanov wrote: The name of the parameter has to represent the XPath to the bean property. See the html source of an xmlform page to see how element names are translated into widgets @name attributes. Does this help? I don't think so. I need to pass the data into the pipeline from outside. If I just pass the same parameter as a propery it is not picking it up. Or at least its not ending up in the form. -Andy Ivelin - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 14, 2002 11:50 AM Subject: Q: passing a value into an XML form from somewhere else Hi All, I've got a situation where I have multiple items on a dynamically generated page and I want to be able to allow the user to click on a link and post an offer on them. So for instance on http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antiqu e s/3.html I want to be able to have the user click make an offer http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffe r .html?itemNo=3 which will pass to an XMLForm based action. The problem is I need itemNo to end up in my OfferBean.java along with the user populated fields in the form. How do I take an http parameter and get it into the bean attached to an XMLForm? Thanks, Andy - 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] - 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] - 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] - 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] - 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]
Re: passing a value into an XML form from somewhere else
Ivelin Ivanov wrote: Seems like you extended the framework to support xmlform-model ;) This has been discussed before, maybe we should check it in. I didn't do it... It must already be there...? Of course this is a little delicate, because the model can be a DOM node. As to your question, why don't you use xf:hidden? See the most recent XMLForm demo. Right, but how do I get the value into the hidden from OUTSIDE the xmlform pipeline? meaning how do I pass a parameter into the xmlfrom-based pipeline and get it INTO the xmlfrom. I made it textbox so I could see it was always 0 instead of 3. -Andy Ivelin - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 14, 2002 6:58 PM Subject: Re: passing a value into an XML form from somewhere else Sure. here is the offer action (which loads the form) map:match pattern=action/postoffer.html map:act type=OfferAction map:parameter name=xmlform-id value=offer-form/ map:parameter name=xmlform-scope value=session/ map:parameter name=xmlform-model value=OfferBean/ map:generate src=content/form/{page}.xml/ map:transform type=cinclude/ map:transform type=xmlform label=xml/ map:transform src=stylesheets/form2html.xsl/ map:transform src=context://stylesheets/xmlform/xmlform2html.xsl/ map:serialize type=html/ /map:act /map:match here is the url which calls it http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffer .html?itemNo=3 Where the screen calling the form is not itself an XML form. However it needs to pass a parameter to be stored in a hidden field (or otherwise poke it into the OfferBean attached to the form). You can actually go here: http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antique s/3.html?category=Antiques and see what I mean (click on Make An Offer) -Andy Ivelin Ivanov wrote: Myabe I misunderstand the problem. Can you send your sitemap and some more details. - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 14, 2002 5:39 PM Subject: Re: passing a value into an XML form from somewhere else Ivelin Ivanov wrote: The name of the parameter has to represent the XPath to the bean property. See the html source of an xmlform page to see how element names are translated into widgets @name attributes. Does this help? I don't think so. I need to pass the data into the pipeline from outside. If I just pass the same parameter as a propery it is not picking it up. Or at least its not ending up in the form. -Andy Ivelin - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 14, 2002 11:50 AM Subject: Q: passing a value into an XML form from somewhere else Hi All, I've got a situation where I have multiple items on a dynamically generated page and I want to be able to allow the user to click on a link and post an offer on them. So for instance on http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antiq u e s/3.html I want to be able to have the user click make an offer http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoff e r .html?itemNo=3 which will pass to an XMLForm based action. The problem is I need itemNo to end up in my OfferBean.java along with the user populated fields in the form. How do I take an http parameter and get it into the bean attached to an XMLForm? Thanks, Andy - 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] - 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] - 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] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq
Re: Monday Night: Free POI, lots of Pizza, And all the info you can take in one night about POI and the Cocoon HSSF Serializer!
Well if all you east coasters want to do something up here, I could possibly see if the Trijug could sponsor (by way of having access to a decent size auditorium) a Cocoonapalooza. While this may seem somewhat self-serving (since I'd go no where ;-) ). The advantage of NC is that its nearly equidistant between north and south (so the guy from Florida and the guy from NY both have the same distance to travel).. http://maps.yahoo.com/py/maps.py?Pyt=Tmapaddr=5426+Lake+Vista+Drcity=Durhamstate=NCcsz=Durham,+NC+27712-1925slt=36.084674sln=-78.955355name=zip=27712-1925country=usBFKey=BFCat=BFClient=mag=5desc=cs=9newmag=2poititle=poi=ds=n Other notable figures in the NC area are POI committer and original archtiect of the HSSF Serializer, Marc Johnson. Ken Coar of ASF and HTTPD fame, Sam Ruby of Jakarta, and some others who have slipped my mind at the moment. -Andy - 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]
Re: html entities and xsl
This sounds pretty specialized in one way and generic in another. The problem being is that the insertion point is content specific. Meaning you'll need to at least insert some kind of tag into the file. From my limited understanding this is something that Velocity is pretty good at (provided you insert some kind of velocity tag). From my understanding Cocoon has a velocity generator that is nearly completely undocumented (but provided you could grok velocity (http://jakarta.apache.org/velocity/), I'm betting you could figure out the generator (http://xml.apache.org/cocoon/userdocs/generators/velocity-generator.html). A few alternatives come to mind off hand: 1. Write generators/transformers for cocoon that are content/style specific (which I bet you'll still have to put tags in the HTML) 2. Find a way to use the Velocity generator and add the tags 3. Work with your content-management group (assumption) who maintains the HTML, come up with something that is XHTML based and perhaps transitional. They'll gain some new skills that they may value, and you'll get something cleaner. You could probably create a few not wonderful (from an achedemic standpoint) xml stylesheets that left you with seperation between your data and the (barely xsl) xhtml page without requiring them to become xsl geniuses overnight. Basically have a big block of html with some xsl copy statements in it at the appropriate places. Later you can move to greater seperation of data and style as the group picks up your xml/xsl skills. Or thats my thinking. Someone please step in and correct me if I'm off base. thankse, -Andy Albert Cervera Areny wrote: Hi, I suppose this is a usual question but i've not been able to find its answer so far... how can I use html entities inside an xsl?... In fact I have an html file (not created by me) in which I have to insert dynamic information which cocoon will generate. The thing is thus that I'd like to leave the html (not xhtml thow i've converted into it) file untouched and insert data inside... Any easy solutions? or at least... dose somebody know how to resolve the entities problem? Thanks in advance! - 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]
ftp://213.253.31.132/jworkbook/gnumeric-xml.pdf - gnumeric file formatdoc relocated
Hi all, The new url for the gnumeric-xml.pdf doc from object-refinery.com is at ftp://213.253.31.132/jworkbook/gnumeric-xml.pdf. Thanks, Andy - 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]
Re: Stream generator XMLForms
my appolgoies, I misunderstood the question. Leszek Gawron wrote: On Fri, Jul 12, 2002 at 09:32:12AM -0400, Andrew C. Oliver wrote: enlightenment on this question is found here: http://xml.apache.org/cocoon/howto/xmlform-wizard/howto-xmlform-wizard.html I do not think that is the solution for my problem. From what I have read( maybe I'm wrong ) XMLForms are good for collecting data on server side for example in DOM Node. What I would like to do is to send xml data to server (prepared by client), do some businness processing and send response to client. In my case the client is a simple C++ application using MSXML ouzo PS. I would be grateful for any quick tutorial - 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]
Monday Night: Free POI, lots of Pizza, And all the info you can takein one night about POI and the Cocoon HSSF Serializer!
http://www.trijug.org/ - Monday night, if you're not doing too much and you live on the US East coast, why not come on down (or up to North Carolina), we'll have lots of nutritious Hawaiian poi! We'll have pizza, pop as well for those of you who are not into eating mushed tarro root. We'll go over the POI project, how to use it, what it is, etc. We'll tackle some basics of Cocoon (as applies to using the HSSF Serializer and reporting), and I'll answer lots of questions. We should have some great information sources on hand. You'll have me (your humble poi-servant), Marc Johnson (who won't come on stage but you might be able to corner him before or afterwards) and author of an upcoming book, Conrad D'Cruz, who can talk to you in more detail about Cocoon, life, the universe and everything. Hope to see anyone who can make it! -Andy - 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]
Re: Monday Night: Free POI, lots of Pizza, And all the info you can take in one night about POI and the Cocoon HSSF Serializer!
Sorry about that. Maybe you can come when Conrad D'Cruz and I do our Cocoon talk in October. I posted something about the talk earlier on the poi list but it didn't occur to me to post it to Cocoon until I gave the talk to my wife tonight and realized it was just about as much about Cocoon as POI. I plan to give the talk again, somewhere, sometime. Got shot down for the ApacheCon version, but maybe I'll use it as an excuse to get a free trip to some other JUG sometime. -Andy Argyn Kuketayev wrote: I wonder how many ppl do Cocoon on East Coast? If more than 3 then it's enough to have a sort of workshop on Outer Banks some time :) I'd love to come, but it's no way to arrange a trip from DC on that short notice -Original Message- From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 10:37 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Monday Night: Free POI, lots of Pizza, And all the info you can take in one night about POI and the Cocoon HSSF Serializer! http://www.trijug.org/ - Monday night, if you're not doing too much and you live on the US East coast, why not come on down (or up to North Carolina), we'll have lots of nutritious Hawaiian poi! We'll have pizza, pop as well for those of you who are not into eating mushed tarro root. We'll go over the POI project, how to use it, what it is, etc. We'll tackle some basics of Cocoon (as applies to using the HSSF Serializer and reporting), and I'll answer lots of questions. We should have some great information sources on hand. You'll have me (your humble poi-servant), Marc Johnson (who won't come on stage but you might be able to corner him before or afterwards) and author of an upcoming book, Conrad D'Cruz, who can talk to you in more detail about Cocoon, life, the universe and everything. Hope to see anyone who can make it! -Andy - 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] - 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] - 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]
Sitemap configuration parameters
Hi all, Sorry if this question appears twice. I tried to post it last night, but I've not gotten my email so I assume no on else did either. I've got a number of pages that render relative links, but my application's root is subject to change. I could set the link base in every document but that would be a bit painful (to say the least). Is there a way to set a parameter in the sitemap that can be accessed in all pipelines? Or maybe some other way to achieve the same thing? for example: map:match pattern=category/*/*.html map:aggregate element=page map:part src=cocoon:/itemlist/{1}.html?listid={2}/ map:part src=cocoon:/catnav.xml?base=/cocoon/samples/bringmethis?parent=0/ map:part src=cocoon:/static/logo.xml/ map:part src=cocoon:/ads.xml?pageid=FRONTPAGE/ map:part src=cocoon:/sitenav.xml?base=/cocoon/samples/bringmethis/ map:part src=cocoon:/search.html/ map:part src=cocoon:/jumpmenu.html/ /map:aggregate !--map:transform src=stylesheets/sidebar.xsl/ -- map:transform src=stylesheets/document2html.xsl/ map:serialize type=html/ /map:match would it be possible for map:part src=cocoon:/sitenav.xml?base=/cocoon/samples/bringmethis/ to instead set that to some kind of sitemap-wide parameter? -Andy - 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]
Re: Tomcat version
oooh, can I have my beer in a clean glass as well? ;-) David Vos wrote: On Thu, 11 Jul 2002, Vadim Gritsenko wrote: JDK1.3.1 + Tomcat 4.0.4 + Cocoon 2.0.3-jvm13 release JDK1.4 + Tomcat 4.0.4LE + Cocoon 2.0.3-jvm14 release Cocoon 2.0.3 releases are due in several days from now. Is there going to be a clean build available? David - 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] - 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]
Please help, Broken Link on object-refinery WAS [Fwd: HSSF-GnumericXML file format - Unreachable URL, did anyone downl oad previously?]
Dear Mr. Gilbert, I'm a developer whom works on apache cocoon and apache POI. We referenced a piece of documentation hosted on www.jrefinery.com ftp://www.jrefinery.com/pub/jworkbook/gnumeric-xml.pdf. It is also still linked from this page: http://www.object-refinery.com/jworkbook/index.html. Recently, jrefinery has of course become object-refinery. However the link has not changed. Do you know where this document currently lives and where we may retrieve a copy? Would you be objectionable to us mirroring this document? Thanks, Andrew C. Oliver ---BeginMessage--- Hi all, I found an old posting with pointers to documentation about the Gnumeric XML file format, which is the one used by the HSSF serializer. One link concerned a PDF file contained detailed notes on the XML file format used by Gnumeric, at the following URL: ftp://www.jrefinery.com/pub/jworkbook/gnumeric-xml.pdf The URL is now completely unreachable. Did anyone successfully download that file before it became unreachable? If so, could he/she either send it to me or make it available to all in some other way? Thanks in advance to all, L. - 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] ---End Message--- - 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]
Re: R: HSSF-Gnumeric XML file format - Unreachable URL, did anyonedo wnload previously?
cool. Can I get a copy? I'll read through it and mirror it on my server. Lorenzo De Sio wrote: Thanks to Denis Thierry and Jens Lorenz for sending me the file! L. -Messaggio originale- Da: Denis [mailto:[EMAIL PROTECTED]] Inviato: mercoledì 10 luglio 2002 11.50 A: [EMAIL PROTECTED] Oggetto: Fw: HSSF-Gnumeric XML file format - Unreachable URL, did anyone download previously? Priorità: Alta Hi Lorenzo, Here is the file ... I cannot post it to the mailing list as the server does not accept large emails ... Regards, Denis - Original Message - From: Lorenzo De Sio [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 10, 2002 10:17 AM Subject: HSSF-Gnumeric XML file format - Unreachable URL, did anyone download previously? Hi all, I found an old posting with pointers to documentation about the Gnumeric XML file format, which is the one used by the HSSF serializer. One link concerned a PDF file contained detailed notes on the XML file format used by Gnumeric, at the following URL: ftp://www.jrefinery.com/pub/jworkbook/gnumeric-xml.pdf The URL is now completely unreachable. Did anyone successfully download that file before it became unreachable? If so, could he/she either send it to me or make it available to all in some other way? Thanks in advance to all, L. - 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] - 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] - 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]
(now found at: http://www.superlinksoftware.com/gnumeric-xml.pdf)Re: Fw: HSSF-Gnumeric XML file format - Unreachable URL, did anyone downloadpreviously?
Hi All, Thanks to denis, we've recovered the document in question. I've emailed David Gilbert, the author, and hopefully he'll fix the link. Until such time, you can find it at: http://www.superlinksoftware.com/gnumeric-xml.pdf. The doc is GPL so I suppose its safe for me to host on my server (of course I'm hosting it via tomcat...does that make tomcat tainted ? ;-) J/K -- tomcat's already tainted because I run linux on my webserver ;-) ) -Andy Denis wrote: - Original Message - From: Denis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 10, 2002 11:50 AM Subject: Fw: HSSF-Gnumeric XML file format - Unreachable URL, did anyone download previously? Hi Lorenzo, Here is the file ... I cannot post it to the mailing list as the server does not accept large emails ... Regards, Denis - Original Message - From: Lorenzo De Sio [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 10, 2002 10:17 AM Subject: HSSF-Gnumeric XML file format - Unreachable URL, did anyone download previously? Hi all, I found an old posting with pointers to documentation about the Gnumeric XML file format, which is the one used by the HSSF serializer. One link concerned a PDF file contained detailed notes on the XML file format used by Gnumeric, at the following URL: ftp://www.jrefinery.com/pub/jworkbook/gnumeric-xml.pdf The URL is now completely unreachable. Did anyone successfully download that file before it became unreachable? If so, could he/she either send it to me or make it available to all in some other way? Thanks in advance to all, L. - 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] - 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]
Re: Serializer that writes to file
Someone correct me if I' m wrong but... At the moment, I think you'll have to write an Action for this. AFAIK Serializers are currently tied to the response output stream. Personally, I think that cocoon should ultimately seperate the location concern and allow multiple serializers in a pipeline. (the rationale being that you'll need to display something as well). However, one could conceptualize this instead as a transformer (although its dirty): my inputtransformer (writes to file) -- different output displayed to user But I don't like that very much. Perhaps this isn't a serializer at all, perhaps its some other widget that uses a serializer, is passed a location (file in this case), and provides status (which returns responsibility to the sitemap). Questions remain for instance on whether it consumes the SAX events passed to it, etc. But the short answer is I don't think this is the appropriate place, at the moment, to use a serializer -Andy [EMAIL PROTECTED] wrote: I want to write a serializer that will write some content to a file, but the filename will have to be passed in as a parameter. I am having trouble getting started. I know that you cannot pass in a parameter to a serializer, but I don't know of another way to do it. I have looked through some of the different serializer source code and am still having trouble. Could anyone offer up a suggestion? I have looked around for some sort of a serializer writing how-to, but no luck. Would it be best to just have either an xsp or transformer somehow just enter in the filename into the content? That seems kind of a hack, but hey if it works, it works :) If this would be a good way, then how could a write a serializer that extracts this filename from the content when it is serializing? Any general help on how to write a serializer would be of great help too. Thanks in advance, Gerardo +-+ This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. +-+ - 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] - 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]
Sitemap parameters and configuration of pages
Hi all, I've got a number of pages that render links and my application base is subject to change. I realize that one can set a link base in the outputted html, but I'd rather configure it on some kind of site basis. Is there some way to set a global parameter in the sitemap to pass to all pipelines? Or maybe a better way to do this. For example: map:match pattern=category/*/*.html map:aggregate element=page map:part src=cocoon:/itemlist/{1}.html?listid={2}/ map:part src=cocoon:/catnav.xml?base=/cocoon/samples/bringmethis?parent=0/ map:part src=cocoon:/static/logo.xml/ map:part src=cocoon:/ads.xml?pageid=FRONTPAGE/ map:part src=cocoon:/sitenav.xml?base=/cocoon/samples/bringmethis/ map:part src=cocoon:/search.html/ map:part src=cocoon:/jumpmenu.html/ /map:aggregate !--map:transform src=stylesheets/sidebar.xsl/ -- map:transform src=stylesheets/document2html.xsl/ map:serialize type=html/ /map:match only instead of ?base=/cocoon/samples/bringmethis I set that somewhere in the sitemap, even if i have to pass it to every page that needs links, that would be ok. Thoughts? Thanks, Andy -- http://www.superlinksoftware.com - software solutions for business http://jakarta.apache.org/poi - Excel/Word/OLE 2 Compound Document in Java http://krysalis.sourceforge.net/centipede - the best build/project structure a guy/gal could have! - Make Ant simple on complex Projects! The avalanche has already started. It is too late for the pebbles to vote. -Ambassador Kosh - 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]
Re: XInclude/CInclude Issue (Re: including dynamic data with XMLForm)
Humm. I'll try that. I still hope someone will look at my patch to CInclude as: 1. I imagine that its faster 2. I like the syntax better 3. I don't know why it shouldn't support some form of element selection. -Andy Stephan Michels wrote: On 7 Jul 2002, Andrew C. Oliver wrote: xi:include href=cocoon:/categories_combo.xml#xpointer(xformcategories/*) parse=xml/ does this for me: org.apache.cocoon.ResourceNotFoundException: Resource not found.: org.apache.excalibur.source.SourceNotFoundException: Resource not found file:/opt/tomcat/webapps/cocoon/samples/bringmethis/content/form/cocoon:/categories_combo.xml So it looks like I'm stuck with an additional transformation. Which (as a situation) bites. I think the problem is the 'base' attribute. If you don't specify the 'base' the XInclude transformer takes the location from the document, which is, I think, 'file:/opt/tomcat/webapps/cocoon/samples/bringmethis/content/form/' So, to prevent that, you could create an base attribute xi:include xml:base=cocoon:/ href=categories_combo.xml#xpointer(xformcategories/*) parse=xml/ On Sun, 2002-07-07 at 17:23, Stephan Michels wrote: On 7 Jul 2002, Andrew C. Oliver wrote: Hi, Thanks for your reply. This is very close to what I want. So I'm almost there, but I have to have a root element on the categories_combo.xml page. Its xmlformcategories. I only want whats in between the root element. CInclude appears to not support the xpointer as it was trying to treat it as part of the URL. I'd hoped that the element attribute of the cinclude:include tag would allow this, but it actually seems to be for doing the opposite. I suppose I can apply an additional layer of transformation that takes the output, includes everything but the xformcategories and then includes its children, but that is very inefficient and kinda of a pain, etc. Is there a more straightforward way to take only the children of the xmformcategories, include them without including the xmlformcategories tag? basically cinclude:include src=cocoon:/categories_combo.xml select=xformcategories/*/ or something to that effect And whats the result of xi:include href=cocoon:/categories_combo.xml#xpointer(xformcategories/*) parse=xml/ Perhaps you forget the 'parse' attribute? source of requestform.xml: ?xml version=1.0? document xmlns:xf=http://xml.apache.org/cocoon/xmlform/2002; xmlns:cinclude=http://apache.org/cocoon/include/1.0; xf:form id=request-form view=requestform action=postrequest.html error xf:violations class=error/ /error xf:selectMany ref=/category selectUIType=listbox xf:captionCategory/xf:caption cinclude:include src=cocoon:/categories_combo.xml / xf:violations class=error/ /xf:selectMany xf:textbox ref=/title xf:captionTitle/Item Name (no HTML)/xf:caption xf:violations class=error/ /xf:textbox snip xf:textbox ref=/password xf:captionPassword/xf:caption xf:violations class=error/ /xf:textbox xf:submit id=next class=button xf:captionNext/xf:caption /xf:submit /xf:form /document output from categories_combo.xml: xformcategories xmlns:xf=http://xml.apache.org/cocoon/xmlform/2002; xf:item xf:captionOriginal Art/xf:caption xf:value16/xf:value /xf:item xf:item xf:captionAntiques/xf:caption xf:value0/xf:value /xf:item xf:item xf:captionBooks/xf:caption xf:value1/xf:value /xf:item xf:item xf:captionCars/xf:caption xf:value2/xf:value /xf:item xf:item xf:captionCollectibles/xf:caption xf:value3/xf:value /xf:item xf:item xf:captionComics/xf:caption xf:value4/xf:value /xf:item xf:item xf:captionComputers/xf:caption xf:value5/xf:value /xf:item xf:item xf:captionCrafts/xf:caption xf:value6/xf:value /xf:item xf:item xf:captionElectronics/xf:caption xf:value7/xf:value /xf:item xf:item xf:captionGifts/xf:caption xf:value8/xf:value /xf:item xf:item xf:captionLoans/xf:caption xf:value9/xf:value /xf:item xf:item xf:captionMusic/xf:caption xf:value10/xf:value /xf:item xf:item xf:captionOffice Supplies/xf:caption xf:value11/xf:value /xf:item xf:item xf:captionOther/xf:caption xf:value12/xf:value /xf:item xf:item xf:captionToys/xf:caption xf:value13/xf:value /xf:item xf:item xf:captionTravel/xf:caption xf:value14/xf:value /xf:item xf:item xf:captionVideos/xf:caption xf:value15/xf:value /xf:item /xformcategories -Andy On Sun, 2002-07-07 at 14:59, Stephan Michels wrote: On Sun, 7 Jul 2002, Ivelin Ivanov wrote: We could use some help from the XInclude/Cinclude experts for the problem Oliver is trying to solve. - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: cocoon users [EMAIL PROTECTED] Sent: Sunday, July 07, 2002 12:17 PM Subject: Re: including dynamic data with XMLForm Hi Ivelin, Thanks
Re: XInclude/CInclude Issue (Re: including dynamic data withXMLForm)
Hi, Thanks for your reply. This is very close to what I want. So I'm almost there, but I have to have a root element on the categories_combo.xml page. Its xmlformcategories. I only want whats in between the root element. CInclude appears to not support the xpointer as it was trying to treat it as part of the URL. I'd hoped that the element attribute of the cinclude:include tag would allow this, but it actually seems to be for doing the opposite. I suppose I can apply an additional layer of transformation that takes the output, includes everything but the xformcategories and then includes its children, but that is very inefficient and kinda of a pain, etc. Is there a more straightforward way to take only the children of the xmformcategories, include them without including the xmlformcategories tag? basically cinclude:include src=cocoon:/categories_combo.xml select=xformcategories/*/ or something to that effect source of requestform.xml: ?xml version=1.0? document xmlns:xf=http://xml.apache.org/cocoon/xmlform/2002; xmlns:cinclude=http://apache.org/cocoon/include/1.0; xf:form id=request-form view=requestform action=postrequest.html error xf:violations class=error/ /error xf:selectMany ref=/category selectUIType=listbox xf:captionCategory/xf:caption cinclude:include src=cocoon:/categories_combo.xml / xf:violations class=error/ /xf:selectMany xf:textbox ref=/title xf:captionTitle/Item Name (no HTML)/xf:caption xf:violations class=error/ /xf:textbox snip xf:textbox ref=/password xf:captionPassword/xf:caption xf:violations class=error/ /xf:textbox xf:submit id=next class=button xf:captionNext/xf:caption /xf:submit /xf:form /document output from categories_combo.xml: xformcategories xmlns:xf=http://xml.apache.org/cocoon/xmlform/2002; xf:item xf:captionOriginal Art/xf:caption xf:value16/xf:value /xf:item xf:item xf:captionAntiques/xf:caption xf:value0/xf:value /xf:item xf:item xf:captionBooks/xf:caption xf:value1/xf:value /xf:item xf:item xf:captionCars/xf:caption xf:value2/xf:value /xf:item xf:item xf:captionCollectibles/xf:caption xf:value3/xf:value /xf:item xf:item xf:captionComics/xf:caption xf:value4/xf:value /xf:item xf:item xf:captionComputers/xf:caption xf:value5/xf:value /xf:item xf:item xf:captionCrafts/xf:caption xf:value6/xf:value /xf:item xf:item xf:captionElectronics/xf:caption xf:value7/xf:value /xf:item xf:item xf:captionGifts/xf:caption xf:value8/xf:value /xf:item xf:item xf:captionLoans/xf:caption xf:value9/xf:value /xf:item xf:item xf:captionMusic/xf:caption xf:value10/xf:value /xf:item xf:item xf:captionOffice Supplies/xf:caption xf:value11/xf:value /xf:item xf:item xf:captionOther/xf:caption xf:value12/xf:value /xf:item xf:item xf:captionToys/xf:caption xf:value13/xf:value /xf:item xf:item xf:captionTravel/xf:caption xf:value14/xf:value /xf:item xf:item xf:captionVideos/xf:caption xf:value15/xf:value /xf:item /xformcategories -Andy On Sun, 2002-07-07 at 14:59, Stephan Michels wrote: On Sun, 7 Jul 2002, Ivelin Ivanov wrote: We could use some help from the XInclude/Cinclude experts for the problem Oliver is trying to solve. - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: cocoon users [EMAIL PROTECTED] Sent: Sunday, July 07, 2002 12:17 PM Subject: Re: including dynamic data with XMLForm Hi Ivelin, Thanks for your reply. This isn't quite quite working. It seems to insist on resolving to a file. ERROR (2002-07-07) 09:08.29:743 [sitemap] (/cocoon/samples/bringmethis/action/postrequest.html) Thread-45/XIncludeTransformer: Error in processXIncludeElement org.apache.cocoon.ResourceNotFoundException: Resource not found.: org.apache.excalibur.source.SourceNotFoundException: Resource not found file:/opt/tomcat/webapps/cocoon/samples/bringmethis/content/form/categories_ combo.xml If I unterstand you right, categories_combo.xml should be generated by the sitemap. But XInclude transformer tries to read the file from the filesystem. My xinclude statement reads currently as follows: map:match pattern=action/categories_combo.xml map:generate src=content/dynamic/categories.xsp type=serverpages/ map:transform src=stylesheets/categories2combo.xsl/ map:serialize type=html/ /map:match my xform page reads: xf:selectMany ref=/category selectUIType=listbox xf:captionCategory/xf:caption xi:include href=categories_combo.xml#xpointer(/xformcategories)/ I think you should use cocoon://categories_combo.xml instead, and use the CInclude transformer. xf:violations class=error/ /xf:selectMany
Re: XInclude/CInclude Issue (Re: including dynamic data withXMLForm)
xi:include href=cocoon:/categories_combo.xml#xpointer(xformcategories/*) parse=xml/ does this for me: org.apache.cocoon.ResourceNotFoundException: Resource not found.: org.apache.excalibur.source.SourceNotFoundException: Resource not found file:/opt/tomcat/webapps/cocoon/samples/bringmethis/content/form/cocoon:/categories_combo.xml So it looks like I'm stuck with an additional transformation. Which (as a situation) bites. -Andy On Sun, 2002-07-07 at 17:23, Stephan Michels wrote: On 7 Jul 2002, Andrew C. Oliver wrote: Hi, Thanks for your reply. This is very close to what I want. So I'm almost there, but I have to have a root element on the categories_combo.xml page. Its xmlformcategories. I only want whats in between the root element. CInclude appears to not support the xpointer as it was trying to treat it as part of the URL. I'd hoped that the element attribute of the cinclude:include tag would allow this, but it actually seems to be for doing the opposite. I suppose I can apply an additional layer of transformation that takes the output, includes everything but the xformcategories and then includes its children, but that is very inefficient and kinda of a pain, etc. Is there a more straightforward way to take only the children of the xmformcategories, include them without including the xmlformcategories tag? basically cinclude:include src=cocoon:/categories_combo.xml select=xformcategories/*/ or something to that effect And whats the result of xi:include href=cocoon:/categories_combo.xml#xpointer(xformcategories/*) parse=xml/ Perhaps you forget the 'parse' attribute? source of requestform.xml: ?xml version=1.0? document xmlns:xf=http://xml.apache.org/cocoon/xmlform/2002; xmlns:cinclude=http://apache.org/cocoon/include/1.0; xf:form id=request-form view=requestform action=postrequest.html error xf:violations class=error/ /error xf:selectMany ref=/category selectUIType=listbox xf:captionCategory/xf:caption cinclude:include src=cocoon:/categories_combo.xml / xf:violations class=error/ /xf:selectMany xf:textbox ref=/title xf:captionTitle/Item Name (no HTML)/xf:caption xf:violations class=error/ /xf:textbox snip xf:textbox ref=/password xf:captionPassword/xf:caption xf:violations class=error/ /xf:textbox xf:submit id=next class=button xf:captionNext/xf:caption /xf:submit /xf:form /document output from categories_combo.xml: xformcategories xmlns:xf=http://xml.apache.org/cocoon/xmlform/2002; xf:item xf:captionOriginal Art/xf:caption xf:value16/xf:value /xf:item xf:item xf:captionAntiques/xf:caption xf:value0/xf:value /xf:item xf:item xf:captionBooks/xf:caption xf:value1/xf:value /xf:item xf:item xf:captionCars/xf:caption xf:value2/xf:value /xf:item xf:item xf:captionCollectibles/xf:caption xf:value3/xf:value /xf:item xf:item xf:captionComics/xf:caption xf:value4/xf:value /xf:item xf:item xf:captionComputers/xf:caption xf:value5/xf:value /xf:item xf:item xf:captionCrafts/xf:caption xf:value6/xf:value /xf:item xf:item xf:captionElectronics/xf:caption xf:value7/xf:value /xf:item xf:item xf:captionGifts/xf:caption xf:value8/xf:value /xf:item xf:item xf:captionLoans/xf:caption xf:value9/xf:value /xf:item xf:item xf:captionMusic/xf:caption xf:value10/xf:value /xf:item xf:item xf:captionOffice Supplies/xf:caption xf:value11/xf:value /xf:item xf:item xf:captionOther/xf:caption xf:value12/xf:value /xf:item xf:item xf:captionToys/xf:caption xf:value13/xf:value /xf:item xf:item xf:captionTravel/xf:caption xf:value14/xf:value /xf:item xf:item xf:captionVideos/xf:caption xf:value15/xf:value /xf:item /xformcategories -Andy On Sun, 2002-07-07 at 14:59, Stephan Michels wrote: On Sun, 7 Jul 2002, Ivelin Ivanov wrote: We could use some help from the XInclude/Cinclude experts for the problem Oliver is trying to solve. - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: cocoon users [EMAIL PROTECTED] Sent: Sunday, July 07, 2002 12:17 PM Subject: Re: including dynamic data with XMLForm Hi Ivelin, Thanks for your reply. This isn't quite quite working. It seems to insist on resolving to a file. ERROR (2002-07-07) 09:08.29:743 [sitemap] (/cocoon/samples/bringmethis/action/postrequest.html) Thread-45/XIncludeTransformer: Error in processXIncludeElement org.apache.cocoon.ResourceNotFoundException: Resource not found
Re: XInclude/CInclude Issue (Re: including dynamic data withXMLForm)
Thanks but XInclude really likes files: org.apache.cocoon.ResourceNotFoundException: Resource not found.: org.apache.excalibur.source.SourceNotFoundException: Resource not found file:/opt/tomcat/webapps/cocoon/samples/bringmethis/content/form/cocoon:/categories_combo.xml On Mon, 2002-07-08 at 00:38, Michael Wechner wrote: xi:include href=cocoon:/categories_combo.xml#xpointer(xformcategories/*) parse=xml/ Perhaps you forget the 'parse' attribute? XInclude supports the cocoon protocol and XPointer. As I know CInclude does not support XPointer (which you already said, sorry), which would mean you have to use XInclude. I don't think you need the parse attribute but rather fix the XInclude call: xi:include href=cocoon:/action/categories_combo.xml#xpointer(/xformcategories/*)/ The other problem I think is why are you serializing categories_combo.xml as HTML instead of XML? good point. changed that. (it was so it was easy to debug when I wrote the stylesheet). Hope I am not more confusing than I actually intend to help Michael I appreciate it! Thanks, Andy - 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] -- http://www.superlinksoftware.com - software solutions for business http://jakarta.apache.org/poi - Excel/Word/OLE 2 Compound Document in Java http://krysalis.sourceforge.net/centipede - the best build/project structure a guy/gal could have! - Make Ant simple on complex Projects! The avalanche has already started. It is too late for the pebbles to vote. -Ambassador Kosh - 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]
Re: XInclude/CInclude Issue (Re: including dynamic data withXMLForm)
On Sun, 2002-07-07 at 20:51, Ivelin Ivanov wrote: I'm sure there must be a more elegant way to solve the problem. We just need to wait a bit to hear from the XInclude developers. Down low, too slow. Patch incoming. New syntax implemented for CInclude to allow xpointers. Will need help testing as my CInclude experience includes about 1 entire day of goofing with the sucker. http://nagoya.apache.org/bugzilla/createattachment.cgi?id=10540 I added a select attribute to CInclude that supports the XPointer syntax without the XPointer() part (just what would go between the ()'s). (This is cleaner than the #XPointer() url-suffix nastiness). Hopefully, one of the CInclude geniuses will take a look at this and make it better. I was baffled by the tall inheritance tree. Mostly I borrowed the code from XInclude and made it look more like CInclude without actually understanding Avalon. Anyhow, if someone will kindly apply this or an even better version then my issue will be satisfied and probably others who might want to populate HTML lists, selects, etc in XMLForm webapps. Plus it will solve the hole in between XInclude and CInclude. (anything in this email that sounds arrogant is actually a whole day/weekend of frustration suddenly alleviated -- exuberance) Thanks, -Andy - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: cocoon users [EMAIL PROTECTED] Sent: Sunday, July 07, 2002 7:01 PM Subject: Re: XInclude/CInclude Issue (Re: including dynamic data withXMLForm) xi:include href=cocoon:/categories_combo.xml#xpointer(xformcategories/*) parse=xml/ does this for me: org.apache.cocoon.ResourceNotFoundException: Resource not found.: org.apache.excalibur.source.SourceNotFoundException: Resource not found file:/opt/tomcat/webapps/cocoon/samples/bringmethis/content/form/cocoon:/cat egories_combo.xml So it looks like I'm stuck with an additional transformation. Which (as a situation) bites. -Andy On Sun, 2002-07-07 at 17:23, Stephan Michels wrote: On 7 Jul 2002, Andrew C. Oliver wrote: Hi, Thanks for your reply. This is very close to what I want. So I'm almost there, but I have to have a root element on the categories_combo.xml page. Its xmlformcategories. I only want whats in between the root element. CInclude appears to not support the xpointer as it was trying to treat it as part of the URL. I'd hoped that the element attribute of the cinclude:include tag would allow this, but it actually seems to be for doing the opposite. I suppose I can apply an additional layer of transformation that takes the output, includes everything but the xformcategories and then includes its children, but that is very inefficient and kinda of a pain, etc. Is there a more straightforward way to take only the children of the xmformcategories, include them without including the xmlformcategories tag? basically cinclude:include src=cocoon:/categories_combo.xml select=xformcategories/*/ or something to that effect And whats the result of xi:include href=cocoon:/categories_combo.xml#xpointer(xformcategories/*) parse=xml/ Perhaps you forget the 'parse' attribute? source of requestform.xml: ?xml version=1.0? document xmlns:xf=http://xml.apache.org/cocoon/xmlform/2002; xmlns:cinclude=http://apache.org/cocoon/include/1.0; xf:form id=request-form view=requestform action=postrequest.html error xf:violations class=error/ /error xf:selectMany ref=/category selectUIType=listbox xf:captionCategory/xf:caption cinclude:include src=cocoon:/categories_combo.xml / xf:violations class=error/ /xf:selectMany xf:textbox ref=/title xf:captionTitle/Item Name (no HTML)/xf:caption xf:violations class=error/ /xf:textbox snip xf:textbox ref=/password xf:captionPassword/xf:caption xf:violations class=error/ /xf:textbox xf:submit id=next class=button xf:captionNext/xf:caption /xf:submit /xf:form /document output from categories_combo.xml: xformcategories xmlns:xf=http://xml.apache.org/cocoon/xmlform/2002; xf:item xf:captionOriginal Art/xf:caption xf:value16/xf:value /xf:item xf:item xf:captionAntiques/xf:caption xf:value0/xf:value /xf:item xf:item xf:captionBooks/xf:caption xf:value1/xf:value /xf:item xf:item xf:captionCars/xf:caption xf:value2/xf:value /xf:item xf:item xf:captionCollectibles/xf:caption xf:value3/xf:value /xf:item xf:item
including dynamic data with XMLForm
Hi All, I'm trying to create a page where a multi-select list has options that are populated from a database. What is not immediately clear to me is how I can create an XMLForm page where the list contents are dynamically generated. Any clues? -Andy -- http://www.superlinksoftware.com - software solutions for business http://jakarta.apache.org/poi - Excel/Word/OLE 2 Compound Document in Java http://krysalis.sourceforge.net/centipede - the best build/project structure a guy/gal could have! - Make Ant simple on complex Projects! The avalanche has already started. It is too late for the pebbles to vote. -Ambassador Kosh - 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]
Re: can't start cocoon under root
Hummm. I'm not running Apache as root (its running as nobody). It responds on port 80. I'm starting it with apachectl. Its generally a better idea to run Apache in front of tomcat for performance reasons. Tomcat is actually pretty slow on the scale of things, where Apache is actually pretty fast (especially 2.xx). If you let it handle the requests and forward them where appropriate you'll be a lot better off. Especially for images. -Andy Bruno Dumon wrote: On Thu, 2002-07-04 at 21:09, Thomas Garger wrote: but if i don't start tomcat as root, i can not run it under the port 80 - because only the root user has access rights to to ports below 1024. am i wrong?? no, that's right. or can i configure my linux system, that a normal-user (no root) van start tomcat under the port 90? Not that I know. Usually Apache is put in front of tomcat (using mod_jk to connect the two). Apache, being a native application, can start as root (so it can bind to port 80), and change the user id of the processes that handle the requests to another user. - 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]
Re: can't start cocoon under root
True. The processes handling the requests however run as nobody. I suppose one could still find a way to compromise the master process, but I find it way more likely that they'd compromise the children. Furthermore, Its still a horrid idea to run tomcat as root, as you're running *everything* under tomcat as root as well. -Andy On Fri, 2002-07-05 at 14:17, Bruno Dumon wrote: On Fri, 2002-07-05 at 15:48, Andrew C. Oliver wrote: Hummm. I'm not running Apache as root (its running as nobody). It responds on port 80. I'm starting it with apachectl. If it responds to port 80, the main httpd process is running with root privileges. The user that is used for the childprocesses handling the requests is normally specified using the 'User' directive in the httpd.conf -- Bruno - 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] -- http://www.superlinksoftware.com - software solutions for business http://jakarta.apache.org/poi - Excel/Word/OLE 2 Compound Document in Java http://krysalis.sourceforge.net/centipede - the best build/project structure a guy/gal could have! - Make Ant simple on complex Projects! The avalanche has already started. It is too late for the pebbles to vote. -Ambassador Kosh - 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]
Re: can't start cocoon under root
just for the record. You really shouldn't run tomcat as root. Thomas Garger wrote: hi! i use tomcat 4.0.1, cocoon 2.0.2 and SUSE linux 8.0 if i start tomcat under a normal user (not root) everthing works fine. but if i start tomcat under root user - and i want to access cocoon -there is an error message in my catalin.out like this: Xlib: connection to 212.186.159.80:0.0 refused by server Xlib: No protocol specified -the cocoon page puts out the following org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. . . . -my startup.sh looks as following : export DISPLAY=212.186.159.80:0 BASEDIR=`dirname $0` $BASEDIR/catalina.sh start $@ if i don't put in the line export DISPLAY=212.186.159.80:0, than under a normal user it's also not working why this works with a non root user and not with root? greetings, tom - 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] - 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]
Re: can't start cocoon under root
I can't say. Why? The set of possibilities are infinite. This is a basic prinicipal of unix security. Never run any daemon as root. I for one always create a special user for tomcat. That way if tomcat is compromized, only that which tomcat owns or can write to is compromized. I usually create a special group as well and don't let tomcat own anything. Asking what are all the security holes is the wrong question. Read: http://www.tldp.org/HOWTO/Security-HOWTO/index.html - while it is aimed at linux, some applies universally to other unicies as well. Do you absolutely trust: 1. tomcat to never have a security hole 2. cocoon to never have a security hole 3. all applications (servlets/etc) running under Cocoon/tomcat to never have security holes. 4. if the answer to any of the above is no, then do you trust EVERY user on the network (for example the internet) to never ever do anything to try and exploit that. An example: Say you have a servlet/xsp/action/whatever that based on the passed in username writes an new file in /opt/tomcat/userinfo as to when the user logged in/etc with the username as the filename. You have two parameters, username and the message. The servlet/xsp/action/whatever gets executed on occassion as a service. Usernames are permitted to have web-address-illegal characters in them so you url-encode them. The message is anything. So I being a savy hacker set my username to ../../../etc/passwd and the log message to andy:ptpasswd: (can't rembmer the syntax but you get the point). Well thanks for root access, I'll just telnet (DISABLE TELNET and use SSH) into your box and format the hard drive or use it to hack into the military or crash yahoo with flood attacks or something... Those nice men in the black suits will be at your door shortly to question you about your internet usage... Okay...a bit of an exaggeration... Don't run tomcat (or anything else where you have a choice) as root. -Andy Thomas Garger wrote: why not? could there be some security problems? which one? greetings, chris -Original Message- From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 04. Juli 2002 18:33 To: [EMAIL PROTECTED] Subject: Re: can't start cocoon under root just for the record. You really shouldn't run tomcat as root. Thomas Garger wrote: hi! i use tomcat 4.0.1, cocoon 2.0.2 and SUSE linux 8.0 if i start tomcat under a normal user (not root) everthing works fine. but if i start tomcat under root user - and i want to access cocoon -there is an error message in my catalin.out like this: Xlib: connection to 212.186.159.80:0.0 refused by server Xlib: No protocol specified -the cocoon page puts out the following org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. . . . -my startup.sh looks as following : export DISPLAY=212.186.159.80:0 BASEDIR=`dirname $0` $BASEDIR/catalina.sh start $@ if i don't put in the line export DISPLAY=212.186.159.80:0, than under a normal user it's also not working why this works with a non root user and not with root? greetings, tom - 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] - 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] - 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] - 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]
Re: Samples as tools for learning and development (Was: Giving up! Cocoon too big, slow and confusing)
I always look at samples and docs. The issue is that there's not enough of them. And some people deny the very existance of this issue. I have never heard anyone deny that. However the docs are improving, and the message of this topic has been gotten, at least by few developers. Others are still in denial mode, but it's Ok. No, the bulk of the message I tried to deliver is: everyone is aware of it, people are working on it, if it truely bothers you, pay for your opensource software and be one of those people. - 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] - 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]
Re: Giving up! Cocoon too big, slow and confusing
After just a few hours of poking around I have decided that it will be much simpler for me to simply hand-code a whole hat-full of servlets than to try and pull any meaning out of Cocoon and it's documentation. Fifteen hours on the Interstate wasn't as challenging as trying to figure out how one should check a Web Form this month but I didn't have that feeling of travelling backwards half of the time. I was also able to predict and achieve forward progress (for a change). I hope you had a nice trip. Web Form stuff is a bit beta at the moment, so you'll need to excercise patience and a willingness to help. Thanks guys, but no thanks. Maybe I'm getting old, but I really don't understand the need for all of the complexity and the lack of documentation in this product. Perhaps its not a product at all, maybe its a software development community and a project all wrapped up into one. On the other hand, I used to feel the same way about the mind-numbing complexity of a certain thirty-year-old mainframe operating system (MVS) produced by IBM back in the sixties and it's patching system (SMP4). So it can't just be my age. Anyway, Cocoon has cost me far morte (a typo that's better than the You seem lively to me. original word) time than it was worth. The chief problems appear to have been endlessly re-invented terminology for an overwhelming number of 'new concepts' and a complete lack of consistency between different components (i.e. functional code, non-functional examples, unbuildable documentation and a website that doesn't match up with any single released version of the project). So did you fix them? Did you raise these points and offer to help? I have a lot of respect for the ability of the people who have built this project, but I want them to know that their project appears to be out-of-control and could become very difficult to manage. If experienced developers (like myself) can't figure out how to use enough features in the product to make it worth using, then penetration will be limited and all of your efforts will be wasted. There is more to this business than stuffing in features at the expense of documentation and testing. You have a lot of very good ideas, but the execution of the project as a whole seems to be suffering. I'm significantly less experienced and I figured a large amount of it out. You: Oh I can't figure it out I'm leaving Me: How do I? What is a? And I'm working on creating an example webapp (http://www.superlinksoftware.com/cocoon/samples/bringmethis/index.html) that utilizes forms, etc. I'll accompany it (NOT RIGHT AWAY) with explanations and documentation (written in plain English). I know that I will often look at my JSP and servlet code and think 'XSP and Cocoon were sooo much better!' until I remember that I wasn't ever able to use enough of Cocoon to make a profit. I run Cocoon in fairly low amount of memory. Certainly more than JSP and a Servlet, but then again when I load the Connection pooling, caching, and other services a serious JSP application would require, I'm not so sure it comes that far ahead While I agree with many of your criticisms, especially the Avalonian (language of the Avalon- Cocoon developers) and lack of meaningful documentation, I adamntly believe that the problem here lies within you. This is participatory software. You didn't pay for it. You don't get to call up Microsoft support and scream at them and wonder why they come back at you 2 weeks later with the wrong answer and wait for service pack 2 for a fix. You fix it. If you're lucky, you fix it in collaboration with others! Next, as I get older I get more patient. I'd hate to see how impatient you were at my age or Wow. There are MULTIPLE books coming out on Cocoon, some by its very developers others by great folks like Conrad D'Cruz. In the next few months, such things will be clearer. Personally, I think if you have this attitude If I can't figure it out it must suck and I'll take my cookies and go home then I think you're contributing to this software development community in the best possible way you ever could.leaving it before you break something. If you're perhaps new to opensource community-based development, maybe you should ask for help and take some more time to read up on the subject. You'll find if you expend the effort, folks can be downright friendly and helpful. Of course its up to you. And psychological theory indicates you'll read this and disregard it. So I'm more writing it for the next person that comes along. Hope this helps! -Andy Oh, well, at least all of my test systems have bags of memory now! - 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
Re: Giving up! Cocoon too big, slow and confusing
I'm not saying there aren't issues. I'm saying his attitude is wrong. You pay for this by participating. If the issue was unknown this would be valuable, but this issue is known. Help fix it or accept it. Or fund someone else to help fix it. If you see a nail sticking up, grab a hammer. Don't whine, and take you cookies and go home. If this were a commercial piece of software, that would be your best course of action as a customer. Thats not the case here. -Andy What do you mean by better support? Maybe I'm suffering from dislexia, but reading the docs in xml.apache.org/cocoon helped me only to understand the highest level concepts. There were lots of tiny little issues which are not covered anywhere in the documentation. What's the best way to do this and this?. No answers anywhere but here, in the mailing list. Ok, I have a habit to look into sources when I've time, but sometimes there's no time. You came here and ask a question, hopefully soon you get an answer. Then comes another issue, then another and so on. Finally, you spend whole day on some stupid problem which could be resolved with good FAQ. I have to admit that things are improving with docs. FAQs are becoming real FAQs, not those short read mailing list as they were before. IBM's tutorials are a very positive step, I recommend them to everybody. They help a lot. Again, I'm not complaining I just want to say that there's an issue, and I'm glad that the situation with documentation is improving. I think that the biggest issue with Cocoon is its docs. and better documentation. I'm not complaining, by the way. I'd love Cocoon become a mainstream framework. So, help us make it better. raising the issue is my help :) - 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] - 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]
Re: Giving up! Cocoon too big, slow and confusing
2) Documentation is not usefull - sorry. I've tried and tried. The closest it has come to being useful is that after I've spent hours on something and asked questions on the mail lists I have been able to go back to it and say oh.. that's what they meant What documents were not helpful in what cases? What couldn't you find? How did you search for it? I disagree, the documentation is in fact inadequate. 4) Generally helpful but inconsistant responses from the mail lists. You should seriously consider joining the two lists as all it is doing right now is making me have to search both lists for everything that i'm looking for. Many of the questions were answered in a way which built character but were much too cryptic to be helpful to anyone who comes later. (I'm sure this is because the really knowledgeable people are spending too much time answering e-mails). We give help. *Not* complete solutions. We are not paid for it, it's all free help. Yes. If you want commecial support for Cocoon, get commecial support for cocoon. 2) I don't have time to read the source code - not because I can't or won't from some misplaced belief that it shouldn't be necessary - because I don't believe it would be time well spent - too much of a lack of basic doco to make it worth the time. Sorry but I don't get it. We have *tons* of documentation. But you just gotta learn ;-) You're both wrong. From his part he must realize this is participatory software. Understand your role, you're not a customer, you're a: 1. Beta Tester 2. Developer 3. Documentor of the software. And ken is wrong, the documentation is in fact VERY lacking. If you'd rather have a black box where you make phone calls and someone jumps, then you can pay someone and use Cocoon, or you can just blow some serious coin and get a commercial solution. -Andy - 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]
RE: XMLForm Control of flow
I asked the exact same question. So can we use this flowmap with XMLForm? I'd much rather. The action classes I'm writing are very stupid and redundant. -Andy On Fri, 2002-06-14 at 04:46, Reinhard Poetz wrote: There is am Mail from Konstantin -- http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=102380667528528w=2 Regards, Reinhard -Original Message- From: Graaf, Edgar de (fin) [mailto:[EMAIL PROTECTED]] Sent: Friday, June 14, 2002 10:15 AM To: Cocoon-Users (E-mail) Subject: XMLForm Control of flow People, I was experimenting with XMLForm and the Howto example. It works, but I have some question. I am hoping someone can answer them. 1. Why is the flow controled with HowtoWizardAction? And not with help of a xml like struts-config? 2. When I repeated the steps and unchecked the boxes. Then when I arrive at confirm input everthing is still true. Do I have to invalidate the session or something? Shouldn't that happen the moment you push finish? Thanks, Edgar - 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] - 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] -- http://www.superlinksoftware.com - software solutions for business http://jakarta.apache.org/poi - Excel/Word/OLE 2 Compound Document in Java http://krysalis.sourceforge.net/centipede - the best build/project structure a guy/gal could have! - Make Ant simple on complex Projects! The avalanche has already started. It is too late for the pebbles to vote. -Ambassador Kosh - 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]
Re: [Juglist] Struts 2x vs larval Cocoon?
Thomas L Roche wrote: Struts can do pure-XML: see http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-strutsxslt_p.html But can Cocoon be made to handle JSPs? Why I ask: Yes, Cocoon is cool, and JSPs are icky-poo. If one is developing a new site, from scratch, Cocoon would seem to be the way to go. However, there are a lotta JSPs out there, and one can reasonably surmise that the vast majority of Java-ish websites have at least some legacy JSPs. So consider the possible thought processes of members of two groups of Javans as they plan future activity: Like this (haven't tried it myself)? http://xml.apache.org/cocoon/userdocs/generators/jsp-generator.html * site developers/maintainers Unfortunately only a tiny minority are at present fully XML/XSL compliant. (I suspect: feel free to confirm/confront with real data.) One suspects the vast majority are vanilla Model 1, with a minority having gone to something like Struts, Velocity, etc. These folks aren't especially stupid or lazy, but they've got other things to do, and they've got legacy that is good enough. If a typical enduser is motivated enough to go XML-centric, wouldn't it be a lot easier and less risky to migrate toward something like Struts (2 or 2x), than to Big Bang straight to Cocoon? (I know about Struts--I neglect Velocity etc because I know so little about them.) Or is it Real Easy to migrate JSPs to XSPs? Cocoon is what I like to think of as 2.0-centric. Meaning it has a higher initial cost but if used well, should reduce your cost of maintaining it over time. Its not the first release that usually hurts, its the second...third...etc. Costs go up as your software continues to develop. Cocoon can help with this by more completely seperating your style, data, logic, etc. (as you cross the learning curve of Cocoon and use it in a couple apps, that learning curve goes down) Is Cocoon appropriate for you farm of dreamweaver users? Probably not. But Really if you think about it neither is JSP. (I hear Velocity is nice for that) I suspect as the tools improve Cocoon will be better for this as you can seperate your applications more as far as logic and style and content, etc. XSLT has a bit of a learning curve, but I often wonder if I'd find it so hard if I were less of a programmer type. I think there is a lot more opportunity for non-programmers to work with the style XSLT in the end. But case in point. . . those tools aren't there yet. I don't feel that its any less risky to adopt Struts and migrate to Cocoon than just goto Cocoon with maybe JSPs running through the JSP generator (based on the assumption that the JSP generator is a workable solution) and migrate those to XSPs/etc over time. The areas I'm most concerned with Cocoon have to do with performance under load. Then again, if its good enough for NASA.. (no mars lander jokes or you get thwapped!) * tools builders I'd like to work on Cocoon tooling, and I suspect many managers would too. But they've gotta think about how much resource they can devote to any particular project, and what the market for their product would be. And, again, incrementality (of effort) and marketing (of product) would both seem (IMHO) to favor going toward Struts 2x. These concerns would be mitigated if there was an easier migration path to Cocoon. (I.e. a larval stage before going to pupa :-) Is there? Or am I missing something? Above, you see the JSP-generator. Next I give you XML-Form which even states that its heavily influenced by struts. http://xml.apache.org/cocoon/howto/xmlform-wizard/howto-xmlform-wizard.html -- Danger, its work in progress. This is the last major hole in Cocoon, its nearly plugged (hence the .81 version number), but it may change a bit. * Principal flaws in Cocoon * The documentation is getting better but still sucks. The community that supports it is composed of XML and Avalon folks who only occasionally delve into english explanations of what the heck things are, preferring to speak XML-ian and Avalonian most of the time. (Watch a mail list and you'll see what I mean, in fact I don't think any of them go a whole sentence without using SoC or IoC...and if you don't know what those stand for well you'll feel pretty lost), where the Struts folks are generally more geared towards the rest of us. Marketing problem. What is Cocoon? An XML Framework? (well your sources nor your output, nor your transformations necessarily have to be in XML...really only the sitemap has to be XML...but then again IIRC struts has XML config files too...), A publishing framework? (that begs the question on what is publishing), you can have forms and reports coming out of Cocoon. Where, Struts is an MVC framework for JSPs simple to say. Heavy. Cocoon is heavier than JSP
Re: XMLForms. HOWTO bug?
As soon as I figure out how to use it I plan to :-) I've started my rewrite of this site: www.bringmethis.com using Cocoon (and hence XMLForm). In the process I'll be happy to contribute a hello XMLForm example once I actually figure out how to get it working. I'm a little slower than the rest of ya. -Andy Ivelin Ivanov wrote: Interested to write one ? ;) Andrew C. Oliver wrote: Yromem.com MailingList wrote: Hi, do you plan to write a simple way to use XMLForm when we need only one Form : with no need to write a javabean (or javacode) I trie to understand all the XMLForm, but it is difficult to me. (the java part) Khalid. +1 -- We need a Hello XMLForm example. Ivelin Ivanov wrote: UserBean.java: private Node system; This an attribute which is of type org.w3c.dom.Node This is used in the FeedBack Wiazard demo to show how JavaBeans can be mixed with dom nodes. It is referenced on the page where you select Operating System, RAM, App server, etc. If you're not going to need DOM nodes in your Form model, you can ignore this attribute. Just delete it. I am not sure why it is in the HowTo though. Don't think it is necessary. Heidi? Ivelin - 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] - 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] - 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]
Re: XMLForms. HOWTO bug?
Yromem.com MailingList wrote: Hi, do you plan to write a simple way to use XMLForm when we need only one Form : with no need to write a javabean (or javacode) I trie to understand all the XMLForm, but it is difficult to me. (the java part) Khalid. +1 -- We need a Hello XMLForm example. Ivelin Ivanov wrote: UserBean.java: private Node system; This an attribute which is of type org.w3c.dom.Node This is used in the FeedBack Wiazard demo to show how JavaBeans can be mixed with dom nodes. It is referenced on the page where you select Operating System, RAM, App server, etc. If you're not going to need DOM nodes in your Form model, you can ignore this attribute. Just delete it. I am not sure why it is in the HowTo though. Don't think it is necessary. Heidi? Ivelin - 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] - 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]
Re: Cocoon book reviewers wanted
My e-mail is for pointing out that all our actions should be done only for the improvement of cocoon. We all love cocoon: I have seen some people's names for almost two years in the Cooon User List. Dude, using Cocoon commercially for your own benifit, benefits Cocoon. Writing a book and keeping the measly profit (that is in no way adequate compensation for the time and effort taken to write such a book), seriously benefits Cocoon. If the book, as I hope, is published for promoting Cocoon, for improving it, well I am proud to know Carsten and Matthew and I applaud them. And I hope they make some serious Benjamins (or whatever the appropriate European slang term is for cash) in the process. Though fat chance of that. Don't get GNU-brainwashed, not everyone believes benefitting financially from opensource is immoral. -Andy Marco +---+ Software engineer Spinetti Marco Italy +---+ - Original Message - From: Konstantin Piroumian [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 22, 2002 1:36 PM Subject: Re: Cocoon book reviewers wanted From: marco spinetti [EMAIL PROTECTED] One question: is the profit for the apache software foundation (ASF)? If not, in my opinion it's against the open source apache philosophy. Cocoon is borned as open source project and then all is free. Yes, you don't pay to use Cocoon. But nobody prevents you to provide commersial support for it. More over, if I understand the Apache license correctly: you can even modify it and distribute if the license conditions are met. Are you a member of people that created Cocoon? Don't tell this to Carsten Ziegeler [[EMAIL PROTECTED]] - Cocoon's Release Manager - who is the co-author of the book. And Matthew Langham [[EMAIL PROTECTED]] is his boss, if my information is correct, aren't you Matthew? ;). Have you received the assent from ASF or people as Stefano Mazzocchi? If yes all is ok, otherwise in my opinion you are speculating on Cocoon. Hm... In this case we are all speculating on Cocoon: one uses it to make easier his paid work, another one to get some profit from consulting, the thirds are writing books and every usage of Cocoon directly or indirectly pays back to the community by promoting Cocoon, improving it, etc. Konstantin Marco +---+ Software engineer Spinetti Marco Italy +-+ - Original Message - From: Matthew Langham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 22, 2002 11:02 AM Subject: RE: Cocoon book reviewers wanted Hi Paul By the way, Amazon states the book will be published on July 19. Is that accurate? Yes. Matthew -- Open Source Group Cocoon { Consulting, Training, Projects } = Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn Tel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de - Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20 = -Original Message- From: Paul Chisholm [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 12:54 AM To: [EMAIL PROTECTED] Subject: Re: Cocoon book reviewers wanted Hi Matthew, I'm new to Cocoon but have many years software engineering experience. I assume your book is of an introductory nature and, if so, I would be keen to review some chapters. By the way, Amazon states the book will be published on July 19. Is that accurate? Paul - Original Message - From: Matthew Langham [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, May 22, 2002 4:35 PM Subject: Cocoon book reviewers wanted Hi, together with our publisher (www.newriders.com), we are looking for people interested in reviewing chapters from our book. Hopefully you will have something positive to say and then your quote may be used in the book or to promote it. If you would be interested then please send me an email. Please note that we will only be able to suggest (!!) reviewers - our publisher will choose. And probably only a few of those in the end. Thanks Matthew -- Open Source Group Cocoon { Consulting, Training, Projects } = Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn Tel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de - Cocoon book:
Re: MS Excel
Can you supply the XML you're using? have you tried turning Logkit.conf in WEB-INF/conf to DEBUG for everything and looking in WEB-INF/logs/* for details? -Andy Andrew Timberlake wrote: I understand that the XSL Serializer is now Cocoon's domain instead of POI. I know that using Gnumeric to create initial xml for use through the serializer should work. I am using Gnumeric 1.0.4 on Redhat 7.3 to generate a basic spreadsheet and then trying to serialize it but it is crashing MS Excel 2000? Anyone got some ideas on what I may be doing wrong thanks. PS. Cocoon 2.0.2a - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: MS Excel
cool I'll take a look at it. Andrew Timberlake wrote: Andy I have attached the xml file, I typed 'bob' in cell A1 and saved as XML. There are no errors or other in the logs files. Andrew On Wed, 2002-05-15 at 21:09, Andrew C. Oliver wrote: Can you supply the XML you're using? have you tried turning Logkit.conf in WEB-INF/conf to DEBUG for everything and looking in WEB-INF/logs/* for details? -Andy Andrew Timberlake wrote: I understand that the XSL Serializer is now Cocoon's domain instead of POI. I know that using Gnumeric to create initial xml for use through the serializer should work. I am using Gnumeric 1.0.4 on Redhat 7.3 to generate a basic spreadsheet and then trying to serialize it but it is crashing MS Excel 2000? Anyone got some ideas on what I may be doing wrong thanks. PS. Cocoon 2.0.2a - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: MS Excel
Ahh... Okay this makes sense. I didn't read carefully enough about the version of Cocoon. I'd highly suggest using a recent nightly build of the serializer if you're using gnumeric 1.0.3+ (the format changed). A number of enhancements have been added recently as well as preliminary work on support for formulas. You can leave out formatting/style information. The default style should be applied. The serializer completely ignores printer information. If you grab a recent build of Cocoon there is documentation on exactly what the serializer pays attention to and ignores. If you decide to use the released version you'll need to use an earlier version of Gnumeric to match (pre 1.03 should work). -Andy Andrew Timberlake wrote: Typically, as I posted my last message I thought of how I could fix it. I changed the xmlns to xmlns:gmr=http://www.gnome.org/gnumeric/v7; and added gmr:Content/gmr:Content around the content and it works. I do still have one question. I want to produce a fairly complicated spreadsheet through an XSL transformation, what information can be left out of the gmr namespace and what cannot. Can I just include cell information or do I need the style and print information as well? Thanks for any help Andrew On Wed, 2002-05-15 at 21:20, Andrew Timberlake wrote: Andy I thought I'd add that the Excel samples all work! Andrew On Wed, 2002-05-15 at 21:09, Andrew C. Oliver wrote: Can you supply the XML you're using? have you tried turning Logkit.conf in WEB-INF/conf to DEBUG for everything and looking in WEB-INF/logs/* for details? -Andy Andrew Timberlake wrote: I understand that the XSL Serializer is now Cocoon's domain instead of POI. I know that using Gnumeric to create initial xml for use through the serializer should work. I am using Gnumeric 1.0.4 on Redhat 7.3 to generate a basic spreadsheet and then trying to serialize it but it is crashing MS Excel 2000? Anyone got some ideas on what I may be doing wrong thanks. PS. Cocoon 2.0.2a - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Andrew Timberlake Digital Design Development http://www.ddd.co.za mailto:[EMAIL PROTECTED] 011 705 1737 082 415 8283 If debugging is the process of removing bugs, then programming must be the process of putting them in. - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cocoon 2 + Access
+1 Torsten Curdt wrote: Sorry, this will not help but... If you want to stay away from problems, stay away from access... Just my two cents... -- Torsten - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ESQL HTML
Christian Haul wrote: On 12.May.2002 -- 05:50 PM, Andrew C. Oliver wrote: In order to do this I need to insert some html, and then I need to get out some html. Unfortunately, so far I'm getting coded HTML. gt; and the likes. Can someone point me to a method based on the below pages that would accomplish this? Its okay if another transformation is Andy, you want to shove html to / from the database? If it was xhtml esql:get-xml/ and the util logicsheet util:include-expr/ provides the functionality. If it is no xhtml, it needs to be converted e.g. by tidy. Chris. Awesome, thanks! - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [DOC] How to contribute documentation
the docs. And, of course, Nicola Ken is responsible for a very wonderful part of the Forrest project, which among many other things, helps build static versions of Apache-like web sites. When it is integrated into Cocoon, you will have even more useful tools as a contributor. His build scripts are a great way to take advantage of Cocoon's command line when you need to generate static parts of your web site. Among other things, this static build process in Forrest includes a mechanism for checking links. This could be very useful to Cocoon-doc effort, because it will help contributors discover if their revisions impact other pages/links within the site. ss ... It will go to his head. :-D Diana - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- http://www.superlinksoftware.com - software solutions for business http://jakarta.apache.org/poi - Excel/Word/OLE 2 Compound Document in Java http://krysalis.sourceforge.net/centipede - the best build/project structure a guy/gal could have! - Make Ant simple on complex Projects! The avalanche has already started. It is too late for the pebbles to vote. -Ambassador Kosh - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [DOC] Cocoon Related Resources (attached)
I think these changes should follow the same procedure as patches. Put in bugzilla and attach the files rather than send them to the list. (save the bug, go back to the bug and attach, use [PATCH] in the subject) -Andy Andreas Hochsteger wrote: Hi! I finally managed to get my text-only listing of cocoon related resources converted to the document XML format. All files are located in the directory src/documentation/xdocs/links. I chose the following structure, all reachable via the menu entry Links: * Main (../index.xml) * Overview (index.xml) Resources: * Tips and Guides (tips_guides.xml * Books (books.xml) * Training (training.xml) Sites: * Cocoon Sites (sites.xml) * Projects (projects.xml) * Live Sites (livesites.xml) * Cocoon Hosting (hosting.xml) Related Links: * XML (xml.xml) * XSL/XSLT (xsl.xml) I've attached the file xdocs.tar.gz which contains a modified book.xml (original file was just checked out) for the main menu and the directory links with all the other files. Simply replace src/documentation/xdocs/book.xml with the one in the attachment and copy the directory links to src/documentation/xdocs/. Now you should see the new menu entry. I moved the menu entries 'Live Sites', 'Cocoon Hosting' and 'XML Links' to the new directory and split the links from the menu entry 'Cocoon Links' into the link categories where the fit now. I'd be happy for your feedback, especially the wording of the menu entries (which I'm not yet very happy with in some cases). - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Installing cocoon
Have you all read the installation instructions? Getting it to work in 4.0.3 is a pain. Either be happy with 4.0.1 or go to 4.0.4b2 both of which are easy. I'd consider tomcat 4.0.2/3 duds overall anyhow. I've not had time to really look into what exactly is wrong with them, but things tend not to work in them that work elsewhere. Be advised that jdk 1.4 breaks database code. You'll have to create special compiles of avalon components to get that puppy to fly. Sun feels this only effects database vendors -Andy On Sun, 2002-05-05 at 09:36, Conrad F. D'Cruz wrote: Robert, I would not classify myself as a C2 expert by any long shot. I have been bloodying my nose on Cocoon for about 5 months. Every day is a new experience ... every step is a new experience. If I succeed in the install I will send you the steps. If I fail ... you will hear about that too!! By the time I get done mastering Cocoon 2.0 maybe I will become a philosopher :) Conrad Bobrs wrote: Conrad, Thanks by your attention !!! I would like a lot of if you returned your steps to install the 4.0.3 + cocoon 2.0.2 + j2sdk 1.4. So, like you have more experience with this softwares, I would like to know if this is a better option to convert files xml to pdf !?!?! Do you have some examples about this ?!?! Thanks, one more time !! Robert Conrad F. D'Cruz wrote: Bobrs, Yes I struggled with that one too. You will have to download the cocoon-2.0.2-src.zip and that's where you will find the missing pieces. I did have trouble with J2DK1.4 ... so I backtracked to jdk1.3 + tomcat 4.0.1 + cocoon 2.0.1 and everything worked okay. I am planning on revisiting the 4.0.3 + cocoon 2.0.2 + j2sdk 1.4 install sometime next week and I will document the steps (and/or frustrations and email them to you.) Hope that helps. Conrad - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- http://www.superlinksoftware.com - software solutions for business http://jakarta.apache.org/poi - Excel/Word/OLE 2 Compound Document in Java http://krysalis.sourceforge.net/centipede - the best build/project structure a guy/gal could have! - Make Ant simple on complex Projects! The avalanche has already started. It is too late for the pebbles to vote. -Ambassador Kosh - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can't connect to MySQL with Cocoon 2
You can install *headless X* (Xvfb) which is BTW faster than X. Or you can just *not* install Batik (delete the batik jar and compile cocoon). The samples may have to be tweaked not to use Batik, but it will work. Lastly if you're really industrious you can use PJAbut I couldn't get the sucker to work with jdk 1.3.1. -Andy On Sun, 2002-05-05 at 10:03, Daniel Vogelheim wrote: Hello Zack, Apparently a lot of people have been having trouble getting mySQL+C2 to work with the 1.4 JDK. I'd try 1.3 and see if that helps any. HTH. Thanks; that solves it. With IBM's JDK 1.3 my setup worked right away. The reason I used JDK 1.4 is because I don't run X. According to the FAQ, only JDK 1.4 can run in 'headless' mode, and indeed with JDK 1.3 Cocoon doesn't start unless I also run X. So my problem is solved for now, but I'm hoping for a better long-term solution (i.e., no X, and still MySQL access). Thanks everyone! Sincerely, Daniel [original problem was:] I have a problem connecting to a MySQL database with Cocoon. When I try to access a page that goes through the SQLTransformer, the browser doesn't deliver any result. There's no error message, the browser just sits there and waits for data. The Coccon core.log file contains an error message No valid Jdbc Connection class available. (More details follow below.) I've checked Google, the mailing list archive, and the FAQs, but didn't find anything that seemed to help. I'm surely missing something; aynone out there can help me? [snip] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- http://www.superlinksoftware.com - software solutions for business http://jakarta.apache.org/poi - Excel/Word/OLE 2 Compound Document in Java http://krysalis.sourceforge.net/centipede - the best build/project structure a guy/gal could have! - Make Ant simple on complex Projects! The avalanche has already started. It is too late for the pebbles to vote. -Ambassador Kosh - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: HSSF serializer/ Gnumeric file format information
if you have your cocoon nighly build or cvs copy there is also documentation under the user manual. This looks just like the site, but I haven't figured out how to have it pushed to the site. (sorry) (actually I also haven't tried or even asked so my fault) You can find the most info about the gnumeric format itself by reading the schema which is in the root module of the gnumeric project. (also the sources are cvsweb'd) goto www.gnome.org/gnumeric for details. The cocoon documentation on the serializer however explains the subset that HSSF cares about. Of course the samples are as Darrell mentioned, the best way to learn. -Andy On Tue, 2002-04-30 at 18:19, Darrell Cumming wrote: Hi Micheal, If you have a look in your COCOON_HOME/samples/poi/ there is some sample xml docuemnts and stylesheets to get started with. =) Hope that helps. Darrell -Original Message- From: Michael Aracic [mailto:[EMAIL PROTECTED]] Sent: April 30, 2002 1:55 PM To: [EMAIL PROTECTED] Subject: HSSF serializer/ Gnumeric file format information Please forgive me for asking somewhat basic questions, but I'm new to the list, and to cocoon. I've read a lot of the online documentation, and I can't find anything detailed or up to date about the HSSF serializer. I'm developing a hands-off way to generate reports in excel format without necessarily depending on windows hosted code. From what I've read, the most platform-independent, flexible way of doing this is currently using Cocoon's HSSF serializer. It sounds like the simplest approach is to create an XSL stylesheet that will transform our reporting program's XML output into Gnumeric style XML, then run cocoon in command line mode, reading in the XML reports. Cocoon will be configured to do the transformation, then use the HSSF serializer to output excel files. My questions are: 1. Have I overlooked anything huge? 2. Where can I find information on HSSF or the Gnumeric file format? I've used all the major search engines and looked at all relevant project pages, and I haven't been able to find what I need, which would include a description of the Gnumeric file format, and exactly how the HSSF serializer needs to be fed its input. 3. I imagine that the differences between the XML that comes out of my reports program, and the XML that is required by the serializer will be quite profound. Are there any tools or resources that can help me write the XSL stylesheet? I've read dozens of explanations of how to transform different kinds of XML documents into HTML, but very few about how to transform it into anything else. Thanks, Michael Aracic - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- http://www.superlinksoftware.com http://jakarta.apache.org/poi - port of Excel/Word/OLE 2 Compound Document format to java http://developer.java.sun.com/developer/bugParade/bugs/4487555.html - fix java generics! The avalanche has already started. It is too late for the pebbles to vote. -Ambassador Kosh - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
gnumeric file format (HSSF) doc
one of the more frequent questions about the HSSF Serializer is about the HSSF file format. Obviously the samples are the best place to start but here is a pretty big hunk of information: ftp://www.jrefinery.com/pub/jworkbook/gnumeric-xml.pdf -Andy - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: NPE when using HSSFSerializer + big pipeline
I've moved both your emails to a folder named tasks. I will look at this and get back to you. By the looks of this error it looks like invalid data (a null where it expects characters). -Andy On Wed, 2002-04-24 at 10:09, Seth Ladd wrote: Hello, I'm using the following pipeline: map:pipeline map:match pattern=*.xml map:generate src={1}.xml/ map:transform type=sql map:parameter name=use-connection value=seclog/ /map:transform map:transform src=test.xslt/ map:transform src=output.xslt/ map:transform src=convert.xslt/ map:transform src=final.xslt/ map:serialize type=xls/ /map:match /map:pipeline Notice at the end, I use the HSSFSerializer. I currently am getting a huge string of NPEs in the error.log (included below). When I change to the xml serializer or the html serializer, it works great. Also, I've tested the output from final.xslt (saved as raw xml) and piped it directly into the HSSFSerializer which worked great. I only get the NPEs when using the above pipeline. Does this NPE make any sense? (note: I'm currently trying different permutations to isolate the error) Any tips or help would be greatly appreciated! I'm so close. :) Thanks, Seth FATAL_E (2002-04-24) 09:42.28:545 [core.xslt-processor] (/notif/test.xml) tcpConnection--0/TraxErrorHandler: Error in TraxTransformer: javax.xml.transform.TransformerException: java.lang.NullPointerException javax.xml.transform.TransformerException: java.lang.NullPointerException at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:434) at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:226) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java(Compiled Code)) at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2069) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1171) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3196) at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:436) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91) at org.apache.xalan.transformer.ResultTreeHandler.endDocument(ResultTreeHandler.java(Compiled Code)) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1182) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3196) at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:436) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91) at org.apache.xalan.transformer.ResultTreeHandler.endDocument(ResultTreeHandler.java(Compiled Code)) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1182) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3196) at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:436) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91) at org.apache.xalan.transformer.ResultTreeHandler.endDocument(ResultTreeHandler.java:190) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1182) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3196) at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:436) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91) at org.apache.cocoon.components.sax.XMLByteStreamInterpreter.parse(XMLByteStreamInterpreter.java:112) at org.apache.cocoon.components.sax.XMLByteStreamInterpreter.deserialize(XMLByteStreamInterpreter.java:102) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:220) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:399) at org.apache.cocoon.www.sitemap_xmap.matchN10233(sitemap_xmap.java:1656) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1505) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1451) at org.apache.cocoon.sitemap.Handler.process(Handler.java:222) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154) at
Re: Does HSSF Serializer work?
Oh so I misunderstood. It is working for you? Thats quite pleasing. I'd like to see more folks with non-roman alphabets involved in the project. Its difficult to test/implement things for languages that you can't even tell if the right characters are used. -Andy Sozonnik Andrew wrote: Look to my yesterday post. There I attach simple xml+xsl but with national chars. It works with Cocoon 2.0.2 JDK 1.3.1 Resin 2.0.5 Excel XP Win XP I think you have to try to rollback to JDK 1.3 and/or replace servlet container. I faced with some troubles on Resin and moved to Orion. With respect, Sozonnik Andrew. -Original Message- From: Seth Ladd [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 10:52 PM To: [EMAIL PROTECTED] Subject: Does HSSF Serializer work? Hello everyone, Before I go delving into everything, I wanted to ask if people were successful with using the HSSF Serializer. Currently it generates XLS files that crash Excel. I am using the latest (as in tonight) nightly build of Cocoon, Resin 2.0.2 and JDK 1.4 on Linux 2.4.17. The gnumeric XML file was created by Gnumeric 1.04. I recently saw a patch for HSSF serializer that said it now works with 1.04+. So far, it doesn't seem to make a difference. Any hints or prior experience? I'll keep looking into it. Thanks very much for your help, Seth - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]