Closed GoogleCodeExporter closed 9 years ago
Original comment by aohelin
on 13 Jun 2013 at 7:56
$ echo '<foo bar=baz> lol </p> <><><<<< </foo> <p />hai >>' | bin/radamsa -m xp
-p od
-----------------------------8<-----------------------------
What I know so far:
- 'foo' is a tag of type full
+ attribute 'bar', e.g. 'baz'
- 'p' is a tag of type open-single
-----------------------------8<-----------------------------
<p /> <foo bar=baz> lol </p> <><><<<< </foo>hai >>
Original comment by aohelin
on 13 Jun 2013 at 9:40
Wrote a partial parser and some mutations similar to old tree mutator. Not
finished, but you could say radamsa groks xml already.
$ echo '<foo a=A b="trololo"><bar><baz>hai</bar> <x />a</foo> <q> foo' |
radamsa -m xp
<foo a=A b="trololo"><q><foo b="trololo">hai</foo> <x />a</foo>
<bar><baz><q></bar> foo
Original comment by aohelin
on 14 Jun 2013 at 2:56
Original issue reported on code.google.com by
aohelin
on 15 May 2013 at 12:20