set trimDirectiveWhitespaces to true in jsp that write capabilities docs