Hi Team,
Iam getting java.net.URISyntaxException: Illegal character in query at index 54 exception when iam trying to send an wordml document as string to the Document constructor. Please find the following code used:
String input = getWordml(); \ getting wordml from my code and its written type is string
com.aspose.words.Document doc = new Document(input); \passing the string input to the document object.
While debug, when the control come here it throws the above exception and exists.
I have attached the sample wordml document which i tried to passed to create the Document object herewith for your reference.
Please give suggestions to get rid of this URISyntaxException.
Note : I am using aspose version : 15.1.0
The error trace :
at java.net.URI$Parser.fail(URI.java:2829)
at java.net.URI$Parser.checkChars(URI.java:3002)
at java.net.URI$Parser.parseHierarchical(URI.java:3092)
at java.net.URI$Parser.parse(URI.java:3044)
at java.net.URI.(URI.java:595)
at asposewobfuscated.zz9W.zzX6(Unknown Source)
at asposewobfuscated.zz9W.zzX8(Unknown Source)
at asposewobfuscated.zz9W.(Unknown Source)
at asposewobfuscated.zzLN.zzQ(Unknown Source)
at asposewobfuscated.zzLN.zzZ6(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
Thanks,
Jagadeeswari.