NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Wildfly 10 Clear Directive Whitespaces not enabled in GUI.

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
tlf30



Joined: 03 Jan 2012
Posts: 7

PostPosted: Wed Dec 28, 2016 2:24 pm    Post subject: Wildfly 10 Clear Directive Whitespaces not enabled in GUI. Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo