New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAD produces invalid XML #11136
Comments
From h.goebel@goebel-consult.deCreated by h.goebel@goebel-consult.deThis is a bug report for perl from h.goebel@goebel-consult.de, ----------------------------------------------------------------- MAD XML output is not alway valid: attributes are not always encoded Example: When MAD-dumping this script m!<error>(\d+).*<message>(.+?)</message>!s; this will give you (snippet): <pmop The value for the `pre` attribute is not encoded properly. According Please node: The same attribute value is encoded properly at other places, esp. when used in <mad_sv>-tags: <mad_sv key="=" val="<error>(\d+).*<message>(.+?)</message>"/> So here the encoding is correct. Perl Info
|
From @jkeenanOn Thu Feb 17 03:32:24 2011, h.goebel@goebel-consult.de wrote:
I'm probably not the only one who has to ask: "What does 'MAD' mean in Thank you very much. |
The RT System itself - Status changed from 'new' to 'open' |
From @tonycozOn Sun, Dec 18, 2011 at 04:39:34PM -0800, James E Keenan via RT wrote:
It's a (neglected) tool to dump the perl parse tree into something To use, build with -Dmad: ./Configure -Dmad ... Then run perl with PERL_XMLDUMP to the name of a file to dump to: PERL_XMLDUMP=somefilename perl ... There's a few problems: a) it's largely undocumented b) what few tests there are, are not run as part of the normal There's been some discussion of changing the output to JSON to make it Tony |
From @jkeenanOn Sun Dec 18 16:49:10 2011, tonyc wrote:
Thanks for your quick response. It leads me to ask: Should MAD be in Jim Keenan |
From @rjbs* James E Keenan via RT <perlbug-followup@perl.org> [2011-12-18T19:51:46]
It is there for $Larry's sake for the sake of testing a future five-to-six -- |
From chromatic@wgz.orgOn Sunday, December 18, 2011 at 06:13 PM, Ricardo Signes wrote:
What it does can only be done in the core. The parser throws away too much (If the parser kept such information, the story would be different.) -- c |
From @tonycozOn Sun, Dec 18, 2011 at 09:13:42PM -0500, Ricardo Signes wrote:
From memory, Jesse thought it could become useful. Tony |
From chris@prather.orgOn Sun, Dec 18, 2011 at 9:34 PM, Tony Cook <tony@develop-help.com> wrote:
I actually have experimental code somewhere that parses it into a -Chris |
From @obraOn Mon, Dec 19, 2011 at 01:34:12PM +1100, Tony Cook wrote:
I still think it could be useful. :)
-- |
From acme@astray.comOn Mon, Dec 19, 2011 at 11:48:35AM +1100, Tony Cook wrote:
It "generates" XML by a whole bunch of print statements - it was never At one point I considered replacing it with YAJL: http://lloyd.github.com/yajl/ ... but the task was quite huge, so I never quite started it. HTH, Leon. |
The MAD (Misc Attribute Decoration) build option has been gone for a while, according to perl5220delta. Is this ticket now obsolete and can therefore be closed? |
Yes |
Migrated from rt.perl.org#84314 (status was 'open')
Searchable as RT84314$
The text was updated successfully, but these errors were encountered: