ondras / wwwsqldesigner

WWW SQL Designer, your online SQL diagramming tool
https://sql.toad.cz/?keyword=online_library
BSD 3-Clause "New" or "Revised" License
2.86k stars 722 forks source link

can't load xml #292

Open chaos44 opened 4 years ago

chaos44 commented 4 years ago

load XML does not work. Please help me.

ondras commented 4 years ago

What did you try? What happened? Can you send some more detailed description, screenshots, browser console logs, ...?

chaos44 commented 4 years ago
1

my steps:

  1. click 「LOAD XML」
  2. paste XML copied from 「SAVE XML」 3.click 「ok」

but nothing happened.

ondras commented 4 years ago

Thanks @chaos44 for the picture! Can you please show the XML, host the file somewhere?

chaos44 commented 4 years ago

here is the file I create recently. May it helpful. xml.txt

ondras commented 4 years ago

I just loaded that file without any issues.

Can you please:

1) open your browser's devtools (accessible typically using the F12 key) 2) switch to the devtools Console tab 3) try to load the XML 4) report whethere there are any errors shown in the Console?

chaos44 commented 4 years ago

I am sorry for too late. it didn't appear any error after I load the xml. but before I load it , the error is displayed in console:(chrome)


[FORGE] 'Starting content plugin' all.js:1180 [FORGE] 'Handler added' 3?keyword=default:1 Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist. all.js:1180 [FORGE] 'Document ready' all.js:1180 [FORGE] 'obtained document info in cs'

1

and I also tried it in firefox, there is not any errors just a warning

2

it means: This site uses the effect of fixing the position against scrolling. This may not work correctly with ajax(Asynchronous communication) ,you can see more detail in https://developer.mozilla.org/docs/Mozilla/Performance/ScrollLinkedEffects

and load xml both not worked in chrome and firefox.

ondras commented 4 years ago

I just tried your XML file against https://ondras.zarovi.cz/sql/demo/, it worked flawlessly in Firefox and Chrome as well.

What is "[FORGE]"? I do not have these in my Console; it is completely empty.

chaos44 commented 4 years ago

I also don't know what is means. Maybe the error or the warning caused by version of my browser. I use「save in my browser」and 「save in server」now and it works good. thank you for creating this awesome tool and for your kindness.

AleBoi commented 4 years ago

Could it be that the client interface is not clear enough? I pasted my XML file and pressed "OK" button. Nothing happened (no error messages in the Dev console). Then I pasted the file again and pressed "Load XML" button and got what I expected. Pressing "Load XML" button may give user a warning if the input area is empty (and even highlight it). Pressing "OK" button with some text in the input area may also show some message: "OK what?" Other than that, the site is a very useful tool. Thank you!