Re: copy-source génère une NPE dans A bstractEnvironment.release ?

2006-03-26 Thread Frédéric Glorieux
En effet il y a un bug dans Cocoon: la classe CopySourceAction.java effectue deux appels à SourceResolver.resolveURI() (pour src et dest) mais pas les appels correspondant à SourceResolver.release(), et ne relâche donc pas les sources, d'où le message d'erreur dans les logs. Avec les

Extract XML from the pipeline

2006-03-26 Thread Paul Ramsteijn
Dear all, Typically an XSP is used to get an XML document into a pipeline. But how do I do I achieve the opposite? Use case: my website needs to receive posted XML documents. You can get a posted XML document into the pipeline by using the stream generator. But I need to validate the XML

Re: Extract XML from the pipeline

2006-03-26 Thread Gerrit boers
Paul, Are you talking about HL7v3 or CDA messages? I'm building a webapplication for validating HL7 CDA R2 messages against XML schema and schematron rules. We hope to release this as open-source soon. The application uses cForms to handle the uploadform. Based on the selected

Re: Extract XML from the pipeline

2006-03-26 Thread Paul Ramsteijn
Gerrit, Currently, we are not compliant to HL7 - we are using a proprietary XML schema instead. Future formats may comply, however. In both cases, and from a technical point of view, we have the use of XML schema in common. The use of transformers instead of routing the message through XSP

Re: Extract XML from the pipeline

2006-03-26 Thread Gerrit boers
Paul, Probably on my website: http://gboers.xs4all.nl At a later stage we hope to give it to HL7.org Gerrit On Mar 26, 2006, at 3:42 PM, Paul Ramsteijn wrote: Gerrit, Currently, we are not compliant to HL7 - we are using a proprietary XML schema instead. Future formats may comply,

sql transformation

2006-03-26 Thread lordsh
Hello at all, can i get the http header Last-Modified in a SQL transformation with cocoon 2.18? -- Un affare in cui si guadagna soltanto del denaro non è un affare. Henry Ford - To

Re: RegexpHeaderSelector and map:handle-errors

2006-03-26 Thread Stephen Winnall
This problem is beginning to cause me distress. I thought I had found a fix for the original problem (RegexpHeaderSelector not working in map:handle-errors clauses). I modified my own map:action (called browser-recognition in the snippet below) to return a MIME type (variable mime-type)

Authentication via sitemap

2006-03-26 Thread Peter Flynn
I'm just starting to look at very simple authentication, using http://cocoon.apache.org/2.1/developing/webapps/authentication/authenticating_user.html as a guide. It looks straightforward enough, but there's one missing item of information. For Using a URI as the authentication resource it gives

Re: Authentication via sitemap

2006-03-26 Thread Jason Johnston
I'm just starting to look at very simple authentication, using http://cocoon.apache.org/2.1/developing/webapps/authentication/authenticating_user.html as a guide. It looks straightforward enough, but there's one missing item of information. For Using a URI as the authentication resource it

Knowledge of sitemap from input module

2006-03-26 Thread Tim Williams
How might I figure out what the calling sitemap is for a given input module request? In other words if I have: lm:my.resource, how could I figure out that that this request happens to be coming from some-mounted-sitemap.xmap? We basically want this to be output for debugging information[1].

Re: Extract XML from the pipeline

2006-03-26 Thread Bertrand Delacretaz
Le 26 mars 06 à 14:48, Paul Ramsteijn a écrit : ...I need to validate the XML document and store its content into a database, so I guess I need to get it into an XSP in order to do this kind of processing. Or are there better approaches?.. From flowscript, you can use processPipelineTo to