Author: mattmann
Date: Sat Jan 16 05:35:43 2010
New Revision: 899887

URL: http://svn.apache.org/viewvc?rev=899887&view=rev
Log:
- fix for TIKA-327

Added:
    
lucene/tika/trunk/tika-core/src/test/resources/org/apache/tika/mime/evilhtml.html
Modified:
    lucene/tika/trunk/CHANGES.txt
    
lucene/tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
    
lucene/tika/trunk/tika-core/src/test/java/org/apache/tika/mime/MimeDetectionTest.java

Modified: lucene/tika/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/lucene/tika/trunk/CHANGES.txt?rev=899887&r1=899886&r2=899887&view=diff
==============================================================================
--- lucene/tika/trunk/CHANGES.txt (original)
+++ lucene/tika/trunk/CHANGES.txt Sat Jan 16 05:35:43 2010
@@ -6,6 +6,9 @@
 
 The most notable changes in Tika 0.6 over the previous release are:
 
+ * Mime-type detection for HTML has been improved, allowing malformed
+   HTML files to be properly identified by the AutoDetectParser. (TIKA-327)
+
  * Tika now has an additional OSGi bundle packaging that includes all the
    required parser libraries. This bundle package makes it easy to use all
    Tika features in an OSGi environment. (TIKA-340, TIKA-342)

Modified: 
lucene/tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
URL: 
http://svn.apache.org/viewvc/lucene/tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml?rev=899887&r1=899886&r2=899887&view=diff
==============================================================================
--- 
lucene/tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
 (original)
+++ 
lucene/tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
 Sat Jan 16 05:35:43 2010
@@ -3542,6 +3542,12 @@
   <mime-type type="text/example"/>
 
   <mime-type type="text/html">
+     <!-- TIKA-327: if you encounter tags in the HTML
+          with no declared namespace, it's not XHTML, it's just
+          bad HTML, unfortunately.
+     -->
+    <root-XML localName="html"/>
+    <root-XML localName="link"/>
     <magic priority="50">
       <match value="&lt;!DOCTYPE HTML" type="string" offset="0:64"/>
       <match value="&lt;!doctype html" type="string" offset="0:64"/>

Modified: 
lucene/tika/trunk/tika-core/src/test/java/org/apache/tika/mime/MimeDetectionTest.java
URL: 
http://svn.apache.org/viewvc/lucene/tika/trunk/tika-core/src/test/java/org/apache/tika/mime/MimeDetectionTest.java?rev=899887&r1=899886&r2=899887&view=diff
==============================================================================
--- 
lucene/tika/trunk/tika-core/src/test/java/org/apache/tika/mime/MimeDetectionTest.java
 (original)
+++ 
lucene/tika/trunk/tika-core/src/test/java/org/apache/tika/mime/MimeDetectionTest.java
 Sat Jan 16 05:35:43 2010
@@ -55,6 +55,8 @@
                 "application/rdf+xml",
                 "http://www.w3.org/2002/07/owl#";,
                 "test-difficult-rdf2.xml");
