Quantcast

Wildfly 10 Clear Directive Whitespaces not enabled in GUI.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Wildfly 10 Clear Directive Whitespaces not enabled in GUI.

tlf30
Hello,
I am working on a new project in Netbeans 8.2 with Wildfly 10, and in my web xml under pages I see the Trim Directive Whitespaces check box when I create a new JSP Property Group, but the checkbox is not enabled, AKA: I can not select it.
If I add the tag to the web.xml myself it does no validate, giving me this error:


Code:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'trim-directive-whitespaces'. One of '{"http://java.sun.com/xml/ns/j2ee":is-xml, "http://java.sun.com/xml/ns/j2ee":include-prelude, "http://java.sun.com/xml/ns/j2ee":include-coda}' is expected. [40]



But, Wildfly 10 works just fine with it there and it does its job. This is the property group:


Code:
<jsp-property-group>
            <description>Trim White Space</description>
            <display-name>Trim White Space</display-name>
            <url-pattern>*.jsp</url-pattern>
            <el-ignored>false</el-ignored>
            <page-encoding>UTF-8</page-encoding>
            <scripting-invalid>false</scripting-invalid>
            <trim-directive-whitespaces>true</trim-directive-whitespaces>
            <is-xml>false</is-xml>
</jsp-property-group>




I was wondering if anyone else noticed this and if it is a bug or if I am just missing something. Not a big problem as it does work right though.

Thank you,
Trevor




Loading...