@Override
    public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
        if (qName.equals("utf8")) {
            inUTF8 = true;
            curStr = null;
        } else if (qName.equals("strokes")) {
        	curPoints = new ArrayList<Point>();
        	curSeps = new ArrayList<Integer>();
        	posSep = 0;
        } else if (qName.equals("stroke")) {
        	inStroke = true;
        	curSeps.add(posSep);
        } else if (qName.equals("point")) {
        	inPoint = true;
        	int x = Integer.parseInt(attributes.getValue("x"));
        	int y = Integer.parseInt(attributes.getValue("y"));
        	if (false) {
	        	System.out.println(
	        			"x = " + x + ", " + 
	        			"y = " + y);
        	}
        	curPoints.add(new Point(x, y));
        	posSep++;
        }
    }