+        // add evil test from TIKA-327
+        testFile("text/html", "evilhtml.html");
     }
     
     public void testAutosetSupertype() throws MimeTypeException {
@@ -84,7 +86,7 @@
         try {
             Metadata metadata = new Metadata();
             String mime = this.mimeTypes.detect(in, metadata).toString();
-            assertEquals(urlOrFileName + " is not properly detected.", 
expected, mime);
+            assertEquals(urlOrFileName + " is not properly detected: 
detected.", expected, mime);
 
             //Add resource name and test again
             metadata.set(Metadata.RESOURCE_NAME_KEY, urlOrFileName);

Added: 
lucene/tika/trunk/tika-core/src/test/resources/org/apache/tika/mime/evilhtml.html
URL: 
http://svn.apache.org/viewvc/lucene/tika/trunk/tika-core/src/test/resources/org/apache/tika/mime/evilhtml.html?rev=899887&view=auto
==============================================================================
--- 
lucene/tika/trunk/tika-core/src/test/resources/org/apache/tika/mime/evilhtml.html
 (added)
+++ 
lucene/tika/trunk/tika-core/src/test/resources/org/apache/tika/mime/evilhtml.html
 Sat Jan 16 05:35:43 2010
@@ -0,0 +1,524 @@
+<?xml version="1.0" encoding="iso-8859-1"?><link 
href="http://www.nheri.org/templates/blue-dot/css/template_css.css"; 
rel="stylesheet" type="text/css" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<title>National Home Education Research Institute - Home</title>
+<meta name="description" content="The National Home Education Research 
Institute's mission is to: Produce high-quality research, serve as a 
clearinghouse of research for the public, researchers, homeschoolers, the 
media, and policy makers, and educate the public concerning the findings of all 
research on home education." />
+<meta name="keywords" content="home education, home school, homeschool, 
homeschooling, homeschooler, education, K-12, achievement" />
+<meta name="robots" content="index, follow" />
+<base href="http://www.nheri.org/"; />
+       <link rel="shortcut icon" 
href="http://www.nheri.org/images/favicon.ico"; />
+       <script language="JavaScript" type="text/javascript">
+<!--
+function MM_reloadPage(init) {  //reloads the window if Nav4 resized
+  if (init==true) with (navigator) {if 
((appName=="Netscape")&&(parseInt(appVersion)==4)) {
+    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; 
onresize=MM_reloadPage; }}
+  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) 
location.reload();
+}
+MM_reloadPage(true);
+//-->
+
+function swapImgRestore() {
+  var i,x,a=document.sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) 
x.src=x.oSrc;
+}
+
+function preloadImages() {
+  var d=document; if(d.images){ if(!d.p) d.p=new Array();
+    var i,j=d.p.length,a=preloadImages.arguments; for(i=0; i<a.length; i++)
+    if (a[i].indexOf("#")!=0){ d.p[j]=new Image; d.p[j++].src=a[i];}}
+}
+
+function findObj(n, d) { //v4.01
+  var p,i,x;  if(!d) d=document; 
if((p=n.indexOf("?"))>0&&parent.frames.length) {
+    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
+  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) 
x=d.forms[i][n];
+  for(i=0;!x&&d.layers&&i<d.layers.length;i++) 
x=findObj(n,d.layers[i].document);
+  if(!x && d.getElementById) x=d.getElementById(n); return x;
+}
+
+function swapImage() {
+  var i,j=0,x,a=swapImage.arguments; document.sr=new Array; 
for(i=0;i<(a.length-2);i+=3)
+   if ((x=findObj(a[i]))!=null){document.sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; 
x.src=a[i+2];}
+}
+
+function MM_preloadImages() { //v3.0
+  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
+    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; 
i++)
+    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
+}
+
+function MM_findObj(n, d) { //v4.0
+  var p,i,x;  if(!d) d=document; 
if((p=n.indexOf("?"))>0&&parent.frames.length) {
+    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
+  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) 
x=d.forms[i][n];
+  for(i=0;!x&&d.layers&&i<d.layers.length;i++) 
x=MM_findObj(n,d.layers[i].document);
+  if(!x && document.getElementById) x=document.getElementById(n); return x;
+}
+
+function MM_nbGroup(event, grpName) { //v3.0
+  var i,img,nbArr,args=MM_nbGroup.arguments;
+  if (event == "init" && args.length > 2) {
+    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
+      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
+      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new 
Array();
+      nbArr[nbArr.length] = img;
+      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != 
null) {
+        if (!img.MM_up) img.MM_up = img.src;
+        img.src = img.MM_dn = args[i+1];
+        nbArr[nbArr.length] = img;
+    } }
+  } else if (event == "over") {
+    document.MM_nbOver = nbArr = new Array();
+    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != 
null) {
+      if (!img.MM_up) img.MM_up = img.src;
+      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : args[i+1];
+      nbArr[nbArr.length] = img;
+    }
+  } else if (event == "out" ) {
+    for (i=0; i < document.MM_nbOver.length; i++) {
+      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : 
img.MM_up; }
+  } else if (event == "down") {
+    if ((nbArr = document[grpName]) != null)
+      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; 
img.MM_dn = 0; }
+    document[grpName] = nbArr = new Array();
+    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != 
null) {
+      if (!img.MM_up) img.MM_up = img.src;
+      img.src = img.MM_dn = args[i+1];
+
+      nbArr[nbArr.length] = img;
+  } }
+}
+
+</script>
+
+<!-- IE fix -->
+<style type="text/css">form { display: inline }</style>
+<!--
+************************* BLUE-DOT Version 1.0 *************************
+Rhesus Media Group; The Home of Film | Web | Business Solutions
+Designed by: Gabriel Nwoffiah
+Rhesus Media Group
+http://www.rhesusmedia.com
+
+Copyright (C) 2004 Rhesus Media Group
+Distributed under the terms of the GNU General Public License
+This software may be used without warrany provided these statements are left
+intact and a "Powered By Mambo" appears at the bottom of each HTML page.
+This code is available at http://www.mosforge.net
+
+-->
+<!--[if IE]>
+<style type="text/css">
+html {
+scrollbar-arrow-color:#F5F5F5;
+scrollbar-track-color:#F5F5F5;
+scrollbar-face-color:#336699;
+scrollbar-highlight-color:#F5F5F5;
+scrollbar-3dlight-color:#336699;
+scrollbar-darkshadow-color:#000033;
+scrollbar-shadow-color:#336699;
+}
+
+</style>
+<![endif]-->
+</head>
+
+<body bgcolor="#F5F5F5" leftmargin="0" topmargin="0">
+<table border="0" cellpadding="0" cellspacing="0" width="100%">
+  <tr>
+    <td> <table class="header" border="0" cellpadding="4" cellspacing="0" 
width="100%">
+        <tr align="center" valign="middle">
+          <td width="20%" valign="middle" bgcolor="#336699"><font 
class="pn-title"><!--Tuesday, 17 November 2009--><a href="index.php"><img 
src="templates/blue-dot/images/logo.jpg" border="0" alt="National Home 
Education Research Institute"></a></font></td>
+          <td width="60%" valign="top" bgcolor="#336699"> <table width="100%" 
cellspacing="0" cellpadding="4" align="left">
+              <tr>
+                <td>
+                                  </td>
+              </tr>
+            </table></td>
+
+
+<!--
+REMOVED BY JDB
+
+          <td width="20%" bgcolor="#336699"> <form action="index.php" 
method="post"><div align="right">
+              <p align="center"><font class="pn-title">
+                <input type="hidden" name="option" value="search" />
+                </font>
+                <input class="pn-button" type="text" name="searchword" 
size="15" value="search..."  onBlur="if(this.value=='') 
this.value='search...';" onFocus="if(this.value=='search...') this.value='';" />
+              </p>
+              <div align="center">
+                <input name="submit" type="submit" class="pn-button" 
value="Search">
+              </div>
+            </form></td>
+
+-->
+
+
+<!--
+BEGIN ADDED BY JDB
+-->
+
+                <td width="20%" bgcolor="#336699" valign=bottom>
+                               <table cellpadding="0" cellspacing="0" 
class="moduletable">
+                               <tr>
+                       <td>
+                               
+<form action="index.php?option=com_search&amp;Itemid=5" method="get">
+       <div class="search">
+               <input name="searchword" id="mod_search_searchword" 
maxlength="40" alt="search" class="inputbox" type="text" size="40" 
value="Search NHERI..."  onblur="if(this.value=='') this.value='Search 
NHERI...';" onfocus="if(this.value=='Search NHERI...') this.value='';" /> </div>
+
+       <input type="hidden" name="option" value="com_search" />
+       <input type="hidden" name="Itemid" value="5" /> 
+</form>                        </td>
+               </tr>
+               </table>
+                               </td>
+
+
+<!--
+END ADDED BY JDB
+-->
+
+
+
+        </tr>
+<!--
+        <tr align="left" valign="middle" bgcolor="#9CB2C9">
+-->
+        <tr align="left" valign="middle" bgcolor="#09005F">
+          <td colspan="2" valign="middle"><span class="pathway">
+            <span class="pathway">Home </span>            </span>
+          </td>
+          <td align=right>
+            November 17, 2009           </td>
+        </tr>
+      </table></td>
+  </tr>
+  <tr>
+    <td> <table width="100%" border="1" cellspacing="1" bordercolor="#F5F5F5" 
bgcolor="#F5F5F5">
+        <tr bordercolor="#9CB2C9">
+          <td width="15%" align="center" valign="top" bordercolor="#F5F5F5">
+            <table width="100%" cellspacing="0" cellpadding="4" align="left">
+              <tr>
+                <td>
+                               <table cellpadding="0" cellspacing="0" 
class="moduletable">
+                                       <tr>
+                               <th valign="top">
+                                       Main Menu                               
</th>
+                       </tr>
+                                       <tr>
+                       <td>
+                               
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+<tr align="left"><td><a href="http://www.nheri.org/"; class="mainlevel" 
id="active_menu">Home</a></td></tr>
+<tr align="left"><td><a href="http://www.nheri.org/About-NHERI.html"; 
class="mainlevel" >About NHERI</a></td></tr>
+<tr align="left"><td><a href="http://www.nheri.org/Latest/"; class="mainlevel" 
>NHERI News</a></td></tr>
+<tr align="left"><td><a href="http://www.nheri.org/NHERI-Research.html"; 
class="mainlevel" >NHERI Research</a></td></tr>
+<tr align="left"><td><a href="http://www.nheri.org/Calendar-of-Events.html"; 
class="mainlevel" >Calendar of Events</a></td></tr>
+<tr align="left"><td><a href="http://www.nheri.org/Contact-NHERI.html"; 
class="mainlevel" >Contact NHERI</a></td></tr>
+<tr align="left"><td><span class="mainlevel" ><br></span></td></tr>
+<tr align="left"><td><a href="http://www.nheri.org/nherimail/?p=subscribe"; 
class="mainlevel" >Mailing List</a></td></tr>
+<tr align="left"><td><a href="http://www.nheri.org/store/"; class="mainlevel" 
>Online Store</a></td></tr>
+<tr align="left"><td><a href="http://www.nheri.org/Home-School-Researcher/"; 
class="mainlevel" >Home School Researcher</a></td></tr>
+<tr align="left"><td><a href="http://www.nheri.org/Search.html"; 
class="mainlevel" >Search</a></td></tr>
+<tr align="left"><td><a 
href="http://www.nheri.org/index.php?option=com_login&Itemid=89"; 
class="mainlevel" >Login</a></td></tr>
+<tr align="left"><td><span class="mainlevel" ><br><br></span></td></tr>
+</table>                       </td>
+               </tr>
+               </table>
+                               <table cellpadding="0" cellspacing="0" 
class="moduletable">
+                                       <tr>
+                               <th valign="top">
+                                       Online Store                            
</th>
+                       </tr>
+                                       <tr>
+                       <td>
+                               <p align="center">Please make sure you visit 
our <a href="http://www.nheri.org/store/";><u><font color="#800080">online 
store</font></u></a> before leaving. </p><p align="center">&nbsp;</p>           
         </td>
