相关疑难解决方法(0)

Android核心库错误

当我包含jaxp.jar时,我收到以下错误 -

trouble processing "javax/xml/XMLConstants.class":
[2009-05-08 16:53:18 - TestProject] 
Attempt to include a core VM class in something other than a core library.
It is likely that you have attempted to include the core library from a desktop
virtual machine into an application, which will most assuredly not work. If
you really intend to build a core library -- which is only appropriate as
part of creating a full virtual machine binary, as opposed to compiling an
application -- then …
Run Code Online (Sandbox Code Playgroud)

android

20
推荐指数
2
解决办法
2万
查看次数

没有解决方案可以在 Android 中根据 XSD 验证 XML

我正在尝试根据 Android 设备上的 XSD 验证 XML 文件。

我用谷歌搜索了很多,找到了一些解决方案,例如xerces-for-android。在堆栈溢出中我发现了一些像这样的页面,建议避免javax.xml。验证并为此目的使用 Xerces。

我在不同的地方进行了测试Android APIs(17, 20,25),但不幸的是我没有取得任何成功。

您能帮助我并建议一种替代方法吗?

xml validation xsd xerces xmlschemaset

5
推荐指数
1
解决办法
1636
查看次数

标签 统计

android ×1

validation ×1

xerces ×1

xml ×1

xmlschemaset ×1

xsd ×1