AnantLabs / wwwsqldesigner

Automatically exported from code.google.com/p/wwwsqldesigner
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Error generating SQL #107

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Click Generate SQL button

What is the expected output? What do you see instead?
I get the following error :

XML error: Component returned failure code: 0x80004003 
(NS_ERROR_INVALID_POINTER) [nsIXSLTProcessor.importStylesheet]

What version of the product are you using? On what operating system?

Gentoo Linux

Please provide any additional information below.

Original issue reported on code.google.com by jeromebr...@gmail.com on 5 Sep 2010 at 6:15

GoogleCodeExporter commented 9 years ago
It seems to be the same as Issue 100.
But is there any solution ?

Original comment by jeromebr...@gmail.com on 5 Sep 2010 at 6:26

GoogleCodeExporter commented 9 years ago
Yes. You must configure your webserver to use "application/xml" or "text/xml" 
as a Content-type header for .xsl files.

Original comment by ondrej.zara on 7 Sep 2010 at 8:47

GoogleCodeExporter commented 9 years ago
I don't know how to do that with Lighttpd.

Original comment by jeromebr...@gmail.com on 29 Oct 2010 at 10:25

GoogleCodeExporter commented 9 years ago
http://redmine.lighttpd.net/wiki/1/Mimetype.assignDetails

Original comment by ondrej.zara on 30 Oct 2010 at 7:56

GoogleCodeExporter commented 9 years ago
I doesn't work.

Original comment by jeromebr...@gmail.com on 31 Oct 2010 at 10:58

GoogleCodeExporter commented 9 years ago
Doesn't work == ? Does the server truly return correct mime type (you can 
verify with wget/curl)? If you set a breakpoint on the line with your JS error 
(using a Firebug), how is the XSLT XML retrieved? Is the document you are 
fetching well-formed? Etc, etc, ... you must be more specific.

Original comment by ondrej.zara on 31 Oct 2010 at 7:30