+               </tr>
+               </table>
+                               <table cellpadding="0" cellspacing="0" 
class="moduletable">
+                                       <tr>
+                               <th valign="top">
+                                       Newest DVD/Video                        
        </th>
+                       </tr>
+                                       <tr>
+                       <td>
+                               <p align="center"><a 
href="index.php?option=com_content&amp;task=view&amp;id=175&amp;Itemid=52"><u><font
 color="#800080">Home-Based Education:<br />The Informed Choice 
</font></u></a></p><p>&nbsp;</p>                        </td>
+               </tr>
+               </table>
+                               <table cellpadding="0" cellspacing="0" 
class="moduletable">
+                                       <tr>
+                               <th valign="top">
+                                       PDF Files Available                     
        </th>
+                       </tr>
+                                       <tr>
+                       <td>
+                               <p align="center">PDF files ready to order!<br 
/><br />We now have PDF files to order, <a 
href="index.php?option=com_content&amp;task=view&amp;id=170&amp;Itemid=46">go 
here</a> to view the available files and some samples.</p><br />                
        </td>
+               </tr>
+               </table>
+                               <table cellpadding="0" cellspacing="0" 
class="moduletable">
+                                       <tr>
+                               <th valign="top">
+                                       Login Form                              
</th>
+                       </tr>
+                                       <tr>
+                       <td>
+                                       <form action="http://www.nheri.org/"; 
method="post" name="login" >
+       
+       <table width="100%" border="0" cellspacing="0" cellpadding="0" 
align="center">
+       <tr>
+               <td>
+                       <label for="mod_login_username">
+                               Username                        </label>
+                       <br />
+                       <input name="username" id="mod_login_username" 
type="text" class="inputbox" alt="username" size="10" />
+                       <br />
+                       <label for="mod_login_password">
+                               Password                        </label>
+                       <br />
+                       <input type="password" id="mod_login_password" 
name="passwd" class="inputbox" size="10" alt="password" />
+                       <br />
+                       <input type="checkbox" name="remember" 
id="mod_login_remember" class="inputbox" value="yes" alt="Remember Me" />
+                       <label for="mod_login_remember">
+                               Remember me                     </label>
+                       <br />
+                       <input type="submit" name="Submit" class="button" 
value="Login" />
+               </td>
+       </tr>
+       <tr>
+               <td>
+                       <a href="http://www.nheri.org/Lost-password.html";>
+                               Lost Password?</a>
+               </td>
+       </tr>
+                       <tr>
+                       <td>
+<!-- JDB
+                               No account yet?                         <a 
href="http://www.nheri.org/Create-an-account.html";>
+                                       Register</a>
+-->
+                       </td>
+               </tr>
+                       </table>
+       
+       <input type="hidden" name="option" value="login" />
+       <input type="hidden" name="op2" value="login" />
+       <input type="hidden" name="lang" value="english" />
+       <input type="hidden" name="return" value="http://www.nheri.org/"; />
+       <input type="hidden" name="message" value="0" />
+       <input type="hidden" name="force_session" value="1" />
+       <input type="hidden" name="jb926fd717081b8232f106d241008d647" value="1" 
/>
+       </form>
+                               </td>
+               </tr>
+               </table>
+                               <table cellpadding="0" cellspacing="0" 
class="moduletable">
+                               <tr>
+                       <td>
+                                                       </td>
+               </tr>
+               </table>
+                               </td>
+              </tr>
+            </table>
+          </td>
+          <td width="60%" align="center" valign="top" bordercolor="#9CB2C9" 
bgcolor="#F5F5F5">
+            <table border="0" cellpadding="0" cellspacing="8" width="100%">
+              <tr>
+                <td> <div id="User" class="module">
+                    <table width="100%" border="0" cellspacing="1" 
cellpadding="0" bgcolor="">
+                      <tr>
+                        <td> <table width="100%" border="0" cellspacing="1" 
cellpadding="4" bgcolor="">
+
+<!--
+BEGIN ADDED BY JDB
+-->
+
+                            <tr>
+                              <td>
+                                                                     </td>
+                            </tr>
+
+
+<!--
+END ADDED BY JDB
+-->
+
+
+
+                            <tr>
+                              <td>
+                                       
+               <table class="contentpaneopen">
+                               <tr>
+                       <td valign="top" colspan="2">
+                               <p align="center"><strong>Welcome to the 
National Home Education Research Institute!</strong></p><table border="1" 
class="moduletable"><tbody><tr><td align="center"><a 
href="Latest/Homeschooling-Across-America-Academic-Achievement-and-Demographic-Characteristics.html"><font>New
 Nationwide Study -- Homeschooling Across America:<br />Academic Achievement 
and Demographic Characteristics</font></a></td></tr></tbody></table><p>The 
National Home Education Research Institute&#39;s mission is to: 
</p><ul><li>Produce high-quality research (e.g., statistics, facts, findings) 
on home-based education (homeschooling).<br /></li><li>Serve as a clearinghouse 
of research for the public, researchers, homeschoolers, the media, and policy 
makers.<br /></li><li>Educate the public concerning the findings of all 
research on home education. </li></ul><p>Whether called homeschooling, home 
schooling, home-based education, home education, home-schooling, unschooling, 
deschooling, or a form of alt
 ernative education, the movement is growing and the National Home Education 
Research Institute is tracking and analyzing it, internationally. NHERI&#39;s 
forte is in the realm of research, statistics, technical reports, data, facts, 
demographics, the academic world, consulting, academic achievement tests, and 
expert witness (in courts and legislatures) while serving people ranging from 
researchers and policy makers to professional educators, teachers, 
homeschoolers (home schoolers), and parents in general to the media, marketing 
consultants, and the general public. Simply put, NHERI is a key international 
leader specializing in homeschool research (i.e., home-education research).  
</p><p>NHERI was founded by its president Brian D. Ray, Ph.D., who has been the 
editor of the refereed academic journal <em><a 
href="http://www.nheri.org/Home-School-Researcher/";>Home School 
Researcher</a></em> since 1985.</p><p>In fulfilling its mission, NHERI engages 
in professional research for 
 various clients throughout the nation and internationally. In addition, Dr. 
