WriteXML generating incorrect file
Original Reporter info from Mantis: dgaspary @dgaspary
-
Reporter name: Daniel Gaspary
Original Reporter info from Mantis: dgaspary @dgaspary
- Reporter name: Daniel Gaspary
Description:
The Attached Program was created to generate the following XML:
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<script xlink:href="cool-script.js" type="text/ecmascript"/>
</svg>
The program finishes without problems. But the generated file misses the "xmlns:xlink=..." attribute and this causes an error when trying to open the file with Firefox or another browser.
On Other hand, an Execution error is raised if the line 20 is uncommented (setAttributeNS) and the lines 21, 22 and 23 are commented.
Mantis conversion info:
- Mantis ID: 22299
- OS: Linux
- OS Build: Ubuntu 11.04
- Build: 2012/02/12
- Platform: x86-64
- Version: 2.6.1