Codebase list libxstream-java / cdb1106
Removed the dependency on libstax-java Emmanuel Bourg 4 years ago
5 changed file(s) with 36 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
00 libxstream-java (1.4.11.1-2) UNRELEASED; urgency=medium
11
22 * Team upload.
3 * Removed the dependency on libstax-java
34 * Standards-Version updated to 4.5.0
45 * Use salsa.debian.org Vcs-* URLs
56
1919 libjoda-time-java,
2020 libkxml2-java,
2121 libmaven-bundle-plugin-java,
22 libstax-java,
2322 libstax2-api-java,
2423 libwoodstox-java,
2524 libxom-java,
3535 org.json json * * * *
3636 oro oro * * * *
3737 xmlpull xmlpull * * * *
38
39 stax stax
40 stax stax-api
0 Description: Removes the dependency on the com.bea.xml.stream package (not needed, allows us to drop the StAX dependency)
1 Author: Emmanuel Bourg <ebourg@apache.org>
2 Forwarded: not-needed
3 --- a/xstream/src/java/com/thoughtworks/xstream/io/xml/BEAStaxDriver.java
4 +++ b/xstream/src/java/com/thoughtworks/xstream/io/xml/BEAStaxDriver.java
5 @@ -10,8 +10,6 @@
6 */
7 package com.thoughtworks.xstream.io.xml;
8
9 -import com.bea.xml.stream.MXParserFactory;
10 -import com.bea.xml.stream.XMLOutputFactoryBase;
11 import com.thoughtworks.xstream.io.naming.NameCoder;
12
13 import javax.xml.stream.XMLInputFactory;
14 @@ -71,16 +69,4 @@
15 super(nameCoder);
16 }
17
18 - protected XMLInputFactory createInputFactory() {
19 - final XMLInputFactory instance = new MXParserFactory();
20 - instance.setProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES, Boolean.FALSE);
21 -// if (instance.isPropertySupported(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES))
22 -// throw new IllegalStateException("Should not support external entities now!");
23 - return instance;
24 - }
25 -
26 - protected XMLOutputFactory createOutputFactory() {
27 - return new XMLOutputFactoryBase();
28 - }
29 -
30 }
00 01-java7-compatibility.patch
1 02-disable-beastax-driver.patch