This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 202883 - [71cat] suspcious warnings (?)
Summary: [71cat] suspcious warnings (?)
Status: RESOLVED DUPLICATE of bug 202959
Alias: None
Product: web
Classification: Unclassified
Component: Editing infrastructure (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-30 12:14 UTC by muellermi
Modified: 2011-11-16 16:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2011-09-30 12:14:02 UTC
Product Version = NetBeans IDE Dev (Build 201109290601)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.7.0
Runtime = Java HotSpot(TM) Client VM 21.0-b17

Given this JSF page:

<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <ui:composition>
        <h:outputText value="dummy"/>
    </ui:composition>
</html>

NB display this warnings:
<ui:composition>
Content is being hidden from the validator based on namespace filtering

</html>
Required children missing from XHTML element "html"

?????
Comment 1 Marek Fukala 2011-10-03 07:26:36 UTC
the html validation is not supposed to be enabled on facelets pages by default. There's an issue with importing old settings which causes the checking to be enabled. Please use the hints on each error to disable the error checking for "text/xhtml+facelets" mimetype.

Can you please confirm you either imported userdir from older version or enabled the error checking manually? Thanks.

*** This bug has been marked as a duplicate of bug 202959 ***