Commit Graph

5 Commits

Author SHA1 Message Date
Chris Hennes
475f7049c5 Add the standard-defined "xml" namespace if it is not specified
The XML standard stipulates:
The prefix xml is by definition bound to the namespace name http://www.w3.org/XML/1998/namespace. It MAY, but need not, be declared, and MUST NOT be bound to any other namespace name. Other prefixes MUST NOT be bound to this namespace name, and it MUST NOT be declared as the default namespace.

If the document does not explicitly include this namespace, it is added. This prevents errors due to the use of the namespace in some imported SVG files. In debug builds those errors emit warning messages, and in Windows debug builds those errors cause an abort() to be called.
2021-01-24 22:35:27 -06:00
wmayer
d456b1021e Qt5: 'QVariant qVariantFromValue(const T&)' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations] 2020-06-12 17:51:33 +02:00
wandererfan
92d92476ef SVG Refactor - minor cleanups 2019-06-11 15:46:46 -04:00
Tomas Pavlicek
f925fa45af TechDraw: SVG export refactoring - Fix DLL export/import issue 2019-06-11 15:46:46 -04:00
Tomas Pavlicek
a562f6a129 TechDraw: SVG export refactoring - All XML modifications via DOM 2019-06-11 15:46:46 -04:00