vg.setDoc("\ufeff<this><!--afasf-->&#xab; aaaabbbbccccdddd</this>".getBytes("UTF-8"));
int k = 0x1fffff; StringBuffer sb = new StringBuffer(k); for (int z=0;z<k;z++){ sb.append('z'); } vg.setDoc(("\ufeff<this><!--"+ sb.toString()+"--></this>").getBytes("UTF-8"));
	public static void main(String[] argv){		VTDGen vg = new VTDGen();		try{			vg.setDoc("\ufeff<this><!--afasf-->&#xab; aaaabbbbccccdddd</this>".getBytes("UTF-8"));			vg.parse(false);			System.out.println("A success");			VTDNav vn = vg.getNav();			vg.clear();			int size = vn.getTokenCount();			for(int i=0;i<size;i++){				System.out.print(" type --> "+vn.getTokenType(i));				System.out.print(" length -->"+vn.getTokenLength(i));				System.out.println("  offset -->"+vn.getTokenOffset(i));				System.out.println(" i -->"+i);			}			System.out.println(vn.toString(vn.getText()));		}		catch(Exception e){			System.out.println(e);		}			}