git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Rss produced by git is not valid xml?
@ 2005-11-18 16:33 Ismail Donmez
  2005-11-18 17:26 ` Ismail Donmez
  0 siblings, 1 reply; 53+ messages in thread
From: Ismail Donmez @ 2005-11-18 16:33 UTC (permalink / raw)
  To: git

Hi all,

I am trying to parse git's rss feed and now xml parsers seems to choke on it 
because of an error in the produced feed. Looking at 
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=rss

line 781 says :

On Thu, 17 Nov 2005, David G\363mez wrote:<br/>

which is part of the commit : 
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=05b8b0fafd4cac75d205ecd5ad40992e2cc5934d

This looks like malformed xml to me ( because of \363 part ). Is there any way 
to fix this so git rss can be parsed? Or is this legal in xml and parsers are 
buggy? 

Regards,
ismail

^ permalink raw reply	[flat|nested] 53+ messages in thread
* Re: Rss produced by git is not valid xml?
@ 2005-11-19  6:31 Marco Costalba
  0 siblings, 0 replies; 53+ messages in thread
From: Marco Costalba @ 2005-11-19  6:31 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: Junio C Hamano, git

H. Peter Anvin wrote:

> Junio C Hamano wrote:
>
>> I just looked at the diff this commit introduces:
>>
>>     e6bd23911efd0a2bd756c77d9e7ba6576eb739a1
>>         Documentation: asciidoc sources are utf-8
>>
>> with gitk (BTW, I pulled from paulus today, so "master" branch
>> has the latest gitk) while my locale set to LC_CTYPE=en_US.utf8.
>>
>> Surprisingly, the diff to Documentation/git-pack-redundant.txt,
>> which changes Lukas' name originally incorrectly encoded in
>> iso-8859-1 to utf-8, was shown and both pre-image and post-image
>> lines are readable.
>>
>> I do not know how tcl/tk does it, but it is doing the right
>> thing.
>>
>
> Tcl/Tk assumes that anything that isn't valid UTF-8 is Latin-1.
>
>     -hpa
> -
My locale is set to LC_CTYPE=it_IT (local codec is ISO 8859-15).

Gitk shows correctly pre-image lines, but not post-image. BTW it's 
the same output I have with

      git-diff-tree -p e6bd23911efd0a2bd756c77d9e7ba6576eb739a1

run from KDE Konsole.

So I think the local encoding (LC_CTYPE) has a role in the story.

Marco



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

^ permalink raw reply	[flat|nested] 53+ messages in thread

end of thread, other threads:[~2005-11-28  9:21 UTC | newest]

Thread overview: 53+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-18 16:33 Rss produced by git is not valid xml? Ismail Donmez
2005-11-18 17:26 ` Ismail Donmez
2005-11-18 19:27   ` Ismail Donmez
2005-11-18 20:02     ` Kay Sievers
2005-11-18 20:08       ` Ismail Donmez
2005-11-18 20:22         ` Linus Torvalds
2005-11-18 20:28           ` H. Peter Anvin
2005-11-18 20:47             ` Linus Torvalds
2005-11-18 20:55               ` H. Peter Anvin
2005-11-18 20:51             ` Josef Weidendorfer
2005-11-18 21:01               ` Kay Sievers
2005-11-18 20:45           ` Ismail Donmez
2005-11-18 21:13             ` Linus Torvalds
2005-11-18 21:22               ` Ismail Donmez
2005-11-18 21:25             ` Junio C Hamano
2005-11-18 21:29               ` Ismail Donmez
2005-11-19  8:48                 ` Junio C Hamano
2005-11-18 20:55           ` Kay Sievers
2005-11-18 21:30             ` Linus Torvalds
2005-11-18 21:33               ` Ismail Donmez
2005-11-18 21:48               ` Linus Torvalds
2005-11-18 22:12                 ` H. Peter Anvin
2005-11-18 23:20                   ` Linus Torvalds
2005-11-18 23:34                     ` H. Peter Anvin
2005-11-18 23:53                       ` Andreas Ericsson
2005-11-19  1:22                         ` H. Peter Anvin
2005-11-19  8:49                           ` Andreas Ericsson
2005-11-19 10:58                             ` Johannes Schindelin
2005-11-18 23:57                       ` Linus Torvalds
2005-11-18 23:58                         ` H. Peter Anvin
2005-11-19  0:29                           ` Johannes Schindelin
2005-11-18 23:25                   ` Linus Torvalds
2005-11-19  0:34                     ` Johannes Schindelin
2005-11-19  0:37                     ` Junio C Hamano
2005-11-19  1:05                       ` Linus Torvalds
2005-11-19 10:31                         ` Junio C Hamano
2005-11-19 17:52                           ` Linus Torvalds
2005-11-20  1:16                             ` Johannes Schindelin
2005-11-20  3:10                               ` Linus Torvalds
2005-11-20  4:13                                 ` Johannes Schindelin
     [not found]                             ` <20051127025249.GA12286@vrfy.org>
2005-11-27  3:57                               ` Junio C Hamano
2005-11-27  4:13                                 ` Linus Torvalds
2005-11-28  0:39                                   ` [PATCH 2/3] mailinfo: allow -u to fall back on latin1 to utf8 conversion Junio C Hamano
2005-11-28  6:32                                     ` H. Peter Anvin
2005-11-28  9:21                                       ` Junio C Hamano
2005-11-27 16:18                                 ` Rss produced by git is not valid xml? Kay Sievers
2005-11-19  0:04       ` Johannes Schindelin
2005-11-20 18:28         ` H. Peter Anvin
2005-11-21  8:38           ` Johannes Schindelin
2005-11-21  9:28             ` H. Peter Anvin
2005-11-19  3:28       ` Junio C Hamano
2005-11-19  4:35         ` H. Peter Anvin
2005-11-19  6:31 Marco Costalba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).