[SOLVED]QXmlStreamWriter::writeCharacters write ">" as &gt

  • As the title say and as written in the documentation :
    Writes text. The characters "<", "&", and """ are escaped as entity references "<", "&, and """. To avoid the forbidden sequence "]]>", ">" is also escaped as ">".

    How to prevent that and make QXmlStreamWriter::writeCharacters writes > not &gt ?

  • Moderators

    AFAIK, you can't. Characters are being escaped to make sure that the resulting XML code is valid.

  • ohhh o.O , wow i thought i'm in a pinch, but i verified with my boss that its ok to do so , apparently its ok becuase they do this too .
    thanks a lot .

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.