Ray and his associates serve as consultants to the growing number of those 
presently engaged in research on home education topics. Dr. Ray or another 
representative of NHERI will be speaking in several places around the country; 
see the&nbsp;<a href="http://www.nheri.org/Calendar-of-Events.html";>Calendar of 
Events</a>&nbsp;for a detailed schedule.</p><p>NHERI, a 501(c)(3) non-profit 
research and educational organization, also makes available for public purchase 
many print, audio, and video productions ranging from basic bottom-line fact 
sheets about homeschooling to more technically sophisticated academic reports. 
</p><p>Homeschooling is growing worldwide, and as more and more parents 
homeschool (home school) their children, NHERI will be studying them, striving 
to understand them, educating others about them, and serving them.</p><p>Some 
of the research reports, books, and videos (video) available a
 t NHERI&rsquo;s site are as follow: </p><ul><li>Home Educated and Now Adults: 
Their Community and Civic Involvement, Views About Homeschooling, and Other 
Traits &ndash; newest nationwide study of &ldquo;graduates&rdquo; of 
homeschooling; family history, demographics, community service, occupations, 
reasons for homeschooling, attitudes toward homeschooling, satisfaction with 
life<br /></li><li>Worldwide Guide to Homeschooling &ndash; research, history, 
charts, how families get started homeschooling; like a small almanac<br 
/></li><li>Strengths of Their Own &ndash; nationwide study of homeschool 
families and their children; academic achievement, demographics, et cetera<br 
/></li><li>Home Schooling on the Threshold &ndash; full-color synopsis 
(booklet) of dozens of research studies<br /></li><li>Home-Based Education: The 
Informed Choice &ndash; video with research, statistics, charts, philosophy of 
education, history, and more<br /></li><li>Home School Researcher journal subscr
 iption and back issues - <a 
