RE: [libxml++] Bug in escaping of characters
- From: Murray Cumming <murrayc murrayc com>
- To: Loïc Joly <loic joly reportive com>
- Cc: libxmlplusplus-general lists sourceforge net
- Subject: RE: [libxml++] Bug in escaping of characters
- Date: Wed, 08 Mar 2006 10:23:46 +0100
Yes, that does seem odd. Here is a simpler test case:
#include "libxml++/libxml++.h"
int main()
{
xmlpp::Document doc;
xmlpp::Element* root = doc.create_root_node("root");
root->add_child_text("\"quoted\"");
doc.write_to_file("output.xml");
}
Which produces
<?xml version="1.0"?>
<root>"quoted"</root>
Maybe " and ' don't _need_ to be quoted. Hopefully someone else can
comment.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]