The principle of this module is very good, and it's very useful for simple XML. Having said that, round-tripping doesn't always work because:
* when encoding XML to JSON, the prolog <?xml ... ?> is encoded as @attributes that aren't bound to a valid root node (because they precede it), so that turning this JSON back to XML fails.
* xmlns declarations aren't encoded in the JSON, so that documents with multiple namespaces or unbound prefixes become invalid.
* the order of elements isn't alway retained.
I submitted a bug report about this five month ago, with no response. I note that the last upload of this module to CPAN was three years ago, so I doubt this will be addressed. Too bad as this could be a very useful module.
3 out of 3 found this review helpful. Was this review helpful to you? Yes No