Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid svg File when saving diagramm #68

Open
sjib opened this issue Dec 23, 2022 · 0 comments
Open

Invalid svg File when saving diagramm #68

sjib opened this issue Dec 23, 2022 · 0 comments

Comments

@sjib
Copy link

sjib commented Dec 23, 2022

When saving a diagramm as svg I get an invalid svg file.

uml_save_diagramm_as_svg

In opening with a browser (Microsoft Edge / Firefox) I get an error:

uml_save_diagramm_as_svg_3

XML-Verarbeitungsfehler: nicht wohlgeformt Adresse: file:///C:/Daten/uml_diagramm.svg Zeile Nr. 16, Spalte 167: <desc>Creator: FreeHEP Graphics2D Driver Producer: org.freehep.graphicsio.svg.SVGGraphics2D Revision Source: Date: Freitag, 23. Dezember 2022 um 14:10:40 Mitteleurop� 281.125 Q 425.560546875 282.078125 424.857421875 282.609375 Q 424.154296875 283.140625 423.076171875 283.140625 Q 421.716796875 283.140625 420.904296875 282.296875 Q 420.107421875 281.453125 420.107421875 279.9375 Q 420.107421875 278.375 420.919921875 277.515625 Q 421.732421875 276.640625 423.013671875 276.640625 Q 424.263671875 276.640625 425.044921875 277.484375 Q 425.841796875 278.328125 425.841796875 279.875 Q 425.841796875 279.96875 425.841796875 280.15625 L 421.201171875 280.15625 Q 421.263671875 281.1875 421.779296875 281.734375 Q 422.294921875 282.265625 423.076171875 282.265625 Q 423.654296875 282.265625 424.060546875 281.96875 Q 424.482421875 281.65625 424.716796875 281 z M 421.263671875 279.296875 L 424.732421875 279.296875 Q 424.669921875 278.5 424.341796875 278.109375 Q 423.826171875 277.5 423.029296875 277.5 Q 422.294921875 277.5 421.794921875 277.984375 Q 421.310546875 278.46875 421.263671875 279.296875 z M 431.203125 280.71875 L 432.234375 280.859375 Q 432.0625 281.921875 431.359375 282.53125 Q 430.65625 283.140625 429.640625 283.140625 Q 428.359375 283.140625 427.578125 282.3125 Q 426.8125 281.46875 426.8125 279.90625 Q 426.8125 278.90625 427.140625 278.15625 Q 427.484375 277.390625 428.15625 277.015625 Q 428.84375 276.640625 429.65625 276.640625 Q 430.65625 276.640625 431.296875 277.15625 Q 431.953125 277.65625 432.140625 278.609375 L 431.109375 278.765625 Q 430.96875 278.140625 430.59375 277.828125 Q 430.21875 277.5 429.6875 277.5 Q 428.890625 277.5 428.390625 278.078125 Q 427.890625 278.640625 427.890625 279.875 Q 427.890625 281.140625 428.375 281.703125 Q 428.859375 282.265625 429.625 282.265625 Q 430.25 282.265625 430.65625 281.890625 Q 431.078125 281.515625 431.203125 280.71875 z M 433.140625 283 L 433.140625 274.40625 L 434.1875 274.40625 L 434.1875 277.484375 Q 434.921875 276.640625 436.046875 276.640625 Q 436.75 276.640625 437.25 276.921875 Q 437.765625 277.1875 437.984375 277.671875 Q 438.203125 278.140625 438.203125 279.0625 L 438.203125 283 L 437.15625 283 L 437.15625 279.0625 Q 437.15625 278.265625 436.8125 277.90625 Q 436.46875 277.546875 435.84375 277.546875 Q 435.375 277.546875 434.953125 277.796875 Q 434.546875 278.03125 434.359375 278.453125 Q 434.1875 278.859375 434.1875 279.59375 L 434.1875 283 L 433.140625 283 z M 444.064453125 281 L 445.158203125 281.125 Q 444.908203125 282.078125 444.205078125 282.609375 Q 443.501953125 283.140625 442.423828125 283.140625 Q 441.064453125 283.140625 440.251953125 282.296875 Q 439.455078125 281.453125 439.455078125 279.9375 Q 439.455078125 278.375 440.267578125 277.515625 Q 441.080078125 276.640625 442.361328125 276.640625 Q 443.611328125 276.640625 444.392578125 277.484375 Q 445.189453125 278.328125 445.189453125 279.875 Q 445.189453125 279.96875 445.189453125 280.15625 L 440.548828125 280.15625 Q 440.611328125 281.1875 441.126953125 281.734375 Q 441.642578125 282.265625 442.423828125 282.265625 Q 443.001953125 282.265625 443.408203125 281.96875 Q 443.830078125 281.65625 444.064453125 281 z M 440.611328125 279.296875 L 444.080078125 279.296875 Q 444.017578125 278.5 443.689453125 278.109375 Q 443.173828125 277.5 442.376953125 277.5 Q 441.642578125 277.5 441.142578125 277.984375 Q 440.658203125 278.46875 440.611328125 279.296875 z"/> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------^

Problem scheint der Umlaut ä in Mitteleuropäische zu sein. Wenn ich das im Texteditor im svg korrigiere auf ae statt ä ist alles ok und ich kann die Datei öffnen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant