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.
Created attachment 122884 [details] CASE 1 & CASE 2 Screen Shots When you add Facebook's open graph meta data into the head of a document, depending on the doc type, it will either show these open graph meta tags as a syntax error or a warning. CASE 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> Results in the follow to show an error: <meta property="og:url" content="http://www.someurl.com" /> <meta property="og:title" content="Page title" /> <meta property="og:description" content="Page Description" /> <meta property="og:image" content="http://www.someurl.com" name="thumb" /> ________________________________________ CASE 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> Results in no error to the meta tags, but shows a warning for the doctype line. ________________________________________ CASE 3 <!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"> Results are the same as CASE 1. ________________________________________ CASE 4 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Results are the same as CASE 2 ________________________________________ CASE 5 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> Results are the same as CASE 1 ________________________________________ CASE 6 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> Results are the same as CASE 1 ________________________________________ CASE 7 <!DOCTYPE html> Results in the meta tags showing as an error as in CASE 1. ________________________________________
*** Bug 221682 has been marked as a duplicate of this bug. ***
This is fixed with new update of html validator in netbeans. Check dev version of Netbeans Fixed in http://hg.netbeans.org/web-main/rev/26573d86f877