Hi Sriman,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thank you for the feedback.
I am able to notice the issue you mentioned in the Aspose.Pdf for Java v3.0.1. Your issue has been registered in our issue tracking system with issue id: PDFJAVA-32402 . We will notify you via this forum post regarding any updates against your issue.
Sorry for the inconvenience,
sulthu
December 7, 2011, 4:44am
22
If there is a "<" symbol in the xml then its failing. Please take care of this issue too.
[Fatal Error] :1:155: The content of elements must consist of well-formed character data or markup.
org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:249)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
at aspose.pdf.xml.Acl.c(SourceFile:451)
at aspose.pdf.xml.Acl.f(SourceFile:2354)
at aspose.pdf.xml.Acn.a(SourceFile:445)
at aspose.pdf.xml.Aaj.a(SourceFile:442)
mzaikin
December 16, 2011, 2:16am
23
XML has a special set of characters that cannot be used in normal XML strings. These characters are: & - & < - < > - > " - " ’ - ’ For example, the following XML string is invalid: IBM & Microsoft Whereas the following is valid XML: IBM & Microsoft —Note that we have replaced ‘&’ with ‘&’ in the second XML string which makes it valid.
mzaikin
December 16, 2011, 3:06am
24
As for problem with spaces in between lines...
The problem is NOT in Aspose.PDF . The big gaps presents due to a lot of unnecessary
tags in the section with text. If you want to use some offset between lines - the single
tag before each required line would be enough. If you do NOT want to use any offsets between lines than tag can be used instead of
.