attribute loses data when copying document
Status: Beta
Brought to you by:
psychogenic
XML::Mini allows documents to be created where an
attribute contains an embedded double quote. When this
happens, the resulting XML that is output is not well
formed. On top of this, if the resulting XML is then fed to
the parser to create a new document, the data after the
embedded double quotes is lost. I have attached a perl
program that reproduces two bugs, the first one being this
bug. If this fails to reproduce the bug, please let me
know and I will send you a bundle of my perl distro along
with information about my OS and installed libraries. The
attached code will also be attached to a 2nd ticket
documenting the 2nd bug.
-Theron
Code to illustrate two bugs, this one and another.