DGN -> SVG conversion issue
Posted: Tue May 07, 2019 11:54 am
Hello,
I'm converting a DGN file to SVG using QCAD command like tool.
Qcad Version: 3.16.5.0 (3.16.5)
I see that result SVG file contains an XML comment sections for each text label in source file.
For example, a DGN text label "400A" will appear in SVG file as comment like: "<!-- Text: 400A -->"
My issue is: when DGN text label contains two dashes "--", after conversion SVG file will contain this: "<!-- Text: -- -->"
This conflicts with W3C XML standard: https://www.w3.org/TR/2008/REC-xml-2008 ... c-comments, which prohibits placing two dashes into an comment.
My question is: how can I avoid such situation? Is there some adjustments to a js file during conversion, or any other ways to get rid of two dashed into XML comment?
Thanks.
I'm converting a DGN file to SVG using QCAD command like tool.
Qcad Version: 3.16.5.0 (3.16.5)
I see that result SVG file contains an XML comment sections for each text label in source file.
For example, a DGN text label "400A" will appear in SVG file as comment like: "<!-- Text: 400A -->"
My issue is: when DGN text label contains two dashes "--", after conversion SVG file will contain this: "<!-- Text: -- -->"
This conflicts with W3C XML standard: https://www.w3.org/TR/2008/REC-xml-2008 ... c-comments, which prohibits placing two dashes into an comment.
My question is: how can I avoid such situation? Is there some adjustments to a js file during conversion, or any other ways to get rid of two dashed into XML comment?
Thanks.