Since schemanode.py uses standard python string formatter to build schema XML,
the percent sign must never ever ever appear in YANG content.
Take the included yang file for example. I used the percent sign (%) as a units
statement argument and the dsdl plugin self-destructed with
"schemanode.py", line 189, in serialize
self.serialize_rng_children()))
ValueError: unsupported format character '"' (0x22) at index 70
SVN rev821.
You need to escape percent signs inside YANG content; "%" -> "%%".
Original issue reported on code.google.com by jernej.t...@gmail.com on 29 May 2013 at 8:07
Original issue reported on code.google.com by
jernej.t...@gmail.com
on 29 May 2013 at 8:07Attachments: