java.io.UTFDataFormatException: 5-byte UTF8 encoding not supported.

An interesting exception faced while parsing xml content. Also, on further analysis on this error caused below similar issues started to raise. Another similar exception is: java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence Here, I am trying to parseContinue reading… java.io.UTFDataFormatException: 5-byte UTF8 encoding not supported.

Building DOM tree by reading an xml file in Java

import java.io.*; import javax.xml.parsers.*; import org.w3c.dom.*; import org.xml.sax.*; public class BasicDom { public static void main(String[] args) { Document doc = parseXmlFile(“infilename.xml”, false); } // Parses an XML file and returns a DOM document. // If validating is true, theContinue reading… Building DOM tree by reading an xml file in Java

MySQL error 1067 (42000): Invalid default value for ‘ban_id’

# # Table structure for table ‘phpbb_banlist’ # CREATE TABLE phpbb_banlist ( ban_id mediumint(8) unsigned DEFAULT ‘0’ NOT NULL auto_increment, ban_userid mediumint(8) DEFAULT ‘0’ NOT NULL, ban_ip varchar(8) DEFAULT ” NOT NULL, ban_email varchar(255), PRIMARY KEY (ban_id), KEY ban_ip_user_id (ban_ip,ban_userid)Continue reading… MySQL error 1067 (42000): Invalid default value for ‘ban_id’

Cross Browser Compatability – Web Resources

http://www.zvon.org/xxl/xhtmlReference/Output/comparison.html compares  Strict and Transitional XHTML http://www.w3schools.com/ is a great web site for learning different web technologies http://www.quirksmode.org/dom/compatibility.html covers W3C DOM compatibility among different browsers and platforms http://www.w3schools.com/browsers/browsers_stats.asp provides up to date browser usage statistics http://nexgenmedia.net/evang/iemozguide/ provides migration guide fromContinue reading… Cross Browser Compatability – Web Resources