Skip to content
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

codegen/dumper.xsl has missing type support (xml and uint32) #19

Open
rhdunn opened this issue Dec 20, 2011 · 0 comments
Open

codegen/dumper.xsl has missing type support (xml and uint32) #19

rhdunn opened this issue Dec 20, 2011 · 0 comments
Labels

Comments

@rhdunn
Copy link

rhdunn commented Dec 20, 2011

When using the -d command to dump swf files, the output does not support xml (e.g. RDF metadata) and uint32 (e.g. pushing stack values).

The xml type can be fixed by treating it as a string:

-<xsl:template match="string" mode="dump">
+<xsl:template match="string|xml" mode="dump">

The uint32 type (and other missing types) can be handled through the printf logic by providing a default template:

-<xsl:template match="byte|word|byteOrWord|integer|fixedpoint|fixedpoint2|bit|u30|s24" mode="dump">
+<xsl:template match="*" mode="dump">

This addresses these issues with the dump output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant