You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: XML/Text mode changes XML (only when recognized as well-formed XML) #4189
Created a table with cell values like (copied directly from table cell:
<?xml version="1.0" encoding="UTF-8"?>
<xmlxmlns="http://www.wipo.int/classifications/ipc/masterfiles">
<notetype="none">
<noteParagraph>
<text>Auxiliary devices attached to machines of a different kind, e.g. harrows attached to ploughs, see relevant groups in <mrefendRef="A01B0047000000"ref="A01B0003000000" /> for the machines.</text>
</noteParagraph>
</note>
</xml>
What did you expect to see?
In both XML and Text modes the same value above.
What did you see instead?
Copied from value viewer (XML and Text mode alike):
<?xml version='1.0' encoding='UTF-8'?>
<xmlxmlns="http://www.wipo.int/classifications/ipc/masterfiles">
<notexmlns="http://www.wipo.int/classifications/ipc/masterfiles"type="none">
<noteParagraphxmlns="http://www.wipo.int/classifications/ipc/masterfiles">
<textxmlns="http://www.wipo.int/classifications/ipc/masterfiles">Auxiliary devices attached to machines of a different kind, e.g. harrows attached to ploughs, see relevant groups in <mrefxmlns="http://www.wipo.int/classifications/ipc/masterfiles"ref="A01B0003000000"endRef="A01B0047000000"/> for the machines.</text>
</noteParagraph>
</note>
</xml>
This only happens when value is recognized as well-formed XML. If I add a symbol at the beginning in the table cell, the value is no longer recognized as well-formed XML, and all fake "xmlns=..." are gone.
Activity