Hi.
We’re having problems filtering our queries using a servlet.
We’re using Tamino 3.1.1.1 and Tomcat 4.0.1 on different ports.
This query works:
http://jefferson.village.virginia.edu:8090/styler/servlet/SaxonServlet/tamino/cindy/whitman?_xql=//lg1&source=http://jefferson.village.virginia.edu:8070/tamino/cindy/whitman?_xql&style=test2.xsl
But this one doesn’t:
http://jefferson.village.virginia.edu:8090/styler/servlet/SaxonServlet/tamino/cindy/whitman?_xql=//lg1[head~=‘Earth’]&source=http://jefferson.village.virginia.edu:8070/tamino/cindy/whitman?_xql&style=test2.xsl
However, it works using the Tamino Interactive Interface and when we do it this way:
http://jefferson.village.virginia.edu:8070/tamino/cindy/whitman/?_xql=//lg1[head~=‘Earth’]
So it has to be something with the servlet. Does anyone know what the problem is, and if there’s a workaround?
Thanks,
Cindy
Maybe you could tell us what the error is? Btw what is this servlet - where has it come from?
It just says “No message received.”
I’m using a servlet that I got from a support guy at Tamino - not one they generally distribute, as far as I know. We were very excited to get it working, but not being able to filter our searches is obviously going to be a problem.
I would suggest contacting the person who provided you with the servlet as it seems like the queries are ok; and so the problem therefore must be coming from the servlet itself.
Debugging errors in servlets can be a nightmare, but when someone just tells you “it doesn’t work”, it’s completely impossible. In what way doesn’t it work? What do you see on the screen, what do you see in the Tomcat log files? What does the un-transformed Tamino result document look like, and what is in your stylesheet?
Michael Kay
This may be solved by URL-encoding the brackets: replace [ by %5B
and ] by %5D