Bug#569668: davmail & src/java/com/ctc/wstx/sr/StreamScanner.java
Hi,
>> src/java/com/ctc/wstx/sr/StreamScanner.java seems part of StAX2 API,
>> licensed under LGPL-2.1+ or Apache-2.0.
>
> Does is say
>
> davmail should depend on the StAX2 API
Not straightforward as the file in davmail source is patched, see below.
> or does it say in debian/copyright should
>
> Files: src/java/com/ctc/wstx/sr/StreamScanner.java
> License: GPL-2
>
> be changed?
I just fixed the copyright file :
http://anonscm.debian.org/gitweb/?p=pkg-java/davmail.git;a=commitdiff;h=838378e6624b0c742173b1530c8cc3338c61bfb1
I'll prepare another upload one I have time to test my build with
javamail packages (only tested with standalone mail.jar for now).
Thanks for reviewing,
Alex
--
The StreamScanner.java diff :
--- src/java/com/ctc/wstx/sr/StreamScanner.java 2012-04-24
06:38:20.000000000 +0200
+++ /home/niol/oss/scratch/debian/davmail/davmail.git/src/java/com/ctc/wstx/sr/StreamScanner.java
2012-10-01 10:34:27.042390883 +0200
@@ -2383,11 +2383,11 @@
if (value == 0) {
throwParseError("Invalid character reference: null
character not allowed in XML content.");
}
- // XML 1.1 allows most other chars; 1.0 does not:
- if (!mXml11 &&
- (value != 0x9 && value != 0xA && value != 0xD)) {
- reportIllegalChar(value);
- }
+ // XML 1.1 allows most other chars; 1.0 does not: However
Exchange sends such chars with XML 1.0
+ //if (!mXml11 &&
+ // (value != 0x9 && value != 0xA && value != 0xD)) {
+ // reportIllegalChar(value);
+ //}
}
}
Reply to: