File: fix-pom.patch

package info (click to toggle)
owasp-java-html-sanitizer 0.1%2Br88-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 400 kB
  • sloc: java: 4,195; xml: 37; makefile: 15
file content (21 lines) | stat: -rw-r--r-- 1,199 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: The upstream POM file is badly formatted and cannot 
 be processed by maven in is raw form.
Author: James Page <james.page@ubuntu.com>
Forwarded: no

Index: owasp-java-html-sanitizer-0.1+r88/pom.xml
===================================================================
--- owasp-java-html-sanitizer-0.1+r88.orig/pom.xml	2012-03-14 11:53:19.000000000 +0000
+++ owasp-java-html-sanitizer-0.1+r88/pom.xml	2012-03-14 11:54:42.902269301 +0000
@@ -1,9 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <!-- See http://maven.apache.org/ref/3.0.3/maven-model/maven.html for details
   - of the meanings of various elements.
   - See the README in the maven directory for an explanation of the
   - strange syntactic features in this file.
   -->
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <artifactId>owasp-java-html-sanitizer</artifactId>
   <groupId>owasp-java-html-sanitizer</groupId>