dgis / xsddiagram

XSD Diagram is a free Xml Schema Definition (XSD) diagram viewer for Windows written in c# Framework.NET 2.0
http://regis.cosnier.free.fr/?page=XSDDiagram&nomenu
GNU General Public License v2.0
224 stars 52 forks source link

could't open xsd file #3

Closed emezeta closed 10 years ago

emezeta commented 10 years ago

I'm using xsddiagram from debian 7.4 stable distribution. When I try to open xsd file, I get the following error message:

"There is an error in XML document. Read by order only possible for encoded/bare format".

I try to get some verbosity by invoking xsddiagram form from the command line like this:

$ xsddiagram  CFEType_v1.27.xsd

but gui application starts instead and same message came out.

Note: xsddiagram windows version 0.16 doesn't fail despite running on wine.

The xsd file and its deps could be found at http://www.efacturauy.com/xsd_dgi/html/CFEType_v1.27.html http://www.efacturauy.com/xsd_dgi/default.html If you prefer I can post the raw xml file here.

Greetings

dgis commented 10 years ago

Hi,

I copy all your xsd files in a folder, and with the last Ubuntu, xsddiagram version 0.16 works quite well. If Debian 7.4 uses xsddiagram version 0.10 with mono version > 2.6, I'm aware that there is a big issue. But anyway, version 0.10 is a very old version (you can check the version in the About dialog). Version 0.16 has been sent to Debian and Ubuntu at the start of the last year. May be you could use the version 0.16 that you have donwload, but on Debian with the mono command: $ mono XSDDiagram.exe CFEType_v1.27.xsd This is not wine but the mono VM (like the java VM but for .NET). Actually, the command "xsddiagram" is a script that execute the above operation!

Best regards, Regis

emezeta commented 10 years ago

That's good for me. It works! Thank you Regis