I’m doing an XSL on XML I get from serializing some business objects which is transformed into Aspose.Pdf XML at runtime. The first run through went fine, so I decided to start adding some more polished formatting. What I’m feeding into the BindXML method is still pretty basic, but when it tries to execute I get …
“An unhandled exception of type ‘System.ApplicationException’ occurred in aspose.pdf.dll”
"Additional information: The table is too large."
The C# code that’s executing is the following …
private void Form1_Load(object sender, System.EventArgs e)
{
Pdf pdfDoc = new Pdf();
pdfDoc.FontConfigFile = @“C:\Inetpub\wwwroot\Vega\xml\font-config.xml”;
pdfDoc.BindXML(@“C:\Data\Serialization.xml”, @“C:\Inetpub\wwwroot\Vega\xsl\aspose.xsl”);
pdfDoc.Save(@“C:\Data\aspose.pdf”);
}
When I break the execution, it actually puts the cursor on the closing bracket, so it’s not entirely clear where the error is occurring. If I do the transform in XML Spy, I get the following output (sorry if this is a really long post); I can’t really see how any of the tables contained in that XML would be too big for a PDF to handle. Is there something that I’m missing here? As an aside, you guys should really look into putting out some decent documentation on the XML side of the product, not just on the API.
Matt
<?xml version="1.0" encoding="UTF-8"?>
A?
Custom Data Feed
?is a compilation of data feeds to which a Gerson Lehrman Group client subscribes. Within each data feed group are indexes relating to a specific topic.
Gerson Lehrman Group continually captures data from The Council of Advisors to update its indexes. Index values should always be considered in conjunction with index volume. The volume measures
the number of Council Members that contributed to that particular index value. The index values are means unless otherwise specified. High and low values are dropped from all datasets. Index values
with volumes of less that 10 are not reported for that period. Please see the end of this report for other general information relating to the interpretation of these data.
test1
My new Group