问题描述
我工作的一个Java SE应用程序了,分析Android应用程序。
I am working on a Java SE applicaiton that analyzes android applications.
有没有可用于验证AndroidManifest.xml中的任何架构/ DTD?
如果发现命名空间定义,如:
Is there any schema/DTD that can be used to verify an AndroidManifest.xml?If found namespace definitions like:
xmlns:android="http://schemas.android.com/apk/res/android"
但schemas.android.com不能解决一个acutal主机所以没有模式文件有: - (
But schemas.android.com does not resolve to an acutal host so no schema file there :-(
请注意:我做的不可以想做Android上的验证作为一个平台
Note: I do not want to do the validation on Android as a platform.
推荐答案
有Android的XML ,你必须relly其他工具,可以做验证,例如像没有DTD /模式纳雷什说。
There are no DTD/schemas for Android XML, you have to relly on other tools which can do the validation, for example like Naresh explains.
另请参阅\"Where对于XML文件的架构上的Android项目?
这篇关于验证AndroidManifest.xml文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!