pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

charlvn private pastebin - collaborative debugging tool What's a private pastebin?


Posted by Charl van Niekerk on Sat 22 Nov 06:42
report abuse | download | new post

  1. cvs diff: Diffing .
  2. Index: check
  3. ===================================================================
  4. RCS file: /sources/public/validator/httpd/cgi-bin/check,v
  5. retrieving revision 1.606
  6. diff -u -r1.606 check
  7. --- check       14 Nov 2008 16:22:51 -0000      1.606
  8. +++ check       22 Nov 2008 06:41:43 -0000
  9.  -872,8 +872,8 @@
  10.        $File->{Templates}->{Error}->param(fatal_missing_checker  => "HTML5 Validator");  
  11.        return $File;
  12.      }    
  13. -    my @nodelist = $xmlDOM->getElementsByTagName("messages");
  14. -    my $messages_node = $nodelist[0];
  15. +    my $nodelist = $xmlDOM->findnodes('/*');
  16. +    my $messages_node = $nodelist->get_node(1);
  17.      my @message_nodes =  $messages_node->childNodes;  
  18.      foreach my $message_node (@message_nodes) {
  19.        my $message_type = $message_node->localname;

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me so that I can delete my post