[sldev] Truncated Jira XML output with wget...

Robin Cornelius robin.cornelius at gmail.com
Wed Nov 14 04:10:10 PST 2007


On Nov 14, 2007 11:39 AM, Jason Giglio <gigstaggart at gmail.com> wrote:
> I'm trying to yank some XML from Jira without using authentication, and
> it's mostly working.  If you do a search then go do a wget on it, it
> seems to work OK, except that the output is truncated in a strange way.
>
> For example:
> wget
> 'http://jira.secondlife.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?&pid=10000&sorter/field=issuekey&sorter/order=DESC&tempMax=1000'
>
> This will get all the MISC issues.  Except it doesn't.  It gets some of
> them and then it truncates.  Jump to the end of file to see that it's
> truncated.
>

My wget and the source view from FireFox are the same but the rendered
page in firefox misses the last issue. In your example URL I don't see
MISC-743 the last displayed issue is 744 but the source and the wget
both have it.I presume there is some bad XML with open tags?

In fact looking at the source there are open tags and confirming with
Internet Explorer :-

following tags were not closed: rss, channel, item, comments, comment.
Error processing resource 'http://jira.secondlif...

Also live bookmarks in Firefox "Fail to load"

Robin


More information about the SLDev mailing list