public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Martin Waitz <tali@admingilde.org>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 15/16] [DocBook] factor out escaping of XML special characters
Date: Sun, 6 Mar 2005 00:17:53 +0100	[thread overview]
Message-ID: <20050305231753.GB4653@admingilde.org> (raw)
In-Reply-To: <200503031043.j23AhHan020786@faui31y.informatik.uni-erlangen.de>

[-- Attachment #1: Type: text/plain, Size: 658 bytes --]

hoi :)

well, this patch is broken :(

On Thu, Mar 03, 2005 at 11:43:17AM +0100, Martin Waitz wrote:
> --- a/scripts/kernel-doc	Thu Mar  3 11:43:21 2005
> +++ b/scripts/kernel-doc	Thu Mar  3 11:43:21 2005
> @@ -1624,6 +1624,15 @@
>      }
>  }
>  
> +# replace <, >, and &
> +sub xml_escape($) {
> +	shift;

this must be: $_ = shift;

> +	s/\&/\\\\\\amp;/g;
> +	s/\</\\\\\\lt;/g;
> +	s/\>/\\\\\\gt;/g;
> +	return $_;
> +}
> +
>  sub process_file($) {
>      my ($file) = "$ENV{'SRCTREE'}@_";
>      my $identifier;


this is also fixed in my BK repository.
(I'll send mail with other updates to lkml later)

-- 
Martin Waitz

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-03-06  8:07 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-03 10:28 Documentation update Martin Waitz
2005-03-03 10:37 ` [PATCH 1/16] DocBook: remove reference to drivers/net/net_init.c Martin Waitz
2005-03-03 10:37 ` [PATCH 2/16] DocBook: allow preprocessor directives between kernel-doc and function Martin Waitz
2005-03-03 10:41 ` [PATCH 1/16] DocBook: remove reference to drivers/net/net_init.c Martin Waitz
2005-03-03 10:41 ` [PATCH 2/16] DocBook: allow preprocessor directives between kernel-doc and function Martin Waitz
2005-03-03 10:41 ` [PATCH 3/16] DocBook: update function parameter description in network code Martin Waitz
2005-03-03 10:41 ` [PATCH 4/16] DocBook: update function parameter description in block/fs code Martin Waitz
2005-03-03 10:41 ` [PATCH 5/16] DocBook: update function parameter description in USB code Martin Waitz
2005-03-03 10:41 ` [PATCH 6/16] DocBook: fix function parameter descriptin in fbmem Martin Waitz
2005-03-03 10:42 ` [PATCH 7/16] DocBook: new kernel-doc comments for might_sleep & wait_event_* Martin Waitz
2005-03-03 10:42 ` [PATCH 8/16] DocBook: convert template files to XML Martin Waitz
2005-03-03 10:42 ` [PATCH 9/16] DocBook: s/sgml/xml/ in scripts/kernel-doc Martin Waitz
2005-03-03 10:42 ` [PATCH 10/16] DocBook: move kernel-doc comment next to function Martin Waitz
2005-03-03 10:42 ` [PATCH 11/16] DocBook: s/sgml/xml/ in Documentation/DocBook/Makefile Martin Waitz
2005-03-03 10:42 ` [PATCH 12/16] DocBook: fix XML in templates Martin Waitz
2005-03-03 10:43 ` [PATCH 13/16] [DocBook] kernel-docify comments Martin Waitz
2005-03-03 10:43 ` [PATCH 14/16] [DocBook] add kfifo to kernel-api docs Martin Waitz
2005-03-03 10:43 ` [PATCH 15/16] [DocBook] factor out escaping of XML special characters Martin Waitz
2005-03-05 23:17   ` Martin Waitz [this message]
2005-03-03 10:43 ` [PATCH 16/16] [DocBook] escape declaration_purpose Martin Waitz
2005-03-03 11:15 ` Documentation update Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050305231753.GB4653@admingilde.org \
    --to=tali@admingilde.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox