久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Android 架構(gòu)驗(yàn)證

Android schema validation(Android 架構(gòu)驗(yàn)證)
本文介紹了Android 架構(gòu)驗(yàn)證的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

問(wèn)題描述

我已經(jīng)創(chuàng)建了一個(gè) XML 并且我有一個(gè) XSD 文件,并且我必須使用此架構(gòu)驗(yàn)證 xml,我可以獲得任何示例嗎?我必須將 xsd 文件放在我的項(xiàng)目中,以便我可以使用該架構(gòu)進(jìn)行驗(yàn)證.

I have created an XML and i am having an XSD file and i have to validate the xml with this schema ,can i get any example for doing that . And where i have to place the xsd file in my project so that i can validate with that schema.

推薦答案

根據(jù)documentation javax.xml.validation 從 API 級(jí)別 8 開(kāi)始支持.

According to the documentation javax.xml.validation is supported since API level 8.

(我會(huì)測(cè)試并盡快報(bào)告)

(I will test that and report asap)

好吧,問(wèn)題沒(méi)那么簡(jiǎn)單:

Ok, the problem is not that simple:

SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);

在第 8 級(jí)和第 9 級(jí) API 上均失敗并出現(xiàn) IllegalArgumentException,如 這里

failed on both level 8 and level 9 API with an IllegalArgumentException as described here

除了找到同樣的故障報(bào)告外,Google 對(duì)此無(wú)能為力.API 在這里,但不是實(shí)現(xiàn)(默認(rèn)情況下).

Google doesn't help on that matter except to find the very same failure report. The API is here but not the implementation (as default).

這篇關(guān)于Android 架構(gòu)驗(yàn)證的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

How to wrap text around components in a JTextPane?(如何在 JTextPane 中的組件周圍環(huán)繞文本?)
MyBatis, how to get the auto generated key of an insert? [MySql](MyBatis,如何獲取插入的自動(dòng)生成密鑰?[MySql])
Inserting to Oracle Nested Table in Java(在 Java 中插入 Oracle 嵌套表)
Java: How to insert CLOB into oracle database(Java:如何將 CLOB 插入 oracle 數(shù)據(jù)庫(kù))
Why does Spring-data-jdbc not save my Car object?(為什么 Spring-data-jdbc 不保存我的 Car 對(duì)象?)
Use threading to process file chunk by chunk(使用線程逐塊處理文件)
主站蜘蛛池模板: 日本欧美国产在线观看 | 国产精品久久久久久久久久免费看 | 国产精品福利视频 | 欧美精品久久久久久久久老牛影院 | 色婷婷久久久久swag精品 | 一区二区三区日本 | www国产成人免费观看视频,深夜成人网 | 欧美精品二区三区 | 国产精品一区二区三区99 | 成人久久久久 | 99精品免费久久久久久久久日本 | 亚洲视频免费 | 欧美久久免费观看 | 在线观看日本高清二区 | 久色网| 国产精品国产成人国产三级 | 久久精品毛片 | 国产成人精品午夜 | 99亚洲| 久久久一区二区三区 | 天天操夜夜操 | 精品在线观看一区二区 | 久久精品色欧美aⅴ一区二区 | 久久精品国产一区二区电影 | а_天堂中文最新版地址 | 激情网站在线观看 | 久久国产成人午夜av影院武则天 | 亚洲成人激情在线观看 | 久草中文在线 | 日本成人综合 | 成人在线视频看看 | 日韩成人一区二区 | 日韩国产在线 | 香蕉视频一区二区 | 美女黄频 | 精品久久久久久久久久久久 | 国产9999精品| 91在线观看免费 | 国产剧情一区 | 亚洲高清在线视频 | 久久天天躁狠狠躁夜夜躁2014 |