The following commit has been merged in the master branch:
commit 1f9639328dbfba0194f37ac1ff505b3f4070918b
Author: Adam D. Barratt <[EMAIL PROTECTED]>
Date:   Sat Nov 29 15:36:51 2008 +0000

    Make the output well-formed by using "</tag>" instead of "</tag"
    
    * lib/Lintian/Output/XML.pm:
      + Add a missing angle bracket to the closing "tag" tag, so that
        the XML is well-formed.

diff --git a/debian/changelog b/debian/changelog
index be61ffb..920c05c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,11 +12,15 @@ lintian (2.1.1) unstable; urgency=low
       better match executions of the command rather than the use of its name
       in pattern matching expressions.  (Closes: #499847)
 
-  * lib/Lab.pm:
-    + [FL] Fix breakage of populate_with_dist() I introduced in 2.1.0.
   * lib/Lintian/Output.pm:
     + [ADB] Make sure the default list of colours is initialised before
       attempting to use it.  Thanks, gregor herrmann.  (Closes: #507241)
+  * lib/Lintian/Output/XML.pm:
+    + [ADB] Add a missing angle bracket to the closing "tag" tag, so that
+      the XML is well-formed.
+
+  * lib/Lab.pm:
+    + [FL] Fix breakage of populate_with_dist() I introduced in 2.1.0.
 
  -- Adam D. Barratt <[EMAIL PROTECTED]>  Fri, 28 Nov 2008 21:47:33 +0000
 
diff --git a/lib/Lintian/Output/XML.pm b/lib/Lintian/Output/XML.pm
index 7913f17..e86f81d 100644
--- a/lib/Lintian/Output/XML.pm
+++ b/lib/Lintian/Output/XML.pm
@@ -32,7 +32,7 @@ sub print_tag {
                      qq{<tag severity="$tag_info->{severity}" 
certainty="$tag_info->{certainty}"},
                      'flags="'.(exists($tag_info->{experimental}) ? 
'experimental' : ''),
                      ($tag_info->{overridden}{override} ? 'overridden' : 
'').'"',
-                     
qq{name="$tag_info->{tag}">}.encode_entities("@$information","<>&\"'").qq{</tag},
+                     
qq{name="$tag_info->{tag}">}.encode_entities("@$information","<>&\"'").qq{</tag>},
        );
 }
 

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to