href="Periodicals/Subscription-individual-online/Detailed-product-flyer.html">link</a>
 </li></ul><a name="article" title="article"></a><p>A study (August 2008) by 
Dr. Brian Ray and Dr. Bruce Eagleson in the peer-reviewed <a 
href="http://www.academicleadership.org/emprical_research/State_Regulation_of_Homeschooling_and_Homeschoolers_SAT_Scores.shtml";>Journal
 of Academic Leadership</a> finds no relationship between the degree of state 
control of home-based education and the college SAT scores of the homeschooled. 
You may 
+ <script language='JavaScript' type='text/javascript'>
+ <!--
+ var prefix = '&#109;a' + 'i&#108;' + '&#116;o';
+ var path = 'hr' + 'ef' + '=';
+ var addy96540 = 'm&#97;&#105;l' + '&#64;';
+ addy96540 = addy96540 + 'nh&#101;r&#105;' + '&#46;' + '&#111;rg';
+ var addy_text96540 = 'contact Brian Ray';
+ document.write( '<a ' + path + '\'' + prefix + ':' + addy96540 + '\'>' );
+ document.write( addy_text96540 );
+ document.write( '<\/a>' );
+ //-->\n </script><script language='JavaScript' type='text/javascript'>
+ <!--
+ document.write( '<span style=\'display: none;\'>' );
+ //-->
+ </script>This e-mail address is being protected from spam bots, you need 
JavaScript enabled to view it
+ <script language='JavaScript' type='text/javascript'>
+ <!--
+ document.write( '</' );
+ document.write( 'span>' );
+ //-->
+ </script>, president of NHERI, about this study.</p><p> The new article, 
&ldquo;California Homeschool Court Decision Ignores Research Findings and 
Constitutions,&rdquo; was posted March 7, 2008. (<a 
href="http://www.nheri.org/Latest/California-Homeschool-Court-Decision-Ignores-Research-Findings-and-Constitutions.html";><u><font
 color="#800080">read it </font></u></a>)</p><p>The U.S. Department of 
