kokizzu / wwwsqldesigner

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

Save xml to save to file #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Click "Save xml" fills the text area with the resulting xml

What is the expected output? What do you see instead?
It would be nice (although i believe it would also require a server side
backend,) to propose the resulting xml to be downloaded (and therefore no
need to copy / paste the xml).
Also the description of the db tables and fields are concatenated making
the xml a huge one line string which is heavy for buffers of most IDEs out
there : simple work around : new line on every closing tag!

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

Original issue reported on code.google.com by kevin.sa...@gmail.com on 8 Jul 2009 at 1:45

GoogleCodeExporter commented 9 years ago
Output XML will be always available in a "copy & paste" manner. Offering a file 
for
download is too server-side-ish, something which is against WWWSQLDesigner's 
primary
design goals.

Newlines after tags are a good idea. albeit it unnecessarily increases the size 
of
data. XML is primarly created for machine processing, there is no need to open 
it in
any IDE.

Original comment by ondrej.zara on 9 Jul 2009 at 7:32

GoogleCodeExporter commented 9 years ago

Original comment by ondrej.zara on 9 Jul 2009 at 7:37

GoogleCodeExporter commented 9 years ago
when copying long lines, it really does fill the buffer and make the whole 
system
really slow (at least under linux)! I've patched the js file add line breaks on 
every
line and it's much faster now.

Original comment by kevin.sa...@gmail.com on 9 Jul 2009 at 10:27

GoogleCodeExporter commented 9 years ago
Fixed in revision 46.

Original comment by ondrej.zara on 9 Jul 2009 at 11:48