You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.
The included xml_header adds the trimWhitespaceDirectives attribute, which has the effect of removing the space between the two numbers. Changing it to false produces the expected output.
I'm assuming something has changed, perhaps jasper treating expression-language statements as directives. I'm using:
Java 1.8
Tomcat 9.0.50.0
Thredds-4.6.16.1
The text was updated successfully, but these errors were encountered:
(Just weighing in so you don't think I've dropped this and run -- I do have plans to do try older versions of tomcat, if not an informal bisection. I'm obviously happy if someone can save me the trouble though :))
Having another quick look at this, and same issue with Tomcat 8.5.70.
I also just tried on a random public thredds server with the same result.
I'm happy to create a PR that removes the trimDirectiveWhitespaces, but it seems odd that this hasn't been detected up until now! (I get that it is non-standard functionality, and possibly not broadly used). Presumably at some point it was working, and I'm assuming something external changed in order to break it.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The GetTransect implementation outputs coordinates as space-separated coordinates:
https://github.com/Unidata/thredds/blob/4.6.x/tds/src/main/webapp/WEB-INF/jsp/wms/showTransect_xml.jsp#L33
The included xml_header adds the trimWhitespaceDirectives attribute, which has the effect of removing the space between the two numbers. Changing it to false produces the expected output.
I'm assuming something has changed, perhaps jasper treating expression-language statements as directives. I'm using:
The text was updated successfully, but these errors were encountered: