genodelabs/genode — Issue #70: Proper quoting for XML parser
Author: nfeske
Created: 2012-01-09 13:48:52+00:00
State: open
Labels: cleanup

We should make our XML parser compliant to the standard in order to follow the principle of least surprise for users of the framework. Currently, our 'Xml_node' implementation does not support quoting but just copies-out plain character strings from the original XML data using 'strncpy'. Hence, things like """ cannot be expressed. I expect that this derivation from the standard will repeatedly bother people who stumble over the same issue.

The support for proper quoting is actually not too hard to implement. The occurrences of 'strncpy' in 'xml_node.h' would have to be replaced by an XML-specific string decoding function.