Yes so was thinking something went wrong with the code that results in
it ommitting out those response with the double quotation

Tried to print out the items retrieved.
When i reach here


 while (eventReader.hasNext()) {
               XMLEvent event = eventReader.nextEvent();


Tried System.out.println(event);
the full content can still be seen. But when i reach here:

 if (event.isStartElement()) {
                   StartElement startElement = event.asStartElement();


The sentences with the double quotation seems to have disappeared.

On Nov 12, 8:44 am, Andrew Badera <[email protected]> wrote:
> So, is the message complete in the raw XML response but not after the
> Java toCharacters() call?
>
> ∞ Andy Badera
> ∞ +1 518-641-1280 Google Voice
> ∞ This email is: [ ] bloggable [x] ask first [ ] private
> ∞ Google me:http://www.google.com/search?q=andrew%20badera
>
>
>
> On Wed, Nov 11, 2009 at 7:35 PM, pipigu85 <[email protected]> wrote:
>
> > the raw file is in atom format and looks like this:
>
> > <entry>
>
> > <id>tag:search.twitter.com,2005:5607828675</id>
>
> > <published>2009-11-11T02:43:13Z</published>
>
> > <link type="text/html" href="http://twitter.com/green_stormroqr/
> > statuses/5607828675" rel="alternate"/>
>
> > <title>just voted &quot;Selena Gomez&quot; on &quot;Who's your
> > favorite Disney star?&quot;! Vote now  &#10148;http://bit.ly/o2wGh</title>
>
> > <content type="html">just voted &amp;quot;Selena Gomez&amp;quot; on
> > &amp;quot;Who&amp;apos;s your favorite &lt;b&gt;Disney&lt;/b&gt; star?
> > &amp;quot;! Vote now  &#10148; &lt;a href=&quot;http://bit.ly/
> > o2wGh&quot;&gt;http://bit.ly/o2wGh</a></content>
>
> > <updated>2009-11-11T02:43:13Z</updated>
>
> > <link type="image/png" href="http://a3.twimg.com/profile_images/
> > 467518411/061403-1wt_normal.jpg" rel="image"/>
>
> > <twitter:geo>
> >    </twitter:geo>
>
> > <twitter:source>&lt;a href=&quot;http://lolquiz.com";
> > rel=&quot;nofollow&quot;&gt;LOL quiz&lt;/a&gt;</twitter:source>
>
> > <twitter:lang>en</twitter:lang>
>
> > <author>
>
> > <name>green_stormroqr (stormie verrett)</name>
> >      <uri>http://twitter.com/green_stormroqr</uri>
>
> > </author>
>
> > </entry>
>
> > On Nov 12, 12:37 am, Andrew Badera <[email protected]> wrote:
> >> What does the RAW XML response look like?
>
> >> Reduce variables. Examine your inputs.
>
> >> ∞ Andy Badera
> >> ∞              +1 518-641-1280        +1 518-641-1280Google Voice
> >> ∞ This email is: [ ] bloggable [x] ask first [ ] private
> >> ∞ Google me:http://www.google.com/search?q=andrew%20badera
>
> >> On Wed, Nov 11, 2009 at 1:15 AM, pipigu85 <[email protected]> wrote:
>
> >> > I'm not sure. The code is basically what i put with it getting some
> >> > other data like the date, link. All seems fine except this ommitting
> >> > content problem.
>
> >> > Even when i change to event.toString() in place of asCharacters(), it
> >> > still ommits out the information so it should not be due to
> >> > asCharacters() right?
>
> >> > Sorry, I'm still very new to all these Java, hoping someone could help
> >> > enlighten me.- Hide quoted text -
>
> >> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

Reply via email to