Following up: if you can point us to a status (by ID) that has this
unwanted control character, we'll track down the source of the issue.

On Wed, Apr 1, 2009 at 23:48, AJ <[email protected]> wrote:
>
> 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
>



-- 
Alex Payne - API Lead, Twitter, Inc.
http://twitter.com/al3x

Reply via email to