Validating xml parser perl scientific dating of paintings

“31/9/2010”, “31/09/2010” – September has 30 days only 10. “31/6/2010”, “31/06/2010” -June has 30 days only 9. “31/4/20100”, “31/04/2010” – April has 30 days only 8. “333/2/2008”, “29/02/200a” – day is invalid, year is invalid 7.However, care has been taken to make most method invocations natural to perl programmers, so a number of rough C edges have been smoothed over (See the Special Perl API Features section).The online users mailing list is the place for any questions.The W3C XML specification states that a program should stop processing an XML document if it finds an error.The reason is that XML software should be small, fast, and compatible.

It declares all of the document's element types, children element types, and the order and number of each element type. Any changes that are made to the external DTD automatically updates all the documents that reference it. There are two types of external DTDs: private, and public. However, it’s a bit hard to validate the leap year , 30 or 31 days of a month, we may need basic logic as below. “31/11/2010” – November has 30 days only [Parser] Running: E:\workspace\mkyong\Date is valid : 1/1/2010 , true Date is valid : 01/01/2020 , true Date is valid : 31/1/2010 , true Date is valid : 31/01/2020 , true Date is valid : 29/2/2008 , true Date is valid : 29/02/2008 , true Date is valid : 28/2/2009 , true Date is valid : 28/02/2009 , true Date is valid : 31/3/2010 , true Date is valid : 31/03/2010 , true Date is valid : 30/4/2010 , true Date is valid : 30/04/2010 , true Date is valid : 31/5/2010 , true Date is valid : 31/05/2010 , true Date is valid : 30/6/2010 , true Date is valid : 30/06/2010 , true Date is valid : 31/7/2010 , true Date is valid : 31/07/2010 , true Date is valid : 31/8/2010 , true Date is valid : 31/08/2010 , true Date is valid : 30/9/2010 , true Date is valid : 30/09/2010 , true Date is valid : 31/10/2010 , true Date is valid : 31/10/2010 , true Date is valid : 30/11/2010 , true Date is valid : 30/11/2010 , true Date is valid : 31/12/2010 , true Date is valid : 31/12/2010 , true Date is valid : 32/1/2010 , false Date is valid : 32/01/2020 , false Date is valid : 1/13/2010 , false Date is valid : 01/01/1820 , false Date is valid : 29/2/2007 , false Date is valid : 29/02/2007 , false Date is valid : 30/2/2008 , false Date is valid : 31/02/2008 , false Date is valid : 29/a/2008 , false Date is valid : a/02/2008 , false Date is valid : 333/2/2008 , false Date is valid : 29/02/200a , false Date is valid : 31/4/2010 , false Date is valid : 31/04/2010 , false Date is valid : 31/6/2010 , false Date is valid : 31/06/2010 , false Date is valid : 31/9/2010 , false Date is valid : 31/09/2010 , false Date is valid : 31/11/2010 , false PASSED: Valid Date Test("1/1/2010") PASSED: Valid Date Test("01/01/2020") PASSED: Valid Date Test("31/1/2010") PASSED: Valid Date Test("31/01/2020") PASSED: Valid Date Test("29/2/2008") PASSED: Valid Date Test("29/02/2008") PASSED: Valid Date Test("28/2/2009") PASSED: Valid Date Test("28/02/2009") PASSED: Valid Date Test("31/3/2010") PASSED: Valid Date Test("31/03/2010") PASSED: Valid Date Test("30/4/2010") PASSED: Valid Date Test("30/04/2010") PASSED: Valid Date Test("31/5/2010") PASSED: Valid Date Test("31/05/2010") PASSED: Valid Date Test("30/6/2010") PASSED: Valid Date Test("30/06/2010") PASSED: Valid Date Test("31/7/2010") PASSED: Valid Date Test("31/07/2010") PASSED: Valid Date Test("31/8/2010") PASSED: Valid Date Test("31/08/2010") PASSED: Valid Date Test("30/9/2010") PASSED: Valid Date Test("30/09/2010") PASSED: Valid Date Test("31/10/2010") PASSED: Valid Date Test("31/10/2010") PASSED: Valid Date Test("30/11/2010") PASSED: Valid Date Test("30/11/2010") PASSED: Valid Date Test("31/12/2010") PASSED: Valid Date Test("31/12/2010") PASSED: In Valid Date Test("32/1/2010") PASSED: In Valid Date Test("32/01/2020") PASSED: In Valid Date Test("1/13/2010") PASSED: In Valid Date Test("01/01/1820") PASSED: In Valid Date Test("29/2/2007") PASSED: In Valid Date Test("29/02/2007") PASSED: In Valid Date Test("30/2/2008") PASSED: In Valid Date Test("31/02/2008") PASSED: In Valid Date Test("29/a/2008") PASSED: In Valid Date Test("a/02/2008") PASSED: In Valid Date Test("333/2/2008") PASSED: In Valid Date Test("29/02/200a") PASSED: In Valid Date Test("31/4/2010") PASSED: In Valid Date Test("31/04/2010") PASSED: In Valid Date Test("31/6/2010") PASSED: In Valid Date Test("31/06/2010") PASSED: In Valid Date Test("31/9/2010") PASSED: In Valid Date Test("31/09/2010") PASSED: In Valid Date Test("31/11/2010") =============================================== com.mkyong.regex.