I'm using the public timeline feed (for data mining) and frequently
see xml paring error like this:
org.jdom.input.JDOMParseException: Error on line 3016: An invalid XML
character (Unicode: 0x1) was found in the element content of the
document.

the error comes from building JDom document in the following code.
        SAXBuilder builder = new SAXBuilder();
        URL u = new URL( url );
        URLConnection conn = u.openConnection();
        if(agent != null){
            conn.setRequestProperty("User-Agent", agent);
        }
        doc = builder.build( conn.getInputStream() );

is this a know issue with public timeline feed? any good way to fix
this error?
-aj

Reply via email to