We were trying to upgrade our app to use 15.6.0 Aspose.Words for Java version. In order to do that we performed compatibility check on all files, which are already in our system.
We found an issue which is a blocker for us, since we have plenty of files, which library can not process and fails on document load. And we really do hope that this issue will be fixed with some kind of interim version of library (nightly build or whatever you have there), so that we would not have to wait 1 month until it is fixed.
Following exception is thrown on document load:
Caused by: java.lang.IllegalStateException: XMLStreamException: Maximum attribute size limit (655360) exceeded
at asposewobfuscated.zz9A.zzZ(Unknown Source)
at asposewobfuscated.zz9A.read(Unknown Source)
at asposewobfuscated.zzO.zzY(Unknown Source)
at asposewobfuscated.zzO.zzR(Unknown Source)
at com.aspose.words.zzYWU.zzT(Unknown Source)
at com.aspose.words.zzZHV.zzL(Unknown Source)
at com.aspose.words.zzZHV.zzP(Unknown Source)
at com.aspose.words.zzZHV.zzS(Unknown Source)
at com.aspose.words.zzZHV.zzZ(Unknown Source)
at com.aspose.words.zzZHV.zzH(Unknown Source)
at com.aspose.words.zzZHV.zzS(Unknown Source)
at com.aspose.words.zzZHV.zzY(Unknown Source)
at com.aspose.words.zzZHV.zzY(Unknown Source)
at com.aspose.words.zz8O.zzP(Unknown Source)
at com.aspose.words.zz8G.zzM(Unknown Source)
at com.aspose.words.zz83.zzP(Unknown Source)
at com.aspose.words.zz95.zzR(Unknown Source)
at com.aspose.words.zz96.zzZZr(Unknown Source)
at com.aspose.words.zz96.zzZZs(Unknown Source)
at com.aspose.words.zz95.read(Unknown Source)
at com.aspose.words.zz8F.zzZZr(Unknown Source)
at com.aspose.words.zz8F.read(Unknown Source)
at com.aspose.words.Document.zzY(Unknown Source)
… 4 more
Caused by: javax.xml.stream.XMLStreamException: Maximum attribute size limit (655360) exceeded
at asposewobfuscated.zz4X.zzW(Unknown Source)
at asposewobfuscated.zz4X.zzY(Unknown Source)
at asposewobfuscated.zz57.zzZ(Unknown Source)
at asposewobfuscated.zz57.zzYl(Unknown Source)
at asposewobfuscated.zz57.zzYm(Unknown Source)
at asposewobfuscated.zz57.zzYXb(Unknown Source)
at asposewobfuscated.zz57.next(Unknown Source)
at asposewobfuscated.zz9A.read(Unknown Source)
It’s reproduced by snippet below from the attached file
License license = new License();
license.setLicense(“Aspose.Total.Java.lic”);
Document document = new Document(inputFile);