When trimDirectiveWhitespaces is enabled in a JSP page, IDEOGRAPHIC SPACE is removed from response page unexpectedly.

Solution Verified - Updated -

Issue

  • When trimDirectiveWhitespaces is enabled in a JSP page like <%@page trimDirectiveWhitespaces="true"%>, the characters other than whitespaces defined in XML specification (#x20, #x9, #xD, #xA), e.g. IDEOGRAPHIC SPACE (U+3000), is removed unexpectedly in the response page.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content