Education (USDE; National Center for Education Statistics, NCES) released in 
December 2008 a report entitled &ldquo;1.5 Million Homeschooled Students in the 
United States in 2007&rdquo; (by Stacey Bielick) in which the author estimates 
the number of homeschooled students in the United States (i.e., homeschool 
population size) to be 1.28 to 1.74 million in spring 2007. Dr. Ray, of NHERI, 
on the other hand (<a 
href="Latest/Homeschool-Population-Size-and-Growth.html">read Dr. Ray&rsquo;s 
brief review here</a>), estimates that there were more than 2.0 million K-12 
homeschool students in
  the U.S. during the spring of 2008 (see <a 
href="Research-Facts-on-Homeschooling.html">Research Facts on Homeschooling</a> 
). Consistent with Dr. Ray&rsquo;s estimates, the NCES researcher found that 
the homeschool population has grown about 8% per year during the 4 years since 
the NCES&rsquo;s previous study. </p><p>Homeschooling in Full View: A Reader, 
edited by Bruce S. Cooper, Ph.D., was published in June 2005. This, a 
full-scale edited book, is a reader that describes, discusses and analyzes 
homeschooling from an array of different and international perspectives. The 
diverse authors portray the energy of this movement in this volume, looking at 
the history of &ldquo;education writ large,&rdquo; in a larger social, 
political and religious context, one for placing homeschooling in perspective. 
The homeschool movement is both a proactive new direction in education that 
stands on its own and it is a reaction to the problems and inadequacies of 
existing schools and schoolin
 g paradigms. This is the newest (as of June 1005) scholarly book on home-based 
education (homeschooling), but written with a wide audience in mind. It 
includes chapters on a variety of topics and from diverse perspectives by Bruce 
S. Cooper, Brian D. Ray, Donald A. Erickson, Charles D. Glenn, Tom Smedley, 
Michael W. Apple, Nicky Hardenbergh, Rob Reich, Venus L. Taylor, Scott L. 
Somerville, Steven L. Duvall, and Clive R. Belfield. (<a 
href="books/homeschooling-in-full-view/Detailed-product-flyer.html">order 
Homeschooling in Full View</a>)</p><p>Dr. Ray, in &ldquo;A Brief Review of 
Educational Neglect and Compulsory Schooling: A Status Report,&rdquo; provides 
a critical look (as of January 28, 2006) at a new report written by Philip 
Kelly, Robert Barr, &amp; James Weatherby that relates to homeschooling (<a 
href="http://www.nheri.org/Latest/A-Brief-Review-of-Educational-Neglect-Compulsory-Schooling-A-Status-Report.html";><u><font
 color="#800080">click here </font></u></a>).</p>
 <p>In summary, the National Home Education Research Institute (NHERI) is a key 
leader when it comes to conducting and reporting on homeschooling as it relates 
to homeschool research (i.e., home-school research), homeschool statistics, 
homeschool data, homeschool reports, homeschool facts, homeschool consulting, 
homeschool studies, homeschool population, homeschool demographics, and 
homeschool expert witness.</p>

<hr>                    </td>
+               </tr>
+                               </table>
+
+               <span class="article_seperator">&nbsp;</span>
+
+                                             </td>
+                            </tr>
+
+<!--
+BEGIN ADDED BY JDB
+-->
+
+                            <tr>
+                              <td>
+                                                                     </td>
+                            </tr>
+
+
+<!--
+END ADDED BY JDB
+-->
+
+
+
+                          </table></td>
+                      </tr>
+                    </table>
+                  </div></td>
+              </tr>
+            </table>
+          </td>
+          <td width="15%" align="center" valign="top" bordercolor="#F5F5F5">
+            <table width="100%" cellspacing="0" cellpadding="4" align="left">
+              <tr>
+                <td>
+                               <table cellpadding="0" cellspacing="0" 
class="moduletable">
+                                       <tr>
+                               <th valign="top">
+                                       Research Facts                          
</th>
+                       </tr>
+                                       <tr>
+                       <td>
+                               
+               <table class="contentpaneopen">
+                               <tr>
+                       <td valign="top" colspan="2">
+                               <p align="center"><em>Homeschool children 
&quot;... may be more socially mature and have better leadership skills than 
other children ...&quot;</em><br />- Richard G. Medlin, Ph.D.</p>               
         </td>
