Commit Graph

5 Commits

Author SHA1 Message Date
Chris Hennes
f440fa9dbd 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
66cbcdec7c Qt5: 'QVariant qVariantFromValue(const T&)' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations] 2020-06-12 17:51:33 +02:00
wandererfan
044fe79549 SVG Refactor - minor cleanups 2019-06-11 15:46:46 -04:00
Tomas Pavlicek
bf5433a108 TechDraw: SVG export refactoring - Fix DLL export/import issue 2019-06-11 15:46:46 -04:00
Tomas Pavlicek
f4ca09f985 TechDraw: SVG export refactoring - All XML modifications via DOM 2019-06-11 15:46:46 -04:00