|
From: Bruce M. <br...@mc...> - 2003-08-06 03:48:18
|
All, This story started simply: I wanted to pass in a couple of parameters to the XslTransformPipelineStage so that the documentation output can be pretty... Well, I then noticed that the parameters that the XSL stylesheets are of the form: xxxx.aaaa.bbb - now this really screws up the configuration passing scheme - it uses the '.' to find the components of the configuration. So then it was necessary to update the parsing to quote parts some of the configuration so that it is possible to do the following: 1. aaaa.bbbb.cccc.dddd=zzzzzzzzzzzzzzzzzz 2. aaaa.bbbb."cccc.dddd"=yyyyyyyyyyyyyyyyy are separate. I am now using the CSVReader (from the csv19.jar) using the '.' as a separator and '"' as a quote character. This means that more sophisticated quoting is possible. The downside is that the configuration processing is potentially slower. Please take a look at the TieredConfigurationHelper and the SimplePipelineStageResolver. regards, Bruce. PS. If anyone wants to go through some of the pipeline stages and expand the descriptions of the pipelinestages and the configuration options. |