lkml.org 
[lkml]   [2005]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 15/16] [DocBook] factor out escaping of XML special characters
    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
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2005-03-22 14:10    [from the cache]
    ©2003-2011 Jasper Spaans. Advertise on this site