Commits

shl...@52c325ad-5fd0-0310-8a0f-c43feede02cc  committed ac27484

Fixed the name reference in CompareML to die correctly.

  • Participants
  • Parent commits 64e0c53
  • Tags cpan-releases/0/0.2/0.2.2

Comments (0)

Files changed (4)

 Revision history for XML::CompareML
 
+0.2.2    Fri Feb 29 17:24:55 IST 2008
+    - Fixed the die in the last patch to reference the name correctly.
 0.2.1    Fri Feb 29 17:02:49 IST 2008
     - Implemented <url>, <fullname> and <vendor> elements for the <impl>.
 0.2.0    Tue Apr 12 15:09:04 IDT 2005
---- #YAML:1.0
+---
 name: XML-CompareML
-version: 0.2.0
+version: 0.2.1
+author:
+  - 'Shlomi Fish <shlomif@iglu.org.il>'
+abstract: A processor for the CompareML markup language
 license: bsd
-distribution_type: module
+resources:
+  license: http://www.opensource.org/licenses/bsd-license.php
 requires:
   Class::Accessor: 0
   IO::Scalar: 0
   Test::More: 0
   XML::LibXML: 0
-recommends: {}
-build_requires: {}
-conflicts: {}
 provides:
   XML::CompareML:
     file: lib/XML/CompareML.pm
-    version: 0.2.0
+    version: 0.2.1
   XML::CompareML::Base:
     file: lib/XML/CompareML/Base.pm
   XML::CompareML::DTD::Generate:
     file: lib/XML/CompareML/DocBook.pm
   XML::CompareML::HTML:
     file: lib/XML/CompareML/HTML.pm
-generated_by: Module::Build version 0.21
+generated_by: Module::Build version 0.2808
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.2.html
+  version: 1.2

File lib/XML/CompareML.pm

 
 use vars qw($VERSION);
 
-$VERSION = '0.2.1';
+$VERSION = '0.2.2';
 
 1; # End of XML::CompareML
 

File lib/XML/CompareML/HTML.pm

         my $vendor = $self->_impl_get_tag_text($impl, "vendor");
         if (!defined($url))
         {
-            die "URL not specified for implementation " . $self->_impl_get_name($_);
+            die "URL not specified for implementation $name.";
         }
         print {$fh} qq{<li><a href="} . CGI::escapeHTML($url) . qq{">} . 
             CGI::escapeHTML(defined($fullname) ? $fullname : $name) .