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

Flexible parsing #68

Closed
WebSabaki opened this issue Jan 19, 2018 · 3 comments
Closed

Flexible parsing #68

WebSabaki opened this issue Jan 19, 2018 · 3 comments

Comments

@WebSabaki
Copy link

WebSabaki commented Jan 19, 2018

Good afternoon.

Would it be possible to get a flexible manifest parsing.

For instance

a. <manifest versionCode="0x14" versionName="1.0.20" package="XXX" versionCode="20" versionName="1.0.20" platformBuildVersionCode="23" platformBuildVersionName="6.0-2704002">

duplicate versionCode and version name but package found for instance on apkpure

b. <meta-data name="du_keys" value="{"lockscreen":[{"pid":"14395"}],"list":[],"native":[{"pid":"10569"},{"pid":"10570"}]}">

seems to be parsed okay (on apkpure) but failed at value="{" .

Fatal Error 65: attributes construct error Line: 126 Column: 40 ----------------------------------------^ Fatal Error 73: Couldn't find end of Start Tag meta-data line 126 Line: 126 Column: 40 -----------------^

@tufanbarisyildirim
Copy link
Owner

tufanbarisyildirim commented Apr 25, 2020

This does not look like valid XML (unescaped quotes etc) does that work on android? Can I have an example APK? @WebSabaki

@tufanbarisyildirim
Copy link
Owner

We may have exception for JSON values and parse until json end. That could be the only case we accept and invalid XML. PR appreciated.

@tufanbarisyildirim
Copy link
Owner

I think #100 solves it @WebSabaki

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

No branches or pull requests

2 participants