Error Opening Aspose.Words Generated Files in Firefox 1.5.0.1


#1

Hi,

I’m getting:

XML Parsing Error: not well-formed
Location: http://localhost/aspose.word.demos.visualbasic/Viewer.aspx?demoName=DinnerInvitation&outputFormat=DOC
Line Number 1, Column 1:

When I try to open an Aspose generated file. Response.End() isn’t doing the trick.

I ran an http trace on the output and I think the problem is the content type is coming out as:

application\msword

and it really should be:

application/msword

Can someone please confirm this and lemme know if there are any workarounds aside from generating the file and saving it on server and the redirecting to that file (which works).

Thanks!


Shawn


#2

Hi,

Of course the workaround is to put Response.ContentType = “application/msword” immediately SAVE the statement :blush:

Anyway, I think it’s still a bug that the DLL is setting the content type to application\msword instead of the property type.

Thanks!


Shawn


#3

Hi Shawn,

Thanks for the report! This will be fixed in the next release.