Hello !! I'm using cocoon 2.0.4 to develop a prototype of a small webapp which has Tamino XML Server as data repository.
Tamino allows me to pass a HTTP xquery (using x-machine) to the database.. like this http://databasehost/tamino/databasename/col?_xquery=input()/* So .. with cocoon i'm doing a pipeline which passes a xquery to tamino ... like this .. http://localhost:8080/cocoon/db_xquery=col/input()/* and the pipeline is .. <map:match pattern="db_*=*/**"> <map:generate src="http://databasehost/tamino/databasename/{2}?_{1}={3}"/> <map:transform src="stylesheets/tamino-result.xslt"/> <map:serialize type="xml"/> </map:match> So until now everything is fine ... BUT imagine i want a query like this .. http://localhost:8080/cocoon/db_xquery=col/input()/root[@id = 'something'] (NOTICE THE WHITESPACE between @id and = and 'something' ... i don�t really need the whitespace but imagine i DO need it ..) Cocoon does not encode the URL on the FileGenerator ... so it passes an not-encoded URL String to tamino, which tamino refuses because it isn't encoded (it has whitespaces and not %20's) Or is the problem with the Matcher not encoding the parameter ?? Is this reported somehere ? Any help please ? Thanks ! [--] Rui Pedro Leal [--] [EMAIL PROTECTED] [--] [EMAIL PROTECTED] [--] ICQ: 318173 --------------------------------------------------------------------- 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]>