+               </tr>
+                               </table>
+
+               <span class="article_seperator">&nbsp;</span>
+
+                                       </td>
+               </tr>
+               </table>
+                               <table cellpadding="0" cellspacing="0" 
class="moduletable">
+                                       <tr>
+                               <th valign="top">
+                                       Newest Study                            
</th>
+                       </tr>
+                                       <tr>
+                       <td>
+                               <p align="center"><a 
href="index.php?option=com_content&amp;task=view&amp;id=171&amp;Itemid=47">Home 
Educated and Now Adults</a> &ndash;<br /><br /><a 
href="index.php?option=com_content&amp;task=view&amp;id=171&amp;Itemid=47"><img 
src="/images/newbook2.jpg" border="0" alt="" width="100" height="155" 
/></a></p><p>&nbsp;</p>                    </td>
+               </tr>
+               </table>
+                               <table cellpadding="0" cellspacing="0" 
class="moduletable">
+                                       <tr>
+                               <th valign="top">
+                                       Our Newest Book                         
</th>
+                       </tr>
+                                       <tr>
+                       <td>
+                               <br /><p align="center"><a 
href="index.php?option=com_content&amp;task=view&amp;id=172&amp;Itemid=48"><img 
src="/images/worldwidesmall.png" border="0" alt="" width="100" height="175" 
/></a><br /><strong>Worldwide Guide to Homeschooling</strong><br />For parents, 
researchers, media, policy makers, and critics.</p><p>&nbsp;</p>                
 </td>
+               </tr>
+               </table>
+                               </td>
+              </tr>
+            </table>
+          </td>
+        </tr>
+      </table></td>
+  </tr>
+
+
+<!--
+REMOVED BY JDB
+
+  <tr>
+    <td bgcolor="#F5F5F5">
+      <table width="100%">
+        <tr>
+          <td bgcolor="#9CB2C9">
+            <table width="100%" align="center" cellpadding="5" cellspacing="5" 
bgcolor="#F5F5F5">
+              <tr>
+                <td align="center" valign="top">
+                  <table width="198" border="1" bordercolor="#336699">
+                    <tr>
+                      <td bordercolor="#F5F5F5" bgcolor="#F5F5F5">
+                                              </td>
+                    </tr>
+                  </table></td>
+                <td align="center" valign="top">
+                  <table width="198" border="1" bordercolor="#336699">
+                    <tr>
+                      <td bordercolor="#F5F5F5" bgcolor="#F5F5F5">
+                                              </td>
+                    </tr>
+                  </table></td>
+                <td align="center" valign="top">
+                  <table width="198" border="1" bordercolor="#336699">
+                    <tr>
+                      <td bordercolor="#F5F5F5" bgcolor="#F5F5F5">
+                                              </td>
+                    </tr>
+                  </table></td>
+              </tr>
+            </table>
+          </td>
+        </tr>
+      </table></td>
+  </tr>
+
+-->
+
+
+  <tr>
+    <td bgcolor>
+<table width="100%" border="0" cellspacing="0" cellpadding="4">
+        <tr>
+          <td align="center" bgcolor="#F5F5F5">
+                      </td>
+        </tr>
+        <tr>
+          <td align="center" bgcolor="#F5F5F5">
+
+<!--
+REMOVED BY JDB
+            <div align="center">
+       &copy; 2009 National Home Education Research Institute</div>
+
+<div align="center">
+       <a href="http://www.joomla.org";>Joomla!</a> is Free Software released 
under the GNU/GPL License.</div>-->
+
+               &copy;2009 National Home Education Research Institute<br><a 
href="mailto:[email protected]";>Contact NHERI</a><br><a 
href="http://www.emwd.com/";><img src="/images/emwdad1.gif" border=0></a>
+          </td>
+        </tr>
+      </table></td>
+  </tr>
+</table>
+</body>
\ No newline at end of file


Reply via email to